public abstract class PTChooserEditor extends PTEditor
| Constructor and Description |
|---|
PTChooserEditor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.eclipse.swt.graphics.Color |
getBackgroundColor(PTProperty property)
Get the background color of an item
|
protected abstract java.lang.String |
getTextFor(PTProperty property) |
protected abstract void |
openWindow(PTWidget widget,
org.eclipse.swt.widgets.Item item,
PTProperty property)
Open the window to edit the property
|
org.eclipse.swt.custom.ControlEditor |
render(PTWidget widget,
org.eclipse.swt.widgets.Item item,
PTProperty property)
Renders an editor
|
public org.eclipse.swt.custom.ControlEditor render(PTWidget widget, org.eclipse.swt.widgets.Item item, PTProperty property)
PTEditorrender in class PTEditorwidget - the parent PTWidget (a table or a tree table)item - the item on which the editor is displayedproperty - the property associated to the editorPTEditor.render(org.eclipse.nebula.widgets.opal.propertytable.PTWidget,
org.eclipse.swt.widgets.Item, org.eclipse.nebula.widgets.opal.propertytable.PTProperty)protected abstract void openWindow(PTWidget widget, org.eclipse.swt.widgets.Item item, PTProperty property)
widget - parent widgetitem - itemproperty - edited propertyprotected abstract java.lang.String getTextFor(PTProperty property)
property - propertyprotected abstract org.eclipse.swt.graphics.Color getBackgroundColor(PTProperty property)
property - property