|
|||||||||
| 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.spi.common.ui.ECPWizard<SelectionComposite<? extends org.eclipse.jface.viewers.ColumnViewer>>
org.eclipse.emf.ecp.spi.common.ui.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.
| Nested Class Summary | |
|---|---|
class |
SelectModelElementWizard.WizardPageExtension
|
| 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()
|
String |
getDescription()
|
String |
getPageName()
|
String |
getPageTitle()
|
boolean |
performFinish()
. |
| Methods inherited from class org.eclipse.emf.ecp.spi.common.ui.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 description
public 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 selected| Method Detail |
|---|
public void addPages()
addPages in interface org.eclipse.jface.wizard.IWizardaddPages in class org.eclipse.jface.wizard.Wizardpublic boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizardperformFinish in class org.eclipse.jface.wizard.Wizardpublic void dispose()
dispose in interface org.eclipse.jface.wizard.IWizarddispose in class org.eclipse.jface.wizard.Wizardpublic String getPageName()
public String getDescription()
public String getPageTitle()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||