Class PTEditor
java.lang.Object
org.eclipse.nebula.widgets.opal.propertytable.editor.PTEditor
- Direct Known Subclasses:
PTBaseTextEditor
,PTCheckboxEditor
,PTChooserEditor
,PTComboEditor
,PTDateEditor
,PTSpinnerEditor
public abstract class PTEditor
extends java.lang.Object
This abstract class represents a Property Table Editor. An editor is a widget
that allows one to modify a property
-
Constructor Summary
Constructors Constructor Description PTEditor()
-
Method Summary
Modifier and Type Method Description abstract org.eclipse.swt.custom.ControlEditor
render(PTWidget parent, org.eclipse.swt.widgets.Item item, PTProperty property)
Renders an editor
-
Constructor Details
-
PTEditor
public PTEditor()
-
-
Method Details
-
render
public abstract org.eclipse.swt.custom.ControlEditor render(PTWidget parent, org.eclipse.swt.widgets.Item item, PTProperty property)Renders an editor- Parameters:
parent
- the parent PTWidget (a table or a tree table)item
- the item on which the editor is displayedproperty
- the property associated to the editor- Returns:
- a control editor
-