Package org.csstudio.opibuilder.model
Class AbstractPVWidgetModel
java.lang.Object
org.csstudio.opibuilder.model.AbstractWidgetModel
org.csstudio.opibuilder.model.AbstractPVWidgetModel
- All Implemented Interfaces:
IPVWidgetModel
,IAdaptable
,IPropertySource
- Direct Known Subclasses:
AbstractBoolWidgetModel
,AbstractChoiceModel
,AbstractScaledWidgetModel
,AbstractShapeModel
,ActionButtonModel
,ByteMonitorModel
,CheckBoxModel
,ComboModel
,IntensityGraphModel
,LabelModel
,MenuButtonModel
,ScrollBarModel
,ThumbWheelModel
,XYGraphModel
The abstract widget model for all PV related widgets.
-
Field Summary
Fields inherited from class org.csstudio.opibuilder.model.AbstractWidgetModel
PROP_ACTIONS, PROP_BORDER_COLOR, PROP_BORDER_STYLE, PROP_BORDER_WIDTH, PROP_COLOR_BACKGROUND, PROP_COLOR_FOREGROUND, PROP_ENABLED, PROP_FONT, PROP_HEIGHT, PROP_NAME, PROP_RULES, PROP_SCALE_OPTIONS, PROP_SCRIPTS, PROP_SRC_CONNECTIONS, PROP_TGT_CONNECTIONS, PROP_TOOLTIP, PROP_VISIBLE, PROP_WIDGET_TYPE, PROP_WIDGET_UID, PROP_WIDTH, PROP_XPOS, PROP_YPOS, VERSION
Fields inherited from interface org.csstudio.opibuilder.model.IPVWidgetModel
PROP_ALARM_PULSING, PROP_BACKCOLOR_ALARMSENSITIVE, PROP_BORDER_ALARMSENSITIVE, PROP_FORECOLOR_ALARMSENSITIVE, PROP_PVNAME, PROP_PVVALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Override to prevent unsightly unresolved macros including $(pv_name) or $(pv_value).boolean
boolean
boolean
boolean
void
processVersionDifference
(org.osgi.framework.Version boyVersionOnFile) Make necessary adjustment for widget compatibility between different versions.Methods inherited from class org.csstudio.opibuilder.model.AbstractWidgetModel
addConnection, addProperty, addProperty, addPVProperty, configureProperties, doScale, flipHorizontally, flipHorizontally, flipVertically, flipVertically, generateNewWUID, getActionsInput, getAdapter, getAllPropertyIDs, getBackgroundColor, getBorderColor, getBorderStyle, getBorderWidth, getBounds, getCastedPropertyValue, getEditableValue, getExecutionMode, getFont, getForegroundColor, getHeight, getIndex, getLocation, getName, getNestedDepth, getOriginLocation, getOriginSize, getParent, getProperty, getPropertyDescriptors, getPropertyValue, getPVMap, getRawPropertyValue, getRawTooltip, getRGBFromColorProperty, getRootDisplayModel, getRootDisplayModel, getRulesInput, getRuntimePropertyList, getScaledSize, getScaleOptions, getScriptsInput, getSize, getSourceConnections, getSWTColorFromColorProperty, getTargetConnections, getType, getTypeID, getVersion, getVersionOnFile, getWidgetType, getWidth, getWUID, getX, getY, isEnabled, isPropertySet, isVisible, removeProperty, removePVProperty, resetPropertyValue, rotate90, rotate90, scale, scaleConnections, setBackgroundColor, setBorderColor, setBorderStyle, setBorderWidth, setBounds, setBounds, setEnabled, setExecutionMode, setForegroundColor, setHeight, setLocation, setLocation, setName, setParent, setPropertyDescription, setPropertyValue, setPropertyValue, setPropertyVisible, setPropertyVisibleAndSavable, setScaleOptions, setSize, setSize, setTooltip, setVersionOnFile, setWidth, setX, setY
-
Constructor Details
-
AbstractPVWidgetModel
public AbstractPVWidgetModel()
-
-
Method Details
-
getDelegate
-
configureBaseProperties
protected void configureBaseProperties()- Overrides:
configureBaseProperties
in classAbstractWidgetModel
-
processVersionDifference
public void processVersionDifference(org.osgi.framework.Version boyVersionOnFile) Description copied from class:AbstractWidgetModel
Make necessary adjustment for widget compatibility between different versions.- Overrides:
processVersionDifference
in classAbstractWidgetModel
-
isBorderAlarmSensitve
public boolean isBorderAlarmSensitve()- Specified by:
isBorderAlarmSensitve
in interfaceIPVWidgetModel
-
isForeColorAlarmSensitve
public boolean isForeColorAlarmSensitve()- Specified by:
isForeColorAlarmSensitve
in interfaceIPVWidgetModel
-
isBackColorAlarmSensitve
public boolean isBackColorAlarmSensitve()- Specified by:
isBackColorAlarmSensitve
in interfaceIPVWidgetModel
-
isAlarmPulsing
public boolean isAlarmPulsing()- Specified by:
isAlarmPulsing
in interfaceIPVWidgetModel
-
getPVName
- Specified by:
getPVName
in interfaceIPVWidgetModel
-
getTooltip
Override to prevent unsightly unresolved macros including $(pv_name) or $(pv_value).- Overrides:
getTooltip
in classAbstractWidgetModel
-