Class PTRectangleEditor
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.PTWindowEditor
org.eclipse.nebula.widgets.opal.propertytable.editor.PTRectangleEditor
public class PTRectangleEditor extends PTWindowEditor
Editor for
Rectangle
property-
Constructor Summary
Constructors Constructor Description PTRectangleEditor()
-
Method Summary
Modifier and Type Method Description protected void
createContent(org.eclipse.swt.widgets.Shell shell, PTProperty property)
Create the content (text widgets)protected void
fillProperty(org.eclipse.swt.widgets.Item item, PTProperty property)
Fill property when the ok button is pressedprotected java.lang.String
getTextFor(PTProperty property)
Methods inherited from class org.eclipse.nebula.widgets.opal.propertytable.editor.PTWindowEditor
addVerifyListeners, getBackgroundColor, getIntValue, openWindow
Methods inherited from class org.eclipse.nebula.widgets.opal.propertytable.editor.PTChooserEditor
render
-
Constructor Details
-
PTRectangleEditor
public PTRectangleEditor()
-
-
Method Details
-
createContent
Description copied from class:PTWindowEditor
Create the content (text widgets)- Specified by:
createContent
in classPTWindowEditor
- Parameters:
shell
- associated shellproperty
- associated property- See Also:
PTWindowEditor.createContent(org.eclipse.swt.widgets.Shell, org.eclipse.nebula.widgets.opal.propertytable.PTProperty)
-
fillProperty
Description copied from class:PTWindowEditor
Fill property when the ok button is pressed- Specified by:
fillProperty
in classPTWindowEditor
- Parameters:
item
- item in which the string representation of property's value is displayproperty
- associated property- See Also:
PTWindowEditor.fillProperty(org.eclipse.swt.widgets.Item, org.eclipse.nebula.widgets.opal.propertytable.PTProperty)
-
getTextFor
- Specified by:
getTextFor
in 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)
-