Class ActionsProperty
java.lang.Object
org.csstudio.opibuilder.properties.AbstractWidgetProperty<ActionsInput>
org.csstudio.opibuilder.properties.ActionsProperty
The widget property for actions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML ATTRIBUTE namePATHSTRING.static final Stringstatic final StringXML ATTRIBUTE nameHOOK.static final StringXML ELEMENT nameACTION.Fields inherited from class org.csstudio.opibuilder.properties.AbstractWidgetProperty
category, defaultValue, description, executionMode, prop_id, propertyValue, visibleInPropSheet, widgetModel -
Constructor Summary
ConstructorsConstructorDescriptionActionsProperty(String prop_id, String description, WidgetPropertyCategory category) Widget Property ConstructorActionsProperty(String prop_id, String description, WidgetPropertyCategory category, boolean showHookOption) Widget Property Constructor -
Method Summary
Modifier and TypeMethodDescriptioncheckValue(Object value) Check if the requestNewValue is convertible or legal.protected PropertyDescriptorCreate theIPropertyDescriptorreadValueFromXML(org.jdom2.Element propElement) Read the property value from a XML element.voidsetWidgetModel(AbstractWidgetModel widgetModel) voidwriteToXML(org.jdom2.Element propElement) Write the property value into a XML element.Methods inherited from class org.csstudio.opibuilder.properties.AbstractWidgetProperty
addPropertyChangeListener, configurableByRule, firePropertyChange, getAllPropertyChangeListeners, getCategory, getDefaultValue, getDescription, getExecutionMode, getPropertyDescriptor, getPropertyID, getPropertyValue, getRawPropertyValue, isDefaultValue, isSavable, isVisibleInPropSheet, onlyAcceptExpressionInRule, removeAllPropertyChangeListeners, removePropertyChangeListener, setCategory, setDefaultValue, setDescription, setExecutionMode, setPropertyValue, setPropertyValue, setPropertyValue_IgnoreOldValue, setSavable, setVisibleInPropSheet, toString, toStringInRuleScript
-
Field Details
-
XML_ELEMENT_ACTION
XML ELEMENT nameACTION.- See Also:
-
XML_ATTRIBUTE_ACTION_TYPE
XML ATTRIBUTE namePATHSTRING.- See Also:
-
XML_ATTRIBUTE_HOOK_FIRST
XML ATTRIBUTE nameHOOK.- See Also:
-
XML_ATTRIBUTE_HOOK_ALL
- See Also:
-
-
Constructor Details
-
ActionsProperty
Widget Property Constructor- Parameters:
prop_id- the property id which should be unique in a widget model.description- the description of the property, which will be shown as the property name in property sheet.category- the category of the widget.
-
ActionsProperty
public ActionsProperty(String prop_id, String description, WidgetPropertyCategory category, boolean showHookOption) Widget Property Constructor- Parameters:
prop_id- the property id which should be unique in a widget model.description- the description of the property, which will be shown as the property name in property sheet.category- the category of the widget.showHookOption- true if the hook option is visible in the dialog.
-
-
Method Details
-
checkValue
Description copied from class:AbstractWidgetPropertyCheck if the requestNewValue is convertible or legal.- Specified by:
checkValuein classAbstractWidgetProperty<ActionsInput>- Parameters:
value- the value to be checked.- Returns:
- The value after being checked. It might be coerced if the requestValue is illegal. return null if it is not convertible or illegal.
-
createPropertyDescriptor
Description copied from class:AbstractWidgetPropertyCreate theIPropertyDescriptor- Specified by:
createPropertyDescriptorin classAbstractWidgetProperty<ActionsInput>
-
readValueFromXML
Description copied from class:AbstractWidgetPropertyRead the property value from a XML element.- Specified by:
readValueFromXMLin classAbstractWidgetProperty<ActionsInput>
-
writeToXML
public void writeToXML(org.jdom2.Element propElement) Description copied from class:AbstractWidgetPropertyWrite the property value into a XML element.- Specified by:
writeToXMLin classAbstractWidgetProperty<ActionsInput>
-
setWidgetModel
- Overrides:
setWidgetModelin classAbstractWidgetProperty<ActionsInput>
-