com.swtdesigner.api.swt.property.editor
Interface IPropertyEditor

All Known Subinterfaces:
IComboPropertyEditor, IPaintPropertyEditor, ITextPropertyEditor

public interface IPropertyEditor

Abstract custom property editor.


Method Summary
 java.lang.String getJavaSource()
          Returns Java source for current value.
 java.lang.Object getValue()
          Returns value from editor after editing (for example using custom dialog).
 void initialize(IPropertyEditorSite site)
          Initializes property editor with site before first use.
 void setValue(java.lang.Object value)
          Sets value to editor, for example to get Java source for this value.
 

Method Detail

getJavaSource

java.lang.String getJavaSource()
Returns Java source for current value.


getValue

java.lang.Object getValue()
Returns value from editor after editing (for example using custom dialog).


initialize

void initialize(IPropertyEditorSite site)
Initializes property editor with site before first use.

Parameters:
site - the site of property editor

setValue

void setValue(java.lang.Object value)
Sets value to editor, for example to get Java source for this value.