public class InterfacesTable.InheritanceLine extends java.lang.Object implements ITableElement
ITableElement interface| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
static java.lang.String |
OPTIONAL |
| Constructor and Description |
|---|
InheritanceLine() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getInterfaceName() |
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.
|
boolean |
isOptional() |
void |
setInterfaceName(java.lang.String pInterfaceName)
Set the interface name.
|
void |
setOptional(boolean pOptional)
Set whether the inheritance is optional or not.
|
void |
setValue(java.lang.String pProperty,
java.lang.Object pValue)
Sets the column value corresponding to the property.
|
public static final java.lang.String OPTIONAL
public static final java.lang.String NAME
public java.lang.String getInterfaceName()
public boolean isOptional()
true if the inheritance is optionalpublic void setInterfaceName(java.lang.String pInterfaceName)
pInterfaceName - the interface name of the inheritancepublic void setOptional(boolean pOptional)
pOptional - true if the inheritance is optional.public org.eclipse.swt.graphics.Image getImage(java.lang.String pProperty)
getImage in interface ITableElementpProperty - the property designating the columnpublic java.lang.String getLabel(java.lang.String pProperty)
getLabel in interface ITableElementpProperty - the property designating the columnpublic java.lang.String[] getProperties()
getProperties in interface ITableElementpublic boolean canModify(java.lang.String pProperty)
canModify in interface ITableElementpProperty - the property designating the columntrue if the cell is editable.public java.lang.Object getValue(java.lang.String pProperty)
getValue in interface ITableElementpProperty - the property designating the columnpublic void setValue(java.lang.String pProperty,
java.lang.Object pValue)
setValue in interface ITableElementpProperty - the property designating the columnpValue - the new value for the column