public class DefaultAttributeEditorFactory extends Object implements AttributeEditorFactory
Constructor and Description |
---|
DefaultAttributeEditorFactory() |
Modifier and Type | Method and Description |
---|---|
Editor<?> |
createEditor(org.eclipse.swt.widgets.Composite parent,
FunctionParameter parameter,
ParameterValue initialValue)
Create an attribute editor for the given function parameter.
|
Editor<?> |
createEditor(org.eclipse.swt.widgets.Composite parent,
PropertyDefinition property,
EntityDefinition entityDef,
boolean allowScripts)
Create an attribute editor for the given property.
|
public Editor<?> createEditor(org.eclipse.swt.widgets.Composite parent, PropertyDefinition property, EntityDefinition entityDef, boolean allowScripts)
AttributeEditorFactory
createEditor
in interface AttributeEditorFactory
parent
- the parent composite of the editor controlproperty
- the property definitionentityDef
- the property entity definition representing the
property, may be null
if unknown or unavailableallowScripts
- whether the property may be edited with a script
editornull
if no editor could be
created for the propertypublic Editor<?> createEditor(org.eclipse.swt.widgets.Composite parent, FunctionParameter parameter, ParameterValue initialValue)
AttributeEditorFactory
createEditor
in interface AttributeEditorFactory
parent
- the parent composite of the editor controlparameter
- the function parameterinitialValue
- initial value, may be null
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a