Class ArrayFeedbackFactory
java.lang.Object
org.csstudio.opibuilder.feedback.DefaultGraphicalFeedbackFactory
org.csstudio.opibuilder.widgets.feedback.ArrayFeedbackFactory
- All Implemented Interfaces:
IGraphicalFeedbackFactory
The feedback factory for array widget.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshowChangeBoundsFeedback(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.Methods inherited from class org.csstudio.opibuilder.feedback.DefaultGraphicalFeedbackFactory
createChangeBoundsCommand, createCustomHandles, createDragSourceFeedbackFigure, createInitialBoundsCommand, createSizeOnDropFeedback, getCreationTool, showSizeOnDropFeedback
-
Constructor Details
-
ArrayFeedbackFactory
public ArrayFeedbackFactory()
-
-
Method Details
-
showChangeBoundsFeedback
public void showChangeBoundsFeedback(AbstractWidgetModel widgetModel, org.eclipse.draw2d.geometry.PrecisionRectangle bounds, org.eclipse.draw2d.IFigure feedbackFigure, org.eclipse.gef.requests.ChangeBoundsRequest request) Description copied from interface:IGraphicalFeedbackFactoryThis method will be called, when the size or location of the feedback changes during drag or resize operations. The specified figure equals the figure, which is created by theIGraphicalFeedbackFactory.createDragSourceFeedbackFigure(AbstractWidgetModel, Rectangle). Implementors should apply the changed bounds to their individual feedback figure.- Specified by:
showChangeBoundsFeedbackin interfaceIGraphicalFeedbackFactory- Overrides:
showChangeBoundsFeedbackin classDefaultGraphicalFeedbackFactory- Parameters:
widgetModel- the corresponding widget modelbounds- the new boundsfeedbackFigure- the current feedback figurerequest- the change request
-