Package com.iizigo.prop.editor
Class MultiUnitPropEditor
- java.lang.Object
- com.iizigo.prop.editor.MultiUnitPropEditor
 
- All Implemented Interfaces:
- IEditedPropertyEntry<Unit4Prop,GUnit>,- IEditedPropertyEntryMultiPropSupport<Unit4Prop,UnitProp,GUnit>
 - public class MultiUnitPropEditor extends java.lang.Object implements IEditedPropertyEntryMultiPropSupport<Unit4Prop,UnitProp,GUnit> The GUnit multi-property editor.- Author:
- Christopher Mindus
 
- Constructor Summary- Constructors - Constructor - Description - MultiUnitPropEditor()Default constructor called before createControls.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - MultiPropEditor- createControls(PropertyEditor editor, PropertyEditorInfo info, java.lang.String[] options, org.eclipse.swt.widgets.Composite parent, PropCnr[] containers, Atom atom, DefinedButton definedButton)Creates the required controls in the composite.- IEditedPropertyEntryMultiProp<UnitProp,GUnit>- createPropertyEditor()Creates the property editor for a line to edit a single property.- void- dispose()Called when disposed of by the property editor.
 
- Method Detail- createControls- public MultiPropEditor createControls(PropertyEditor editor, PropertyEditorInfo info, java.lang.String[] options, org.eclipse.swt.widgets.Composite parent, PropCnr[] containers, Atom atom, DefinedButton definedButton) Creates the required controls in the composite.- Specified by:
- createControlsin interface- IEditedPropertyEntry<Unit4Prop,GUnit>
- 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 interface- IEditedPropertyEntry<Unit4Prop,GUnit>
 
 - createPropertyEditor- public IEditedPropertyEntryMultiProp<UnitProp,GUnit> createPropertyEditor() Creates the property editor for a line to edit a single property.- Specified by:
- createPropertyEditorin interface- IEditedPropertyEntryMultiPropSupport<Unit4Prop,UnitProp,GUnit>