|
||||||||||
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
edu.cmu.sei.osate.ui.wizards.AadlProjectWizard
public class AadlProjectWizard
This is a simple wizard for creating a new Aadl project.
Nested Class Summary | |
---|---|
class |
AadlProjectWizard.WizardNewAadlProjectCreationPage
|
Field Summary | |
---|---|
static java.lang.String |
copyright
|
protected AadlProjectWizard.WizardNewAadlProjectCreationPage |
newProjectCreationPage
This is the project creation page. |
protected org.eclipse.ui.IWorkbench |
workbench
Remember the workbench during initialization. |
protected org.eclipse.core.resources.IWorkspace |
workspace
|
Fields inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard |
---|
selection |
Fields inherited from class org.eclipse.jface.wizard.Wizard |
---|
DEFAULT_IMAGE |
Constructor Summary | |
---|---|
AadlProjectWizard()
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 selection)
This just records the information. |
boolean |
performFinish()
Do the work after everything is specified. |
void |
setInitializationData(org.eclipse.core.runtime.IConfigurationElement cfig,
java.lang.String propertyName,
java.lang.Object data)
Stores the configuration element for the wizard. |
protected void |
updatePerspective()
Updates the perspective for the active page within the window. |
Methods inherited from class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard |
---|
getSelection, getWorkbench, initializeDefaultPageImageDescriptor, selectAndReveal, 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 |
---|
clone, equals, finalize, 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 |
Field Detail |
---|
public static final java.lang.String copyright
protected AadlProjectWizard.WizardNewAadlProjectCreationPage newProjectCreationPage
protected org.eclipse.ui.IWorkbench workbench
protected org.eclipse.core.resources.IWorkspace workspace
Constructor Detail |
---|
public AadlProjectWizard()
Method Detail |
---|
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public org.eclipse.core.resources.IProject getNewProject()
null
if project not
createdpublic void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
init
in interface org.eclipse.ui.IWorkbenchWizard
init
in class org.eclipse.ui.wizards.newresource.BasicNewResourceWizard
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
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.IExecutableExtension
protected void updatePerspective()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |