public abstract class GenericLevelPresets extends AbstractBaseDraw2DDetailsPart
display, item, shell, value
Constructor and Description |
---|
GenericLevelPresets() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.draw2d.IFigure |
createMain() |
void |
dispose() |
protected abstract String |
getHighHighTag() |
protected abstract String |
getHighTag() |
protected abstract String |
getLowLowTag() |
protected abstract String |
getLowTag() |
protected abstract String |
getMaxTag() |
protected abstract String |
getMinTag() |
protected abstract Number |
getPreset(String string) |
protected abstract boolean |
isAckRequired(String string,
String severity) |
protected abstract boolean |
isActive(String string) |
protected abstract boolean |
isAlarm(String string) |
protected abstract boolean |
isError(String string) |
protected abstract boolean |
isUnsafe(String string) |
protected abstract boolean |
isWarning(String string) |
protected DisplayCallbackHandler |
makeDisplayCallback() |
protected abstract void |
setActive(boolean state,
String tag) |
protected abstract void |
setPreset(Variant value,
boolean active,
String tag) |
protected void |
toggle(String tag) |
protected void |
triggerAction(String string) |
protected void |
update()
Internal data was updated.
|
createPart, createRoot, isAvailable, setVisibilityController
getBooleanAttribute, getNumberAttribute, getValue, hasAttribute, isAlarm, isError, isForceActive, isManual, isUnsafe, setDataItem, setShell, updateData
protected org.eclipse.draw2d.IFigure createMain()
createMain
in class AbstractBaseDraw2DDetailsPart
protected abstract String getMinTag()
protected abstract String getMaxTag()
protected abstract String getHighHighTag()
protected abstract String getHighTag()
protected abstract String getLowTag()
protected abstract String getLowLowTag()
public void dispose()
dispose
in interface org.eclipse.ui.services.IDisposable
dispose
in class AbstractBaseDraw2DDetailsPart
protected void toggle(String tag)
protected void triggerAction(String string)
protected void update()
AbstractBaseDetailsPart
This method is called inside the display thread.
update
in class AbstractBaseDraw2DDetailsPart
protected abstract void setActive(boolean state, String tag)
protected abstract boolean isError(String string)
protected abstract boolean isWarning(String string)
protected abstract boolean isAlarm(String string)
protected abstract boolean isActive(String string)
protected abstract boolean isUnsafe(String string)
protected DisplayCallbackHandler makeDisplayCallback()