Class EmbeddedPythonScriptProperty
java.lang.Object
org.csstudio.opibuilder.properties.AbstractWidgetProperty<String>
org.csstudio.opibuilder.properties.StringProperty
org.csstudio.opibuilder.properties.EmbeddedPythonScriptProperty
The widget property for string. It also accept macro string $(macro).
-
Field Summary
Fields inherited from class org.csstudio.opibuilder.properties.AbstractWidgetProperty
category, defaultValue, description, executionMode, prop_id, propertyValue, visibleInPropSheet, widgetModel
-
Constructor Summary
ConstructorDescriptionEmbeddedPythonScriptProperty
(String prop_id, String description, WidgetPropertyCategory category, String defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Subclass should override this method if it is configurable by rule.protected PropertyDescriptor
Create theIPropertyDescriptor
Methods inherited from class org.csstudio.opibuilder.properties.StringProperty
checkValue, getPropertyValue, readValueFromXML, toStringInRuleScript, writeToXML
Methods inherited from class org.csstudio.opibuilder.properties.AbstractWidgetProperty
addPropertyChangeListener, firePropertyChange, getAllPropertyChangeListeners, getCategory, getDefaultValue, getDescription, getExecutionMode, getPropertyDescriptor, getPropertyID, getRawPropertyValue, isDefaultValue, isSavable, isVisibleInPropSheet, onlyAcceptExpressionInRule, removeAllPropertyChangeListeners, removePropertyChangeListener, setCategory, setDefaultValue, setDescription, setExecutionMode, setPropertyValue, setPropertyValue, setPropertyValue_IgnoreOldValue, setSavable, setVisibleInPropSheet, setWidgetModel, toString
-
Constructor Details
-
EmbeddedPythonScriptProperty
public EmbeddedPythonScriptProperty(String prop_id, String description, WidgetPropertyCategory category, String defaultValue)
-
-
Method Details
-
createPropertyDescriptor
Description copied from class:AbstractWidgetProperty
Create theIPropertyDescriptor
- Overrides:
createPropertyDescriptor
in classStringProperty
-
configurableByRule
public boolean configurableByRule()Description copied from class:AbstractWidgetProperty
Subclass should override this method if it is configurable by rule. If this returns true, the methodAbstractWidgetProperty.toStringInRuleScript(Object)
should be properly overridden too.- Overrides:
configurableByRule
in classStringProperty
- Returns:
- true if this property is configurable by rule.
-