public class WidgetUtil
extends java.lang.Object
Constructor and Description |
---|
WidgetUtil() |
Modifier and Type | Method and Description |
---|---|
static org.csstudio.opibuilder.model.AbstractWidgetModel |
createWidgetModel(java.lang.String widgetTypeID)
Create a new widget model with the give widget type ID.
|
public static org.csstudio.opibuilder.model.AbstractWidgetModel createWidgetModel(java.lang.String widgetTypeID) throws java.lang.Exception
widgetTypeID
- type ID of the widget.
You can get the typeID of a widget by opening an OPI with this widget in text editor.java.lang.Exception
- if the widget type ID does not exist.