Class ExecuteJavaScriptAction
java.lang.Object
org.csstudio.opibuilder.widgetActions.AbstractWidgetAction
org.csstudio.opibuilder.widgetActions.AbstractExecuteScriptAction
org.csstudio.opibuilder.widgetActions.ExecuteJavaScriptAction
- All Implemented Interfaces:
IAdaptable
The action executing javascript with the default javascript engine embedded in JDK.
-
Field Summary
Fields inherited from class org.csstudio.opibuilder.widgetActions.AbstractExecuteScriptAction
PROP_EMBEDDED, PROP_PATH, PROP_SCRIPT_TEXT
Fields inherited from class org.csstudio.opibuilder.widgetActions.AbstractWidgetAction
PROP_DESCRIPTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractWidgetProperty<?>
createEmbeddedScriptProperty
(String prop_id, String description, WidgetPropertyCategory category, String defaultValue) protected String
void
run()
Methods inherited from class org.csstudio.opibuilder.widgetActions.AbstractExecuteScriptAction
closeReader, configureProperties, getAbsolutePath, getDefaultDescription, getInputStream, getPath, getReader, getScriptText, isEmbedded
Methods inherited from class org.csstudio.opibuilder.widgetActions.AbstractWidgetAction
addProperty, dispose, getAdapter, getAllProperties, getAllPropertyIDs, getCopy, getDescription, getProperty, getPropertyValue, getWidgetModel, isEnabled, setEnabled, setPropertyValue, setWidgetModel
-
Constructor Details
-
ExecuteJavaScriptAction
public ExecuteJavaScriptAction()
-
-
Method Details
-
getActionType
- Specified by:
getActionType
in classAbstractWidgetAction
-
createEmbeddedScriptProperty
protected AbstractWidgetProperty<?> createEmbeddedScriptProperty(String prop_id, String description, WidgetPropertyCategory category, String defaultValue) - Specified by:
createEmbeddedScriptProperty
in classAbstractExecuteScriptAction
-
run
public void run()- Specified by:
run
in classAbstractWidgetAction
-
getFileExtension
- Specified by:
getFileExtension
in classAbstractExecuteScriptAction
-