public class EMFPropertyTextEdit extends Object implements org.eclipse.ui.services.IDisposable
| Constructor and Description |
|---|
EMFPropertyTextEdit(org.eclipse.swt.widgets.Composite parentForm,
String labelText,
EStructuralFeature attribute,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory factory,
EMFPropertyTextEdit predecessor)
Constructor of the generic EMF edit field
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
setEObject(EObject object)
Initialise this edit field with its model object which is displayed and
edited in this text field
|
public EMFPropertyTextEdit(org.eclipse.swt.widgets.Composite parentForm,
String labelText,
EStructuralFeature attribute,
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory factory,
EMFPropertyTextEdit predecessor)
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 fieldpublic void setEObject(EObject object)
object - Model object which is edited in this text fieldpublic void dispose()
dispose in interface org.eclipse.ui.services.IDisposable