| java.lang.Object org.eclipse.ui.internal.dialogs.NewWizardNewPage
NewWizardNewPage | class NewWizardNewPage implements ISelectionChangedListener(Code) | | New wizard selection tab that allows the user to select a registered 'New'
wizard to be launched.
|
Method Summary | |
public void | activate() | protected Control | createControl(Composite parent) | protected FilteredTree | createFilteredTree(Composite parent) Create a new FilteredTree in the parent. | protected void | expandPreviouslyExpandedCategories() Expands the wizard categories in this page's category viewer that were
expanded last time this page was used. | protected Object | getSingleSelection(IStructuredSelection selection) Returns the single selected object contained in the passed
selectionEvent, or null if the selectionEvent contains
either 0 or 2+ selected objects. | protected void | restoreWidgetValues() | public void | saveWidgetValues() | protected void | selectPreviouslySelected() Selects the wizard category and wizard in this page that were selected
last time this page was used. | public void | selectionChanged(SelectionChangedEvent selectionEvent) The user selected either new wizard category(s) or wizard element(s). | public void | setDialogSettings(IDialogSettings settings) | protected void | storeExpandedCategories() Stores the collection of currently-expanded categories in this page's
dialog store, in order to recreate this page's state in the next
instance of this page. | protected void | storeSelectedCategoryAndWizard() Stores the currently-selected element in this page's dialog store, in
order to recreate this page's state in the next instance of this page. |
NewWizardNewPage | public NewWizardNewPage(NewWizardSelectionPage mainPage, IWizardCategory wizardCategories, IWizardDescriptor[] primaryWizards, boolean projectsOnly)(Code) | | Create an instance of this class
Parameters: mainPage - Parameters: wizardCategories - Parameters: primaryWizards - Parameters: projectsOnly - |
activate | public void activate()(Code) | | since: 3.0 |
createControl | protected Control createControl(Composite parent)(Code) | | Create this tab's visual components
Parameters: parent - Composite Control |
createFilteredTree | protected FilteredTree createFilteredTree(Composite parent)(Code) | | Create a new FilteredTree in the parent.
Parameters: parent - the parent Composite . since: 3.0 |
expandPreviouslyExpandedCategories | protected void expandPreviouslyExpandedCategories()(Code) | | Expands the wizard categories in this page's category viewer that were
expanded last time this page was used. If a category that was previously
expanded no longer exists then it is ignored.
|
getSingleSelection | protected Object getSingleSelection(IStructuredSelection selection)(Code) | | Returns the single selected object contained in the passed
selectionEvent, or null if the selectionEvent contains
either 0 or 2+ selected objects.
|
restoreWidgetValues | protected void restoreWidgetValues()(Code) | | Set self's widgets to the values that they held last time this page was
open
|
saveWidgetValues | public void saveWidgetValues()(Code) | | Store the current values of self's widgets so that they can be restored
in the next instance of self
|
selectPreviouslySelected | protected void selectPreviouslySelected()(Code) | | Selects the wizard category and wizard in this page that were selected
last time this page was used. If a category or wizard that was
previously selected no longer exists then it is ignored.
|
selectionChanged | public void selectionChanged(SelectionChangedEvent selectionEvent)(Code) | | The user selected either new wizard category(s) or wizard element(s).
Proceed accordingly.
Parameters: selectionEvent - ISelection |
setDialogSettings | public void setDialogSettings(IDialogSettings settings)(Code) | | Set the dialog store to use for widget value storage and retrieval
Parameters: settings - IDialogSettings |
storeExpandedCategories | protected void storeExpandedCategories()(Code) | | Stores the collection of currently-expanded categories in this page's
dialog store, in order to recreate this page's state in the next
instance of this page.
|
storeSelectedCategoryAndWizard | protected void storeSelectedCategoryAndWizard()(Code) | | Stores the currently-selected element in this page's dialog store, in
order to recreate this page's state in the next instance of this page.
|
|
|