|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectWizard
org.eclipse.egf.core.ui.wizard.AbstractModelElementWizard
org.eclipse.egf.core.ui.wizard.ContractElementWizard
public class ContractElementWizard
This wizard allows the end-user to create or edit a contract element.
Field Summary | |
---|---|
protected static String |
CONTRACT_ELEMENT_FIRST_PAGE
Constant used to identify the contract element wizard page. |
static String |
CONTRACT_ELEMENT_REFERENCE_PAGE
Constant used to identify the contract element reference wizard page. |
static String |
CONTRACT_ELEMENT_TYPE_PAGE
Constant used to identify the contract element type wizard page. |
Constructor Summary | |
---|---|
ContractElementWizard(EObject parent_p,
NamedModelElementWithId modelElement_p,
boolean readOnlyMode_p)
Constructor. |
Method Summary | |
---|---|
void |
addPages()
|
protected NamedModelElementWithId |
doCreateModelElement()
Create concrete model element. |
protected Command |
getAddCommandForCreatedElement(AdapterFactoryEditingDomain editingDomain_p,
EObject parent_p,
NamedModelElementWithId createdElement_p)
Get the command responsible of adding the created element to given parent when performing finish. |
protected String |
getCreationDescription()
Returns the description when this wizard creates the displayed object. |
protected String |
getEditDescription()
Returns the description when this wizard modifies the displayed object. |
IWizardPage |
getPage(String name_p)
|
protected PluginChangeWrapperCommand |
getPluginChangeCommand(EditingDomain editingDomain_p,
EObject modelElement_p,
EStructuralFeature feature_p,
Object value_p)
Get the plugin change command. |
protected String |
getTitle()
Returns the title message of this wizard. |
protected boolean |
handleCanFinish()
Handle the canFinish condition in wizard mode (Read only or not) context. |
boolean |
performFinish()
|
Methods inherited from class org.eclipse.egf.core.ui.wizard.AbstractModelElementWizard |
---|
canFinish, containsChanges, endChangesRecording, getChangeDescription, getChangeRecorder, getDescription, getModelElement, getModifiedFeature, getParent, getWizardDefaultPageImageDescriptor, handleChangeDescription, isInReadOnlyMode, performCancel, startChangesRecording |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONTRACT_ELEMENT_TYPE_PAGE
public static final String CONTRACT_ELEMENT_REFERENCE_PAGE
protected static final String CONTRACT_ELEMENT_FIRST_PAGE
Constructor Detail |
---|
public ContractElementWizard(EObject parent_p, NamedModelElementWithId modelElement_p, boolean readOnlyMode_p)
parent_p
- modelElement_p
- readOnlyMode_p
- Method Detail |
---|
public void addPages()
addPages
in class AbstractModelElementWizard
AbstractModelElementWizard.addPages()
public IWizardPage getPage(String name_p)
org.eclipse.jface.wizard.Wizard#getPage(java.lang.String)
protected boolean handleCanFinish()
AbstractModelElementWizard
handleCanFinish
in class AbstractModelElementWizard
AbstractModelElementWizard.performFinish()
method can be called); false otherwise.AbstractModelElementWizard.handleCanFinish()
public boolean performFinish()
performFinish
in class AbstractModelElementWizard
AbstractModelElementWizard.performFinish()
protected NamedModelElementWithId doCreateModelElement()
AbstractModelElementWizard
doCreateModelElement
in class AbstractModelElementWizard
NamedModelElementWithId
object.AbstractModelElementWizard.doCreateModelElement()
protected Command getAddCommandForCreatedElement(AdapterFactoryEditingDomain editingDomain_p, EObject parent_p, NamedModelElementWithId createdElement_p)
AbstractModelElementWizard
getAddCommandForCreatedElement
in class AbstractModelElementWizard
org.eclipse.egf.core.ui.wizard.AbstractModelElementWizard#getAddCommandForCreatedElement(org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain,
org.eclipse.emf.ecore.EObject, org.eclipse.egf.model.NamedModelElementWithId)
protected String getTitle()
AbstractModelElementWizard
getTitle
in class AbstractModelElementWizard
AbstractModelElementWizard.getTitle()
protected String getCreationDescription()
AbstractModelElementWizard
getCreationDescription
in class AbstractModelElementWizard
String
instance.AbstractModelElementWizard.getCreationDescription()
protected String getEditDescription()
AbstractModelElementWizard
getEditDescription
in class AbstractModelElementWizard
String
instance.AbstractModelElementWizard.getEditDescription()
protected PluginChangeWrapperCommand getPluginChangeCommand(EditingDomain editingDomain_p, EObject modelElement_p, EStructuralFeature feature_p, Object value_p)
AbstractModelElementWizard
getPluginChangeCommand
in class AbstractModelElementWizard
org.eclipse.egf.core.ui.wizard.AbstractModelElementWizard#getPluginChangeCommand(org.eclipse.emf.edit.domain.EditingDomain,
org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature, java.lang.Object)
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.