Class PTDimensionEditor
- 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.PTDimensionEditor
-
public class PTDimensionEditor extends PTWindowEditor
Editor forDimension
values
-
-
Constructor Summary
Constructors Constructor Description PTDimensionEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods 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
-
-
-
-
Method Detail
-
createContent
protected void createContent(org.eclipse.swt.widgets.Shell shell, PTProperty property)
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
protected void fillProperty(org.eclipse.swt.widgets.Item item, PTProperty property)
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
protected java.lang.String getTextFor(PTProperty property)
- 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)
-
-