{
this.propertyEditor = propertyEditor;
if (propertyEditor instanceof AdvancedPropertyEditor)
{
final AdvancedPropertyEditor advancedPropertyEditor = (AdvancedPropertyEditor) propertyEditor;
textField.setEditable(advancedPropertyEditor.supportsText());
}
else
{
textField.setEditable(true);
}