|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.kiem.properties.KiemPropertyType
public abstract class KiemPropertyType
The abstract class KiemPropertyType. This implements the basic and default behavior of a
KiemPropertyType. A new KiemPropertyType must extend this abstract class and may provide its own
CellEditor by overriding provideCellEditor(Composite)
. It may also provide its own icon
Image by overriding the provideIcon()
method.
By default the TextCellEditor and a blank default property icon will be used.
Constructor Summary | |
---|---|
KiemPropertyType()
Instantiates a new KiemPropertyType. |
Method Summary | |
---|---|
CellEditor |
getCellEditor()
Gets the CellEditor that is used for this KiemPropertyType. |
Image |
getIcon()
Gets the icon Image of this KiemPropertyType. |
String |
getId()
Gets the id of the property type. |
CellEditor |
provideCellEditor(Composite parent)
Provides a cell editor of this KiemPropertyType. |
Image |
provideIcon()
Provide an icon Image for this KiemPropertyType. |
void |
setCellEditor(Composite parent)
Sets the default cell editor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.cau.cs.kieler.sim.kiem.properties.IKiemPropertyType |
---|
getValue, setValue |
Constructor Detail |
---|
public KiemPropertyType()
KiemPropertyEditing.getCellEditor(java.lang.Object)
is called by the
EditingSupport of the KiemView table-tree.
Method Detail |
---|
public final String getId()
public CellEditor provideCellEditor(Composite parent)
parent
- the parent SWT composite that holds the Cell Editor
public Image provideIcon()
public final void setCellEditor(Composite parent)
provideCellEditor(Composite)
to provide a different
than the default CellEditor.
parent
- the parent SWT composite that holds the Cell Editorpublic final CellEditor getCellEditor()
provideCellEditor(Composite)
to provide a different than the default CellEditor.
public final Image getIcon()
provideIcon()
to provide a different
than the default icon Image.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |