Package org.yamcs.studio.script
Class WidgetUtil
java.lang.Object
org.yamcs.studio.script.WidgetUtil
- Direct Known Subclasses:
WidgetUtil
The Utility Class to help managing widgets.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractWidgetModel
createWidgetModel
(String widgetTypeID) Create a new widget model with the give widget type ID.
-
Constructor Details
-
WidgetUtil
public WidgetUtil()
-
-
Method Details
-
createWidgetModel
Create a new widget model with the give widget type ID.- Parameters:
widgetTypeID
- type ID of the widget. You can get the typeID of a widget by opening an OPI with this widget in text editor.- Returns:
- the widget model.
- Throws:
Exception
- if the widget type ID does not exist.
-