Package com.iizigo.prop.editor
Class MultiUnitsPropEditor
java.lang.Object
com.iizigo.prop.editor.MultiUnitsPropEditor
- All Implemented Interfaces:
IEditedPropertyEntry<String4Prop,,String> IEditedPropertyEntryMultiPropSupport<String4Prop,StringProp, String>
public class MultiUnitsPropEditor extends Object implements IEditedPropertyEntryMultiPropSupport<String4Prop,StringProp,String>
The unit's multiple-property editor.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptioncreateControls(PropertyEditor editor, PropertyEditorInfo info, String[] options, Composite parent, PropCnr[] containers, Atom atom, DefinedButton definedButton) Creates the required controls in the composite.Creates the property editor for a line to edit a single property.voiddispose()Called when disposed of by the property editor.
Constructor Details
MultiUnitsPropEditor
public MultiUnitsPropEditor()Default constructor called before createControls.
Method Details
createControls
public MultiPropEditor createControls(PropertyEditor editor, PropertyEditorInfo info, String[] options, Composite parent, PropCnr[] containers, Atom atom, DefinedButton definedButton) Creates the required controls in the composite.- Specified by:
createControlsin interfaceIEditedPropertyEntry<String4Prop,String> - Parameters:
editor- The property editor instance.info- The information about edited item.options- The options.parent- Parent composite, where to place components.containers- The containers for the edited property.atom- Atom name of the property in the containers.definedButton- The define-button or null for none.- Returns:
- null for normal editors, the instance of the multi-property editor in case of multiple editable entries (lines).
dispose
public void dispose()Called when disposed of by the property editor.- Specified by:
disposein interfaceIEditedPropertyEntry<String4Prop,String>
createPropertyEditor
Creates the property editor for a line to edit a single property.- Specified by:
createPropertyEditorin interfaceIEditedPropertyEntryMultiPropSupport<String4Prop,StringProp, String>