Class PTDirectoryEditor
- java.lang.Object
-
- org.eclipse.nebula.widgets.opal.propertytable.editor.PTEditor
-
- org.eclipse.nebula.widgets.opal.propertytable.editor.PTChooserEditor
-
- org.eclipse.nebula.widgets.opal.propertytable.editor.PTDirectoryEditor
-
public class PTDirectoryEditor extends PTChooserEditor
This editor allows user to select a directory
-
-
Constructor Summary
Constructors Constructor Description PTDirectoryEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.graphics.ColorgetBackgroundColor(PTProperty property)Get the background color of an itemprotected java.lang.StringgetTextFor(PTProperty property)protected voidopenWindow(PTWidget widget, org.eclipse.swt.widgets.Item item, PTProperty property)Open the window to edit the property-
Methods inherited from class org.eclipse.nebula.widgets.opal.propertytable.editor.PTChooserEditor
render
-
-
-
-
Method Detail
-
openWindow
protected void openWindow(PTWidget widget, org.eclipse.swt.widgets.Item item, PTProperty property)
Description copied from class:PTChooserEditorOpen the window to edit the property- Specified by:
openWindowin classPTChooserEditor- Parameters:
widget- parent widgetitem- itemproperty- edited property- See Also:
PTChooserEditor.openWindow(org.eclipse.nebula.widgets.opal.propertytable.PTWidget, org.eclipse.swt.widgets.Item, org.eclipse.nebula.widgets.opal.propertytable.PTProperty)
-
getTextFor
protected java.lang.String getTextFor(PTProperty property)
- Specified by:
getTextForin classPTChooserEditor- Parameters:
property- property- Returns:
- the string representation of the value stored in the property
- See Also:
PTChooserEditor.getTextFor(org.eclipse.nebula.widgets.opal.propertytable.PTProperty)
-
getBackgroundColor
protected org.eclipse.swt.graphics.Color getBackgroundColor(PTProperty property)
Description copied from class:PTChooserEditorGet the background color of an item- Specified by:
getBackgroundColorin classPTChooserEditor- Parameters:
property- property- Returns:
- a background color (for the PTColorEditor) or null (for other editors).
- See Also:
PTChooserEditor.getBackgroundColor(org.eclipse.nebula.widgets.opal.propertytable.PTProperty)
-
-