|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectWizard
LqnCore.presentation.LqnCoreModelWizard
public class LqnCoreModelWizard
This is a simple wizard for creating a new model file.
| Nested Class Summary | |
|---|---|
class |
LqnCoreModelWizard.LqnCoreModelWizardInitialObjectCreationPage
This is the page where the type of object to create is selected. |
class |
LqnCoreModelWizard.LqnCoreModelWizardNewFileCreationPage
This is the one page of the wizard. |
| Field Summary | |
|---|---|
protected LqnCoreModelWizard.LqnCoreModelWizardInitialObjectCreationPage |
initialObjectCreationPage
This is the initial object creation page. |
protected List<String> |
initialObjectNames
Caches the names of the features representing global elements. |
protected LqnCoreFactory |
lqnCoreFactory
This caches an instance of the model factory. |
protected LqnCorePackage |
lqnCorePackage
This caches an instance of the model package. |
protected LqnCoreModelWizard.LqnCoreModelWizardNewFileCreationPage |
newFileCreationPage
This is the file creation page. |
protected IStructuredSelection |
selection
Remember the selection during initialization for populating the default container. |
protected IWorkbench |
workbench
Remember the workbench during initialization. |
| Constructor Summary | |
|---|---|
LqnCoreModelWizard()
|
|
| Method Summary | |
|---|---|
void |
addPages()
The framework calls this to create the contents of the wizard. |
protected EObject |
createInitialModel()
Create a new model. |
protected Collection<String> |
getInitialObjectNames()
Returns the names of the features representing global elements. |
IFile |
getModelFile()
Get the file from the page. |
void |
init(IWorkbench workbench,
IStructuredSelection selection)
This just records the information. |
boolean |
performFinish()
Do the work after everything is specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected LqnCorePackage lqnCorePackage
protected LqnCoreFactory lqnCoreFactory
protected LqnCoreModelWizard.LqnCoreModelWizardNewFileCreationPage newFileCreationPage
protected LqnCoreModelWizard.LqnCoreModelWizardInitialObjectCreationPage initialObjectCreationPage
protected IStructuredSelection selection
protected IWorkbench workbench
protected List<String> initialObjectNames
| Constructor Detail |
|---|
public LqnCoreModelWizard()
| Method Detail |
|---|
public void init(IWorkbench workbench,
IStructuredSelection selection)
protected Collection<String> getInitialObjectNames()
protected EObject createInitialModel()
public boolean performFinish()
public void addPages()
public IFile getModelFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||