Class Hierarchy All Classes All Fields and Methods

Interface com.ibm.etools.mft.api.ICellPropertyEditor

public interface ICellPropertyEditor
extends IColumnPropertyEditor

An interface for a custom property editor that want to contribute to the construction of complex properties. In addition, implementers of this interface are expected to manage UI controls used for the cell editing.

It is up to the corresponding CellEditor class to create an actual widget for cell editing. Implementers of this interface, will be provided this cell editing widget via setControls method by the Complex Property framework. They are expected to modify following methods to keep their state in synch wit the cell editing UI widget

  • IPropertyEditor#getValue
  • IPropertyEditor#setCurrentValue
  • IPropertyEditor#notifyChanged

    Field Index
    Field Description
    copyright  
    Method Index
    Method Description
    void setCellControls(CellEditor) Setter method for the Control used for cell editing.
    void updateEnumChoices() Method that updates user choices for this property.

    Fields

    copyright

    public static final java.lang.String copyright

    Methods

    setCellControls

    public void setCellControls(CellEditor control) 

    Setter method for the Control used for cell editing. This Control is created by the corresponding CellEditor and passed into the ICellPropertyEditor to keep it up-to-date with changes in other property editors.

    updateEnumChoices

    public void updateEnumChoices() 

    Method that updates user choices for this property. Typically, used by the property editor that provide COMBOBOX_CELL_EDITOR or EDITABLE_COMBOBOX_CELL_EDITOR as their CellEditor type.

    It is invoked by the Complex Property framework during activation of the cell editor.

    Class Hierarchy All Classes All Fields and Methods