|
|||||||||
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.emf.ecp.internal.wizards.ECPWizard<SelectionComposite<? extends org.eclipse.jface.viewers.ColumnViewer>>
org.eclipse.emf.ecp.internal.wizards.SelectModelElementWizard
public class SelectModelElementWizard
This is implementation of New Model Element wizard. This wizard is show through "Add new model element..." command in context menu of Navigator (only on right click on LeafSection). The wizard shows a tree of model packages and their classes. The user can select a Model Element type in this tree and on finish the model element is created, added to Leaf- or CompositeSection and opend for editing.
Field Summary |
---|
Fields inherited from class org.eclipse.jface.wizard.Wizard |
---|
DEFAULT_IMAGE |
Constructor Summary | |
---|---|
SelectModelElementWizard(String windowTitle,
String pageName,
String pageTitle,
String description)
Constructor to select an EClass. |
|
SelectModelElementWizard(String windowTitle,
String pageName,
String pageTitle,
String description,
Class<?> classtoSelect)
Constructor to select an class to be specified. |
Method Summary | |
---|---|
void |
addPages()
|
void |
dispose()
|
boolean |
performFinish()
. |
Methods inherited from class org.eclipse.emf.ecp.internal.wizards.ECPWizard |
---|
setCompositeProvider |
Methods inherited from class org.eclipse.jface.wizard.Wizard |
---|
addPage, canFinish, createPageControls, 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 |
Constructor Detail |
---|
public SelectModelElementWizard(String windowTitle, String pageName, String pageTitle, String description)
windowTitle
- The window titlepageName
- the name of the pagepageTitle
- the title of the pagedescription
- the descriptionpublic SelectModelElementWizard(String windowTitle, String pageName, String pageTitle, String description, Class<?> classtoSelect)
windowTitle
- The window titlepageName
- the name of the pagepageTitle
- the title of the pagedescription
- the descriptionclasstoSelect
- the class which can be selectedMethod Detail |
---|
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
public void dispose()
dispose
in interface org.eclipse.jface.wizard.IWizard
dispose
in class org.eclipse.jface.wizard.Wizard
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |