|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectWizard
de.uka.ipd.sdq.completions.presentation.CompletionsModelWizard
public class CompletionsModelWizard
This is a simple wizard for creating a new model file.
| Nested Class Summary | |
|---|---|
class |
CompletionsModelWizard.CompletionsModelWizardInitialObjectCreationPage
This is the page where the type of object to create is selected. |
class |
CompletionsModelWizard.CompletionsModelWizardNewFileCreationPage
This is the one page of the wizard. |
| Field Summary | |
|---|---|
protected CompletionsFactory |
completionsFactory
This caches an instance of the model factory. |
protected CompletionsPackage |
completionsPackage
This caches an instance of the model package. |
static List<String> |
FILE_EXTENSIONS
The supported extensions for created files. |
static String |
FORMATTED_FILE_EXTENSIONS
A formatted list of supported file extensions, suitable for display. |
protected CompletionsModelWizard.CompletionsModelWizardInitialObjectCreationPage |
initialObjectCreationPage
This is the initial object creation page. |
protected List<String> |
initialObjectNames
Caches the names of the types that can be created as the root object. |
protected CompletionsModelWizard.CompletionsModelWizardNewFileCreationPage |
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 | |
|---|---|
CompletionsModelWizard()
|
|
| 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 types that can be created as the root object. |
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 |
|---|
public static final List<String> FILE_EXTENSIONS
public static final String FORMATTED_FILE_EXTENSIONS
protected CompletionsPackage completionsPackage
protected CompletionsFactory completionsFactory
protected CompletionsModelWizard.CompletionsModelWizardNewFileCreationPage newFileCreationPage
protected CompletionsModelWizard.CompletionsModelWizardInitialObjectCreationPage initialObjectCreationPage
protected IStructuredSelection selection
protected IWorkbench workbench
protected List<String> initialObjectNames
| Constructor Detail |
|---|
public CompletionsModelWizard()
| 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 | |||||||||