| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
it.uniroma3.plasm.wizards.PlasmNewProject
Standard workbench wizard that creates a new project resource in the workspace.
This class may be instantiated and used without further configuration; this class is not intended to be subclassed.
Example:
IWorkbenchWizard wizard = new PlasmNewProjectWizard(); wizard.init(workbench, selection); WizardDialog dialog = new WizardDialog(shell, wizard); dialog.open();During the call to
open, the wizard dialog is presented to
 the user. When the user hits Finish, a project resource with the
 user-specified name is created, the dialog closes, and the call to
 open returns.
 
| Field Summary | 
| Fields inherited from class org.eclipse.jface.wizard.Wizard | 
DEFAULT_IMAGE | 
| Constructor Summary | |
PlasmNewProject()
Creates a wizard for creating a new project resource in the workspace.  | 
|
| Method Summary | |
 void | 
addPages()
 | 
 org.eclipse.core.resources.IProject | 
getNewProject()
Returns the newly created project.  | 
 void | 
init(org.eclipse.ui.IWorkbench workbench,
     org.eclipse.jface.viewers.IStructuredSelection currentSelection)
 | 
 boolean | 
performFinish()
 | 
 void | 
setInitializationData(org.eclipse.core.runtime.IConfigurationElement cfig,
                      java.lang.String propertyName,
                      java.lang.Object data)
Stores the configuration element for the wizard.  | 
static void | 
updatePerspective(org.eclipse.core.runtime.IConfigurationElement configElement)
Updates the perspective based on the current settings in the Workbench/Perspectives preference page.  | 
| Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard | 
getSelection, getWorkbench, selectAndReveal | 
| Methods inherited from class org.eclipse.jface.wizard.Wizard | 
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle | 
| Methods inherited from class java.lang.Object | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.eclipse.jface.wizard.IWizard | 
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer | 
| Constructor Detail | 
public PlasmNewProject()
| Method Detail | 
public void addPages()
addPages in interface org.eclipse.jface.wizard.IWizardpublic org.eclipse.core.resources.IProject getNewProject()
null if project not
         created
public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection currentSelection)
init in interface org.eclipse.ui.IWorkbenchWizardpublic boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizard
public void setInitializationData(org.eclipse.core.runtime.IConfigurationElement cfig,
                                  java.lang.String propertyName,
                                  java.lang.Object data)
performFinish to set the result perspective.
setInitializationData in interface org.eclipse.core.runtime.IExecutableExtensionpublic static void updatePerspective(org.eclipse.core.runtime.IConfigurationElement configElement)
 A new project wizard class will need to implement the
 IExecutableExtension interface so as to gain access to the
 wizard's IConfigurationElement. That is the configuration
 element to pass into this method.
 
IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_WINDOW, 
IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_PAGE, 
IWorkbenchPreferenceConstants.OPEN_PERSPECTIVE_REPLACE, 
IWorkbenchPreferenceConstants.NO_NEW_PERSPECTIVE
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||