Class PTChooserEditor

java.lang.Object
org.eclipse.nebula.widgets.opal.propertytable.editor.PTEditor
org.eclipse.nebula.widgets.opal.propertytable.editor.PTChooserEditor
Direct Known Subclasses:
PTColorEditor, PTDirectoryEditor, PTFileEditor, PTFontEditor, PTWindowEditor

public abstract class PTChooserEditor
extends PTEditor
This abstract class represents a chooser. A chooser is composed of :
  • a displayed value (text)
  • a "X" button to erase the value (set to null)
  • a "..." button to open an extra window to set up the value
  • Constructor Summary

    Constructors 
    Constructor Description
    PTChooserEditor()  
  • Method Summary

    Modifier and Type Method 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait