public class ManualOverride extends AbstractBaseDraw2DDetailsPart
display, item, shell, value
Constructor and Description |
---|
ManualOverride() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.draw2d.IFigure |
createMain() |
void |
createPart(org.eclipse.swt.widgets.Composite parent)
create the details area
|
void |
dispose() |
protected void |
enterManualValue()
Enter the manual value
|
protected void |
handleSetRemoteManualValue() |
protected boolean |
isAvailable()
Check if the functionality of this tab is available or not
|
protected void |
setConnectionState(org.eclipse.draw2d.PolylineConnection connection,
boolean state)
Set graphics attribute according to the connection state
|
protected void |
setRemoteManualState(boolean state) |
protected void |
switchToManual() |
protected void |
switchToProcess() |
protected void |
update()
Internal data was updated.
|
protected void |
updateRemote() |
protected void |
writeAttributes(Map<String,Variant> attributes) |
createRoot, setVisibilityController
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 AbstractBaseDraw2DDetailsPart
parent
- the parent compositepublic org.eclipse.draw2d.IFigure createMain()
createMain
in class AbstractBaseDraw2DDetailsPart
protected void setRemoteManualState(boolean state)
protected void handleSetRemoteManualValue()
protected void switchToManual()
protected void enterManualValue()
protected void switchToProcess()
public void dispose()
dispose
in interface org.eclipse.ui.services.IDisposable
dispose
in class AbstractBaseDraw2DDetailsPart
protected void updateRemote()
protected void update()
AbstractBaseDetailsPart
This method is called inside the display thread.
update
in class AbstractBaseDraw2DDetailsPart
protected void setConnectionState(org.eclipse.draw2d.PolylineConnection connection, boolean state)
connection
- the connection to changestate
- the stateprotected boolean isAvailable()
AbstractBaseDraw2DDetailsPart
isAvailable
in class AbstractBaseDraw2DDetailsPart
true
if the functionality can be provided,
false
otherwise