|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openoffice.ide.eclipse.core.wizards.pages.InterfacesTable.InheritanceLine
public class InterfacesTable.InheritanceLine
The interface names are stored in path-like strings, ie: using "::"
as separator. This class describes a line in the table and thus has
to implement ITableElement
interface
Field Summary | |
---|---|
static java.lang.String |
NAME
|
static java.lang.String |
OPTIONAL
|
Constructor Summary | |
---|---|
InterfacesTable.InheritanceLine()
|
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 |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OPTIONAL
public static final java.lang.String NAME
Constructor Detail |
---|
public InterfacesTable.InheritanceLine()
Method Detail |
---|
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 ITableElement
pProperty
- the property designating the column
public java.lang.String getLabel(java.lang.String pProperty)
getLabel
in interface ITableElement
pProperty
- the property designating the column
public java.lang.String[] getProperties()
getProperties
in interface ITableElement
public boolean canModify(java.lang.String pProperty)
canModify
in interface ITableElement
pProperty
- the property designating the column
true
if the cell is editable.public java.lang.Object getValue(java.lang.String pProperty)
getValue
in interface ITableElement
pProperty
- the property designating the column
public void setValue(java.lang.String pProperty, java.lang.Object pValue)
setValue
in interface ITableElement
pProperty
- the property designating the columnpValue
- the new value for the column
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |