Class VersionProperty
java.lang.Object
org.csstudio.opibuilder.properties.AbstractWidgetProperty<String>
org.csstudio.opibuilder.properties.StringProperty
org.csstudio.opibuilder.properties.UnchangableStringProperty
org.csstudio.opibuilder.properties.VersionProperty
Version property.
-
Field Summary
Fields inherited from class org.csstudio.opibuilder.properties.AbstractWidgetProperty
category, defaultValue, description, executionMode, prop_id, propertyValue, visibleInPropSheet, widgetModel
-
Constructor Summary
ConstructorDescriptionVersionProperty
(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.void
writeToXML
(org.jdom2.Element propElement) Write the property value into a XML element.Methods inherited from class org.csstudio.opibuilder.properties.UnchangableStringProperty
createPropertyDescriptor
Methods inherited from class org.csstudio.opibuilder.properties.StringProperty
checkValue, getPropertyValue, readValueFromXML, toStringInRuleScript
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
-
VersionProperty
public VersionProperty(String prop_id, String description, WidgetPropertyCategory category, String defaultValue)
-
-
Method Details
-
writeToXML
public void writeToXML(org.jdom2.Element propElement) Description copied from class:AbstractWidgetProperty
Write the property value into a XML element.- Overrides:
writeToXML
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 classUnchangableStringProperty
- Returns:
- true if this property is configurable by rule.
-