public abstract class AbstractBaseDraw2DDetailsPart extends AbstractBaseDetailsPart
display, item, shell, value
Constructor and Description |
---|
AbstractBaseDraw2DDetailsPart() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.eclipse.draw2d.IFigure |
createMain() |
void |
createPart(org.eclipse.swt.widgets.Composite parent)
create the details area
|
protected org.eclipse.draw2d.IFigure |
createRoot() |
void |
dispose() |
protected abstract boolean |
isAvailable()
Check if the functionality of this tab is available or not
|
void |
setVisibilityController(VisibilityController visibilityController) |
protected void |
update()
Internal data was updated.
|
getBooleanAttribute, getNumberAttribute, getValue, hasAttribute, isAlarm, isError, isForceActive, isManual, isUnsafe, setDataItem, setShell, updateData
public void createPart(org.eclipse.swt.widgets.Composite parent)
DetailsPart
createPart
in interface DetailsPart
createPart
in class AbstractBaseDetailsPart
parent
- the parent compositepublic void dispose()
dispose
in interface org.eclipse.ui.services.IDisposable
dispose
in class AbstractBaseDetailsPart
protected abstract org.eclipse.draw2d.IFigure createMain()
protected abstract boolean isAvailable()
true
if the functionality can be provided,
false
otherwiseprotected org.eclipse.draw2d.IFigure createRoot()
protected void update()
AbstractBaseDetailsPart
This method is called inside the display thread.
update
in class AbstractBaseDetailsPart
public void setVisibilityController(VisibilityController visibilityController)
setVisibilityController
in interface DetailsPart
setVisibilityController
in class AbstractBaseDetailsPart