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.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canModify(String pProperty)
    Defines whether the column cell corresponding to the property can be modified.
    org.eclipse.swt.graphics.Image
    getImage(String pProperty)
    Returns the column image corresponding to the property.
    getLabel(String pProperty)
    Returns the column label corresponding to the property.
     
    getValue(String pProperty)
    Returns the column value corresponding to the property.
    void
    setValue(String pProperty, Object pValue)
    Sets the column value corresponding to the property.
  • Method Details

    • getImage

      org.eclipse.swt.graphics.Image getImage(String pProperty)
      Returns the column image corresponding to the property.
      Parameters:
      pProperty - the property designating the column
      Returns:
      the image for the column
    • getLabel

      String getLabel(String pProperty)
      Returns the column label corresponding to the property.
      Parameters:
      pProperty - the property designating the column
      Returns:
      the label for the column
    • getProperties

      String[] getProperties()
      Returns:
      the line properties in the columns order.
    • canModify

      boolean canModify(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

      Object getValue(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(String pProperty, Object pValue)
      Sets the column value corresponding to the property.
      Parameters:
      pProperty - the property designating the column
      pValue - the new value for the column