Class EmbeddedJavaScriptProperty
java.lang.Object
org.csstudio.opibuilder.properties.AbstractWidgetProperty<String>
org.csstudio.opibuilder.properties.StringProperty
org.csstudio.opibuilder.properties.EmbeddedJavaScriptProperty
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
ConstructorsConstructorDescriptionEmbeddedJavaScriptProperty(String prop_id, String description, WidgetPropertyCategory category, String defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionbooleanSubclass should override this method if it is configurable by rule.protected PropertyDescriptorCreate theIPropertyDescriptorMethods inherited from class org.csstudio.opibuilder.properties.StringProperty
checkValue, getPropertyValue, readValueFromXML, toStringInRuleScript, writeToXMLMethods 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
-
EmbeddedJavaScriptProperty
public EmbeddedJavaScriptProperty(String prop_id, String description, WidgetPropertyCategory category, String defaultValue)
-
-
Method Details
-
createPropertyDescriptor
Description copied from class:AbstractWidgetPropertyCreate theIPropertyDescriptor- Overrides:
createPropertyDescriptorin classStringProperty
-
configurableByRule
public boolean configurableByRule()Description copied from class:AbstractWidgetPropertySubclass should override this method if it is configurable by rule. If this returns true, the methodAbstractWidgetProperty.toStringInRuleScript(Object)should be properly overridden too.- Overrides:
configurableByRulein classStringProperty- Returns:
- true if this property is configurable by rule.
-