| org.eclipse.ui.internal.dialogs.NewWizard
NewWizard | public class NewWizard extends Wizard (Code) | | The new wizard is responsible for allowing the user to choose which new
(nested) wizard to run. The set of available new wizards comes from the new
extension point.
|
Method Summary | |
public void | addPages() | public boolean | canFinish() | public String | getCategoryId() Returns the id of the category of wizards to show or null
to show all categories. | public void | init(IWorkbench aWorkbench, IStructuredSelection currentSelection) | public boolean | performFinish() The user has pressed Finish. | public void | setCategoryId(String id) Sets the id of the category of wizards to show or null to
show all categories. | public void | setProjectsOnly(boolean b) Sets the projects only flag. |
addPages | public void addPages()(Code) | | Create the wizard pages
|
canFinish | public boolean canFinish()(Code) | | |
getCategoryId | public String getCategoryId()(Code) | | Returns the id of the category of wizards to show or null
to show all categories. If no entries can be found with this id then all
categories are shown.
String or null . |
init | public void init(IWorkbench aWorkbench, IStructuredSelection currentSelection)(Code) | | Lazily create the wizards pages
Parameters: aWorkbench - the workbench Parameters: currentSelection - the current selection |
performFinish | public boolean performFinish()(Code) | | The user has pressed Finish. Instruct self's pages to finish, and answer
a boolean indicating success.
boolean |
setCategoryId | public void setCategoryId(String id)(Code) | | Sets the id of the category of wizards to show or null to
show all categories. If no entries can be found with this id then all
categories are shown.
Parameters: id - may be null . |
setProjectsOnly | public void setProjectsOnly(boolean b)(Code) | | Sets the projects only flag. If true only projects will
be shown in this wizard.
Parameters: b - if only projects should be shown |
|
|