Class Hierarchy All Classes All Fields and Methods

Interface com.ibm.etools.mft.api.IColumnPropertyEditor

public interface IColumnPropertyEditor

An interface for a custom property editor that want to contribute to the construction of complex properties. Namely, any property editor that wants to be 'renderable' as a column of the complex property table, must implement this interface.

Implementors of this interface are managed by the Complex Property framework. In particular, once a property editor signals state change (e.g. via notifyObservers call), the framework will handle notification of other property editors that constitute this complex property. Creation date: (01/20/2007 6:04:30 PM)

Field Index
Field Description
ADAPTABLE_COMBOBOX_CELL_EDITOR  
CHECKBOX_CELL_EDITOR  
COMBOBOX_CELL_EDITOR  
copyright  
DEFAULT_CELL_EDITOR  
DIALOG_CELL_EDITOR  
DYNAMIC_COMBOBOX_CELL_EDITOR  
EDITABLE_COMBOBOX_CELL_EDITOR  
INTEGER_CELL_EDITOR  
TEXT_CELL_EDITOR  
XPATH_DIALOG_CELL_EDITOR  
XPATH_OPQ_PARSE_DIALOG_CELL_EDITOR  
XPATH_READONLY_DIALOG_CELL_EDITOR  
XPATH_READWRITE_DIALOG_CELL_EDITOR  
Method Index
Method Description
boolean canModify() Return whether column can be modified
int getCellEditorType() Return CellEditor type that should be rendered when property editor deployed in a table
Object getDisplayValue() Gets the desired Property value as it should be presented to the user in the table.
String[] getEnumChoices() Getter for the user choices for this property.
IStatus isValid(Object) Returns and IStatus object that indicates whether value is valid for the current state of the editor.
void resetValue() Sets the value for the property to its defaults

Fields

ADAPTABLE_COMBOBOX_CELL_EDITOR

public static final int ADAPTABLE_COMBOBOX_CELL_EDITOR

CHECKBOX_CELL_EDITOR

public static final int CHECKBOX_CELL_EDITOR

COMBOBOX_CELL_EDITOR

public static final int COMBOBOX_CELL_EDITOR

copyright

public static final java.lang.String copyright

DEFAULT_CELL_EDITOR

public static final int DEFAULT_CELL_EDITOR

DIALOG_CELL_EDITOR

public static final int DIALOG_CELL_EDITOR

DYNAMIC_COMBOBOX_CELL_EDITOR

public static final int DYNAMIC_COMBOBOX_CELL_EDITOR

EDITABLE_COMBOBOX_CELL_EDITOR

public static final int EDITABLE_COMBOBOX_CELL_EDITOR

INTEGER_CELL_EDITOR

public static final int INTEGER_CELL_EDITOR

TEXT_CELL_EDITOR

public static final int TEXT_CELL_EDITOR

XPATH_DIALOG_CELL_EDITOR

public static final int XPATH_DIALOG_CELL_EDITOR

XPATH_OPQ_PARSE_DIALOG_CELL_EDITOR

public static final int XPATH_OPQ_PARSE_DIALOG_CELL_EDITOR

XPATH_READONLY_DIALOG_CELL_EDITOR

public static final int XPATH_READONLY_DIALOG_CELL_EDITOR

XPATH_READWRITE_DIALOG_CELL_EDITOR

public static final int XPATH_READWRITE_DIALOG_CELL_EDITOR

Methods

canModify

public boolean canModify() 

Return whether column can be modified

getCellEditorType

public int getCellEditorType() 

Return CellEditor type that should be rendered when property editor deployed in a table

getDisplayValue

public Object getDisplayValue() 

Gets the desired Property value as it should be presented to the user in the table. Typically, this method should simply call IPropertyEditor#getValue

getEnumChoices

public String[] getEnumChoices() 

Getter for the 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

isValid

public IStatus isValid(Object value) 

Returns and IStatus object that indicates whether value is valid for the current state of the editor.

This method is called by the Complex Property Framework when a value change occurs in a table cell, that corresponds to this editor.

resetValue

public void resetValue() 

Sets the value for the property to its defaults

Class Hierarchy All Classes All Fields and Methods