Uses of Class
org.csstudio.opibuilder.model.AbstractWidgetModel
Package
Description
-
Uses of AbstractWidgetModel in org.csstudio.opibuilder.actions
Modifier and TypeMethodDescriptionprotected final List<AbstractWidgetModel>
ChangeOrientationAction.getSelectedWidgetModels()
protected final List<AbstractWidgetModel>
CopyPropertiesAction.getSelectedWidgetModels()
Gets the widget models of all currently selected EditParts.protected final List<AbstractWidgetModel>
CopyWidgetsAction.getSelectedWidgetModels()
Gets the widget models of all currently selected EditParts.protected final List<AbstractWidgetModel>
DistributeWidgetsAction.getSelectedWidgetModels()
Gets the widget models of all currently selected EditParts.protected final List<AbstractWidgetModel>
PastePropertiesAction.getSelectedWidgetModels()
Gets the widget models of all currently selected EditParts.protected final List<AbstractWidgetModel>
ReplaceWidgetsAction.getSelectedWidgetModels()
Gets the widget models of all currently selected EditParts.ModifierConstructorDescriptionConfigureRuntimePropertiesAction
(Shell shell, AbstractWidgetModel widgetModel) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.commands
Modifier and TypeMethodDescriptionvoid
CloneCommand.addPart
(AbstractWidgetModel model, org.eclipse.draw2d.geometry.Rectangle newBounds) Adds the givenAbstractWidgetModel
with the givenRectangle
to this Command.void
ConnectionReconnectCommand.setNewSource
(AbstractWidgetModel newSource) void
ConnectionReconnectCommand.setNewTarget
(AbstractWidgetModel newTarget) void
ConnectionCreateCommand.setTarget
(AbstractWidgetModel target) Set the target for the connection.ModifierConstructorDescriptionAddWidgetCommand
(AbstractContainerModel containerModel, AbstractWidgetModel widget, org.eclipse.draw2d.geometry.Rectangle newBounds) ChangeGuideCommand
(AbstractWidgetModel model, boolean horizontalGuide) Constructor.ChangeOrderCommand
(int newIndex, AbstractContainerModel container, AbstractWidgetModel widget) ChangeOrientationCommand
(AbstractWidgetModel widgetModel, ChangeOrientationAction.OrientationType orientationType) ConnectionCreateCommand
(AbstractWidgetModel source, String sourceTerminal) Instantiate a command that can create a connection between two widgets.OrphanChildCommand
(AbstractContainerModel parent, AbstractWidgetModel child) ReplaceWidgetCommand
(AbstractContainerModel container, AbstractWidgetModel srcWidget, AbstractWidgetModel targetWidget) SetBoundsCommand
(AbstractWidgetModel widgetModel, org.eclipse.draw2d.geometry.Rectangle newBounds) Create a command that can resize and/or move a widget model.SetWidgetPropertyCommand
(AbstractWidgetModel widget, String prop_id, Object newValue) Constructor.WidgetCreateCommand
(AbstractWidgetModel newWidget, AbstractContainerModel container, org.eclipse.draw2d.geometry.Rectangle bounds, boolean append) WidgetCreateCommand
(AbstractWidgetModel newWidget, AbstractContainerModel container, org.eclipse.draw2d.geometry.Rectangle bounds, boolean append, boolean applySchema) WidgetDeleteCommand
(AbstractContainerModel container, AbstractWidgetModel widget) WidgetSetConstraintCommand
(AbstractWidgetModel widgetModel, org.eclipse.gef.requests.ChangeBoundsRequest req, org.eclipse.draw2d.geometry.Rectangle newBounds) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.datadefinition
Modifier and TypeMethodDescriptionAbstractComplexData.getWidgetModel()
final AbstractWidgetModel
PropertiesCopyData.getWidgetModel()
Modifier and TypeMethodDescriptionvoid
AbstractComplexData.setWidgetModel
(AbstractWidgetModel widgetModel) void
PropertiesCopyData.setWidgetModel
(AbstractWidgetModel widgetModel) ModifierConstructorDescriptionAbstractComplexData
(AbstractWidgetModel widgetModel) DisplayScaleData
(AbstractWidgetModel widgetModel) PropertiesCopyData
(AbstractWidgetModel widgetModel, List<String> propIDList) WidgetScaleData
(AbstractWidgetModel widgetModel, boolean isWidthScalable, boolean isHeightScalable, boolean keepWHRatio) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.editor
-
Uses of AbstractWidgetModel in org.csstudio.opibuilder.editparts
Modifier and TypeMethodDescriptionAbstractBaseEditPart.getWidgetModel()
WidgetTreeEditpart.getWidgetModel()
Modifier and TypeMethodDescriptionprotected List<AbstractWidgetModel>
AbstractContainerEditpart.getModelChildren()
protected List<AbstractWidgetModel>
ContainerTreeEditpart.getModelChildren()
Modifier and TypeMethodDescriptionvoid
AbstractContainerEditpart.addChild
(AbstractWidgetModel widgetModel) Add a child widget to the container.void
AbstractContainerEditpart.addChildToBottom
(AbstractWidgetModel widgetModel) Add a child widget to the bottom of the container.void
AbstractContainerEditpart.addChildToRight
(AbstractWidgetModel widgetModel) Add a child widget to the right of the container.Modifier and TypeMethodDescriptionabstract List<org.eclipse.draw2d.geometry.Rectangle>
AbstractLayoutEditpart.getNewBounds
(List<AbstractWidgetModel> widgetModelList, org.eclipse.draw2d.geometry.Rectangle containerBounds) Get the new bounds after layout.void
AbstractLayoutEditpart.layout
(List<AbstractWidgetModel> widgetModelList, org.eclipse.draw2d.geometry.Rectangle containerBounds) Layout widgets. -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.editpolicies
Modifier and TypeMethodDescriptionprotected org.eclipse.gef.commands.Command
WidgetTreeContainerEditPolicy.createCreateCommand
(AbstractWidgetModel widgetModel, org.eclipse.draw2d.geometry.Rectangle r, int index, String label) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.feedback
Modifier and TypeMethodDescriptionorg.eclipse.gef.commands.Command
DefaultGraphicalFeedbackFactory.createChangeBoundsCommand
(AbstractWidgetModel widgetModel, org.eclipse.gef.requests.ChangeBoundsRequest request, org.eclipse.draw2d.geometry.Rectangle targetBounds) org.eclipse.gef.commands.Command
IGraphicalFeedbackFactory.createChangeBoundsCommand
(AbstractWidgetModel widgetModel, org.eclipse.gef.requests.ChangeBoundsRequest request, org.eclipse.draw2d.geometry.Rectangle targetBounds) Returns a command, which handles the size and location changes, implied by the change bounds request and the target bounds.org.eclipse.draw2d.IFigure
DefaultGraphicalFeedbackFactory.createDragSourceFeedbackFigure
(AbstractWidgetModel model, org.eclipse.draw2d.geometry.Rectangle initalBounds) org.eclipse.draw2d.IFigure
IGraphicalFeedbackFactory.createDragSourceFeedbackFigure
(AbstractWidgetModel model, org.eclipse.draw2d.geometry.Rectangle initalBounds) The returned figure will be used to provide graphical feedback during drag or resize operations.org.eclipse.gef.commands.Command
DefaultGraphicalFeedbackFactory.createInitialBoundsCommand
(AbstractWidgetModel widgetModel, org.eclipse.gef.requests.CreateRequest request, org.eclipse.draw2d.geometry.Rectangle targetBounds) org.eclipse.gef.commands.Command
IGraphicalFeedbackFactory.createInitialBoundsCommand
(AbstractWidgetModel widgetModel, org.eclipse.gef.requests.CreateRequest request, org.eclipse.draw2d.geometry.Rectangle targetBounds) Returns a command, which handles the initial size and location during the creation of new widget models.void
DefaultGraphicalFeedbackFactory.showChangeBoundsFeedback
(AbstractWidgetModel widgetModel, org.eclipse.draw2d.geometry.PrecisionRectangle bounds, org.eclipse.draw2d.IFigure feedbackFigure, org.eclipse.gef.requests.ChangeBoundsRequest request) void
IGraphicalFeedbackFactory.showChangeBoundsFeedback
(AbstractWidgetModel widgetModel, org.eclipse.draw2d.geometry.PrecisionRectangle bounds, org.eclipse.draw2d.IFigure feedbackFigure, org.eclipse.gef.requests.ChangeBoundsRequest request) This method will be called, when the size or location of the feedback changes during drag or resize operations. -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.model
Modifier and TypeClassDescriptionclass
The model which could contain children.class
The abstract model for layout widgets.class
The abstract base model for LinkingContainer widgets.class
The abstract widget model for all PV related widgets.class
Model for connection.class
The root model for an OPI Display.Modifier and TypeMethodDescriptionAbstractContainerModel.getChildByName
(String name) ConnectionModel.getSource()
Returns the source endpoint of this connection.ConnectionModel.getTarget()
Returns the target endpoint of this connection.DisplayModel.getWidgetFromWUID
(String wuid) Modifier and TypeMethodDescriptionAbstractContainerModel.getAllDescendants()
GuideModel.getAttachedModels()
AbstractContainerModel.getChildren()
GuideModel.getMap()
Modifier and TypeMethodDescriptionvoid
AbstractContainerModel.addChild
(int index, AbstractWidgetModel child) void
AbstractContainerModel.addChild
(AbstractWidgetModel child) void
AbstractContainerModel.addChild
(AbstractWidgetModel child, boolean changeParent) add child to the end of the children list.void
GuideModel.attachPart
(AbstractWidgetModel model, int alignment) Attaches the given AbstractWidgetEditPart with the alignment to this guide.void
AbstractContainerModel.changeChildOrder
(AbstractWidgetModel child, int newIndex) Change the order of the child.void
ConnectionModel.connect
(AbstractWidgetModel newSource, String newSourceTerminal, AbstractWidgetModel newTarget, String newTargetTerminal) Reconnect to a different source and/or target shape.void
GuideModel.detachPart
(AbstractWidgetModel model) Detaches the given part from this guide.int
GuideModel.getAlignment
(AbstractWidgetModel model) This methods returns the edge along which the given part is attached to this guide.final int
AbstractContainerModel.getIndexOf
(AbstractWidgetModel widget) void
AbstractContainerModel.removeChild
(AbstractWidgetModel child) void
AbstractContainerModel.selectWidget
(AbstractWidgetModel newWidget, boolean append) void
ConnectionModel.setSource
(AbstractWidgetModel source) void
ConnectionModel.setTarget
(AbstractWidgetModel target) Modifier and TypeMethodDescriptionvoid
AbstractContainerModel.addChildren
(List<AbstractWidgetModel> children, boolean changeParent) void
AbstractContainerModel.selectWidgets
(List<AbstractWidgetModel> widgets, boolean append) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.persistence
Modifier and TypeMethodDescriptionstatic AbstractWidgetModel
XMLUtil.fillWidgets
(org.jdom2.Element element, DisplayModel displayModel) Convert XML Element to a widget model.static AbstractWidgetModel
XMLUtil.fillWidgetsFromXMLString
(String xmlString, DisplayModel displayModel) Convert XML String to a widget model.static AbstractWidgetModel
XMLUtil.XMLElementToWidget
(org.jdom2.Element element) Convert an XML element to widget.static AbstractWidgetModel
XMLUtil.XMLElementToWidget
(org.jdom2.Element element, DisplayModel displayModel) Construct widget model from XML element.static AbstractWidgetModel
XMLUtil.XMLStringToWidget
(String xmlString) Convert an XML String to widget modelModifier and TypeMethodDescriptionstatic void
XMLUtil.widgetToOutputStream
(AbstractWidgetModel widgetModel, OutputStream out, boolean prettyFormat) Write widget to an output stream.static org.jdom2.Element
XMLUtil.widgetToXMLElement
(AbstractWidgetModel widgetModel) Flatten a widget to XML element.static String
XMLUtil.widgetToXMLString
(AbstractWidgetModel widgetModel, boolean prettyFormat) Flatten a widget to XML String. -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.properties
Modifier and TypeFieldDescriptionprotected AbstractWidgetModel
AbstractWidgetProperty.widgetModel
Modifier and TypeMethodDescriptionvoid
AbstractWidgetProperty.setWidgetModel
(AbstractWidgetModel widgetModel) void
ActionsProperty.setWidgetModel
(AbstractWidgetModel widgetModel) void
ComplexDataProperty.setWidgetModel
(AbstractWidgetModel widgetModel) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.properties.support
ModifierConstructorDescriptionFilePathPropertyDescriptor
(Object id, String displayName, AbstractWidgetModel widgetModel, String[] fileExtensions) Creates an property descriptor with the given id and display name.FilePathPropertyDescriptorWithFilter
(Object id, String displayName, AbstractWidgetModel widgetModel, String[] filters) RulesPropertyDescriptor
(Object id, AbstractWidgetModel widgetModel, String displayName) Creates an property descriptor with the given id and display name.ScriptPropertyDescriptor
(Object id, AbstractWidgetModel widgetModel, String displayName) Creates an property descriptor with the given id and display name. -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.script
-
Uses of AbstractWidgetModel in org.csstudio.opibuilder.util
Modifier and TypeMethodDescriptionvoid
SchemaService.applySchema
(AbstractWidgetModel widgetModel) static IPath
ResourceUtil.buildAbsolutePath
(AbstractWidgetModel model, IPath relativePath) Build the absolute path from the file path (without the file name part) of the widget model and the relative path.GuideUtil.getGuide
(AbstractWidgetModel model, boolean horizontal) Returns the guide to which the givenAbstractWidgetModel
is attached in the given orientation.OPIBuilderMacroUtil.getWidgetMacroMap
(AbstractWidgetModel widgetModel) void
GuideUtil.removeGuide
(AbstractWidgetModel model, boolean horizontal) Removes the vertical or the horizontal Guide of aAbstractWidgetModel
depending on the boolean flag.static String
OPIBuilderMacroUtil.replaceMacros
(AbstractWidgetModel widgetModel, String input) Replace the macros in the input with the real value.void
GuideUtil.setGuide
(AbstractWidgetModel model, GuideModel guide) Sets the Guide for the givenAbstractWidgetModel
. -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.visualparts
ModifierConstructorDescriptionFilePathCellDialogEditorWithFilter
(Composite parent, AbstractWidgetModel widgetModel, String[] fileExtensions) FilePathCellEditor
(Composite parent, AbstractWidgetModel widgetModel, String[] fileExtensions) Creates a new string cell editor parented under the given control.PropertiesSelectDialog
(Shell parentShell, AbstractWidgetModel widgetModel) RulesInputCellEditor
(Composite parent, AbstractWidgetModel widgetModel, String title) RulesInputDialog
(Shell parentShell, RulesInput scriptsInput, AbstractWidgetModel widgetModel, String dialogTitle) RuntimePropertiesEditDialog
(Shell parentShell, AbstractWidgetModel widgetModel) ScriptsInputCellEditor
(Composite parent, AbstractWidgetModel widgetModel, String title) ScriptsInputDialog
(Shell parentShell, ScriptsInput scriptsInput, String dialogTitle, AbstractWidgetModel widgetModel) TooltipLabel
(AbstractWidgetModel widgetModel) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.widgetActions
Modifier and TypeMethodDescriptionAbstractWidgetAction.getWidgetModel()
ActionsInput.getWidgetModel()
Modifier and TypeMethodDescriptionvoid
AbstractWidgetAction.setWidgetModel
(AbstractWidgetModel widgetModel) void
ActionsInput.setWidgetModel
(AbstractWidgetModel widgetModel) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.widgets
Modifier and TypeMethodDescriptionstatic void
FigureTransparencyHelper.addProperty
(AbstractWidgetModel model) static boolean
FigureTransparencyHelper.isTransparency
(AbstractWidgetModel model) static void
FigureTransparencyHelper.setBackground
(SymbolImage symbolImage, Color backgroundColor, AbstractWidgetModel model) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.widgets.actions
Modifier and TypeMethodDescriptionprotected final List<AbstractWidgetModel>
CreateGroupAction.getSelectedWidgetModels()
Gets the widget models of all currently selected EditParts. -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.widgets.editparts
Modifier and TypeMethodDescriptionprotected List<AbstractWidgetModel>
ArrayEditPart.getModelChildren()
Modifier and TypeMethodDescriptionList<org.eclipse.draw2d.geometry.Rectangle>
GridLayoutEditpart.getNewBounds
(List<AbstractWidgetModel> widgetModelList, org.eclipse.draw2d.geometry.Rectangle containerBounds) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.widgets.feedback
Modifier and TypeMethodDescriptionorg.eclipse.gef.commands.Command
AbstractFixRatioSizeFeedbackFactory.createChangeBoundsCommand
(AbstractWidgetModel widgetModel, org.eclipse.gef.requests.ChangeBoundsRequest request, org.eclipse.draw2d.geometry.Rectangle targetBounds) org.eclipse.draw2d.IFigure
AbstractFixRatioSizeFeedbackFactory.createDragSourceFeedbackFigure
(AbstractWidgetModel model, org.eclipse.draw2d.geometry.Rectangle initalBounds) org.eclipse.gef.commands.Command
AbstractFixRatioSizeFeedbackFactory.createInitialBoundsCommand
(AbstractWidgetModel widgetModel, org.eclipse.gef.requests.CreateRequest request, org.eclipse.draw2d.geometry.Rectangle targetBounds) int
AbstractFixRatioSizeFeedbackFactory.getHeightFromWidth
(int width, AbstractWidgetModel widgetModel) Calculate height from width.int
MeterFeedbackFactory.getHeightFromWidth
(int width, AbstractWidgetModel widgetModel) int
AbstractFixRatioSizeFeedbackFactory.getWidthFromHeight
(int height, AbstractWidgetModel widgetModel) Calculate width from height.int
MeterFeedbackFactory.getWidthFromHeight
(int height, AbstractWidgetModel widgetModel) boolean
AbstractFixRatioSizeFeedbackFactory.isSquareSizeRequired
(AbstractWidgetModel widgetModel) boolean
LEDFeedbackFactory.isSquareSizeRequired
(AbstractWidgetModel widgetModel) void
AbstractFixRatioSizeFeedbackFactory.showChangeBoundsFeedback
(AbstractWidgetModel widgetModel, org.eclipse.draw2d.geometry.PrecisionRectangle newBounds, org.eclipse.draw2d.IFigure feedbackFigure, org.eclipse.gef.requests.ChangeBoundsRequest request) void
ArrayFeedbackFactory.showChangeBoundsFeedback
(AbstractWidgetModel widgetModel, org.eclipse.draw2d.geometry.PrecisionRectangle bounds, org.eclipse.draw2d.IFigure feedbackFigure, org.eclipse.gef.requests.ChangeBoundsRequest request) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.widgets.figures
Modifier and TypeMethodDescriptionvoid
ImageFigure.setSymbolProperties
(SymbolImageProperties symbolProperties, AbstractWidgetModel model) -
Uses of AbstractWidgetModel in org.csstudio.opibuilder.widgets.model
Modifier and TypeClassDescriptionclass
Abstract model for boolean controls.class
This class defines a common widget model for all the boolean widgets.class
The abstract model for choice widget.class
This class defines a common widget model for any widget which has one scale and standard markers.class
class
This class defines a common widget model for any widget which has a scale.class
The abstract widget model for all shape based widgets.class
An action button widget model.class
The widget modelclass
The model for array widget.class
The widget model for Boolean Button.class
The widget model for Boolean Switch.class
class
The model for checkbox widgetclass
Model of Choice Button.class
The model for combo widget.class
The widget model of ellipse widget.class
This class defines a gauge widget model.class
The widget model for grid layout widget which layout widgets in grids.class
The model for grouping container widget.class
The widget model for Boolean Switch.class
The widget model for Boolean Switch.final class
An image widget model.class
The model for intensity graph.class
This class defines a knob widget model.class
The model for label widget.class
The widget model for LED.class
The model for linking container widget.final class
class
This class defines a XMeter widget model.final class
Deprecated.the native button is not used anymore.final class
Deprecated.not used anymore.class
A polygon widget modelclass
The model for polyline widget.class
This class defines a scaled slider widget model.class
Model of Radio Box.class
The model for rectangle widget.class
The model for a rounded rectangle widget.class
The model for sash container widget.class
This class defines a scaled slider widget model.class
The model of scroll bar widget.class
The model of spinner widget.class
Model for the Table widget.class
The model for a tab widget.class
This class defines a tank widget model.class
The model for text input.class
The model for text indicator.class
This class defines a thermometer widget model.class
Model for the ThumbWheel.class
The model for web browser widget.class
The model for XYGraphModifier and TypeMethodDescriptionvoid
ArrayModel.addChild
(int index, AbstractWidgetModel child) void
ArrayModel.addChild
(AbstractWidgetModel child, boolean changeParent) void
ArrayModel.removeChild
(AbstractWidgetModel child) -
Uses of AbstractWidgetModel in org.yamcs.studio.script
Modifier and TypeMethodDescriptionstatic AbstractWidgetModel
WidgetUtil.createWidgetModel
(String widgetTypeID) Create a new widget model with the give widget type ID.