org.openoffice.ide.eclipse.core.gui
Interface ITableElement

All Known Implementing Classes:
InterfacesTable.InheritanceLine

public interface ITableElement

Interface used by the abstract table to get the labels of it's items.

Author:
cedricbosdo

Method Summary
 boolean canModify(java.lang.String pProperty)
          Defines whether the column cell corresponding to the property can be modified.
 org.eclipse.swt.graphics.Image getImage(java.lang.String pProperty)
          Returns the column image corresponding to the property.
 java.lang.String getLabel(java.lang.String pProperty)
          Returns the column label corresponding to the property.
 java.lang.String[] getProperties()
           
 java.lang.Object getValue(java.lang.String pProperty)
          Returns the column value corresponding to the property.
 void setValue(java.lang.String pProperty, java.lang.Object pValue)
          Sets the column value corresponding to the property.
 

Method Detail

getImage

org.eclipse.swt.graphics.Image getImage(java.lang.String pProperty)
Returns the column image corresponding to the property.

Parameters:
pProperty - the property designating the column
Returns:
the image for the column

getLabel

java.lang.String getLabel(java.lang.String pProperty)
Returns the column label corresponding to the property.

Parameters:
pProperty - the property designating the column
Returns:
the label for the column

getProperties

java.lang.String[] getProperties()
Returns:
the line properties in the columns order.

canModify

boolean canModify(java.lang.String pProperty)
Defines whether the column cell corresponding to the property can be modified.

Parameters:
pProperty - the property designating the column
Returns:
true if the cell is editable.

getValue

java.lang.Object getValue(java.lang.String pProperty)
Returns the column value corresponding to the property.

Parameters:
pProperty - the property designating the column
Returns:
the value for the column

setValue

void setValue(java.lang.String pProperty,
              java.lang.Object pValue)
Sets the column value corresponding to the property.

Parameters:
pProperty - the property designating the column
pValue - the new value for the column