Package org.eclipse.gef.mvc.fx.operations
package org.eclipse.gef.mvc.fx.operations
This package contains all
IUndoableOperation
implementations contributed by MVC.FX.-
ClassDescriptionThe
AbstractCompositeOperationis an abstract implementation of theICompositeOperationinterface.TheAddContentChildOperationuses theIContentPartAPI to remove a content object from anIContentPart.TheRemoveSnapToStrategyOperationcan be used to add anISnapToStrategyto the list of supported strategies that is managed by theSnappingModel.TheAttachToContentAnchorageOperationuses theIContentPartAPI to attach an anchored to the given anchorage.AnITransactionalOperationto bend anIBendableContentPart.TheBendVisualOperationis anITransactionalOperationthat can be used to manipulate the visual bend points of anIBendableContentPart.TheChangeContentsOperationcan be used to change the content objects stored in theIViewer.contentsProperty().TheChangeViewportOperationcan be used to alter the scroll offset and the content transformation of anInfiniteCanvas.TheDetachFromContentAnchorageOperationuses theIContentPartAPI to detach an anchored from the given anchorage.TheForwardUndoCompositeOperationis anAbstractCompositeOperationwhich undoes its combined operations in the same order as they are executed.AnITransactionalOperationis anIUndoableOperationthat tolerates successive calls toIUndoableOperation.execute(IProgressMonitor, IAdaptable)andIUndoableOperation.undo(IProgressMonitor, IAdaptable)and allows to check whether it has an overall effect (ITransactionalOperation.isNoOp()) compared to the initial state upon construction.TheRemoveContentChildOperationuses theIContentPartAPI to remove a content object from anIContentPart.TheRemoveSnapToStrategyOperationcan be used to remove anISnapToStrategyfrom the list of supported strategies that is managed by theSnappingModel.AnITransactionalOperationto change the size of anIResizableContentPart.TheResizeOperationcan be used to alter the size of avisual.TheRevealOperationcan be used to reveal anIVisualPartwithin itsIViewer, i.e. manipulates the viewport translation so that the part is visible.TheReverseUndoCompositeOperationis anAbstractCompositeOperationwhich undoes its combined operations in the reverse order of their execution.ASetRefreshVisualOperationis used to set/unset theIVisualPart.isRefreshVisual()flag of a specifiedIVisualPart.AnITransactionalOperationto change the transform of anITransformableContentPart.TheTransformVisualOperationcan be used to change anAffine, for example, one that is contained within the transformations list of aNodeto transform thatNode.