public class FXBendOperation extends AbstractOperation
FXBendOperation can be used to manipulate an FXConnection
in an undo-context.| Constructor and Description |
|---|
FXBendOperation(FXConnection connection)
Constructs a new operation from the given connection.
|
| Modifier and Type | Method and Description |
|---|---|
IStatus |
execute(IProgressMonitor monitor,
IAdaptable info) |
FXConnection |
getConnection() |
java.util.List<IFXAnchor> |
getNewAnchors() |
java.util.List<IFXAnchor> |
getOldAnchors() |
IStatus |
redo(IProgressMonitor monitor,
IAdaptable info) |
void |
setNewAnchors(java.util.List<IFXAnchor> newAnchors) |
java.lang.String |
toString() |
IStatus |
undo(IProgressMonitor monitor,
IAdaptable info) |
addContext, canExecute, canRedo, canUndo, dispose, getContexts, getLabel, hasContext, removeContext, setLabelpublic FXBendOperation(FXConnection connection)
IFXAnchors are initialized based on the connection.connection - The FXConnection which will be modified by this
operation.public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
execute in interface IUndoableOperationexecute in class AbstractOperationExecutionExceptionpublic FXConnection getConnection()
public java.util.List<IFXAnchor> getNewAnchors()
public java.util.List<IFXAnchor> getOldAnchors()
public IStatus redo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
redo in interface IUndoableOperationredo in class AbstractOperationExecutionExceptionpublic void setNewAnchors(java.util.List<IFXAnchor> newAnchors)
public java.lang.String toString()
toString in class AbstractOperationpublic IStatus undo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
undo in interface IUndoableOperationundo in class AbstractOperationExecutionExceptionCopyright (c) 2014 itemis AG and others. All rights reserved.