Class EMFPropertyTextEdit
java.lang.Object
org.palladiosimulator.editors.commons.tabs.EMFPropertyTextEdit
- All Implemented Interfaces:
IDisposable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.emf.transaction.TransactionalEditingDomainThe transactional editing domain which is used to get the commands and alter the model -
Constructor Summary
ConstructorsConstructorDescriptionEMFPropertyTextEdit(Composite parentForm, String labelText, EStructuralFeature attribute, TabbedPropertySheetWidgetFactory factory, EMFPropertyTextEdit predecessor) Constructor of the generic EMF edit field -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()voidsetEObject(EObject object) Initialise this edit field with its model object which is displayed and edited in this text field
-
Field Details
-
editingDomain
protected org.eclipse.emf.transaction.TransactionalEditingDomain editingDomainThe transactional editing domain which is used to get the commands and alter the model
-
-
Constructor Details
-
EMFPropertyTextEdit
public EMFPropertyTextEdit(Composite parentForm, String labelText, EStructuralFeature attribute, TabbedPropertySheetWidgetFactory factory, EMFPropertyTextEdit predecessor) Constructor of the generic EMF edit field- Parameters:
parentForm- The SWT parent form on which this edit field will be shownlabelText- The text which is displayed in front of the edit fieldattribute- The EMF feature which is being edited in the edit fieldfactory- The widged factory used to create the UI partspredecessor- The preceeding edit field - this is used to layout the edit fields on the property tab sheets. Pass in null for the first field
-
-
Method Details
-
setEObject
Initialise this edit field with its model object which is displayed and edited in this text field- Parameters:
object- Model object which is edited in this text field
-
dispose
public void dispose()- Specified by:
disposein interfaceIDisposable
-