Class PTWindowEditor

java.lang.Object
Direct Known Subclasses:
PTDimensionEditor, PTInsetsEditor, PTRectangleEditor

public abstract class PTWindowEditor
extends PTChooserEditor
This abstract class contains common code for editors that open a window : dimension editor, insets editor, rectangle editor
  • Constructor Summary

    Constructors 
    Constructor Description
    PTWindowEditor()  
  • Method Summary

    Modifier and Type Method Description
    protected void addVerifyListeners​(org.eclipse.swt.widgets.Text text)
    Add a verify listener to a given text that accepts only integers
    protected abstract void createContent​(org.eclipse.swt.widgets.Shell shell, PTProperty property)
    Create the content (text widgets)
    protected abstract void fillProperty​(org.eclipse.swt.widgets.Item item, PTProperty property)
    Fill property when the ok button is pressed
    protected org.eclipse.swt.graphics.Color getBackgroundColor​(PTProperty property)
    Get the background color of an item
    protected int getIntValue​(org.eclipse.swt.widgets.Text text)  
    protected void openWindow​(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

    getTextFor, render

    Methods inherited from class java.lang.Object

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