Class PTStringEditor
java.lang.Object
org.eclipse.nebula.widgets.opal.propertytable.editor.PTEditor
org.eclipse.nebula.widgets.opal.propertytable.editor.PTBaseTextEditor
org.eclipse.nebula.widgets.opal.propertytable.editor.PTStringEditor
public class PTStringEditor extends PTBaseTextEditor
This editor is used to edit string values
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.opal.propertytable.editor.PTBaseTextEditor
text
-
Constructor Summary
Constructors Constructor Description PTStringEditor()
-
Method Summary
Modifier and Type Method Description void
addVerifyListeners()
Add the verify listenersjava.lang.Object
convertValue()
int
getStyle()
Methods inherited from class org.eclipse.nebula.widgets.opal.propertytable.editor.PTBaseTextEditor
render
-
Constructor Details
-
PTStringEditor
public PTStringEditor()
-
-
Method Details
-
addVerifyListeners
public void addVerifyListeners()Description copied from class:PTBaseTextEditor
Add the verify listeners- Specified by:
addVerifyListeners
in classPTBaseTextEditor
-
convertValue
public java.lang.Object convertValue()- Specified by:
convertValue
in classPTBaseTextEditor
- Returns:
- the value of the data typed by the user in the correct format
-
getStyle
public int getStyle()- Specified by:
getStyle
in classPTBaseTextEditor
- Returns:
- the style (SWT.NONE or SWT.PASSWORD)
-