public class ChangeHoverOperation<VR> extends AbstractOperation
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_LABEL
"change-hover"
The default label for this operation (i.e. used if no label is
specified).
|
| Constructor and Description |
|---|
ChangeHoverOperation(IViewer<VR> viewer,
IVisualPart<VR,? extends VR> newHovered) |
ChangeHoverOperation(IViewer<VR> viewer,
IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered) |
ChangeHoverOperation(java.lang.String label,
IViewer<VR> viewer,
IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered) |
| Modifier and Type | Method and Description |
|---|---|
IStatus |
execute(IProgressMonitor monitor,
IAdaptable info) |
IStatus |
redo(IProgressMonitor monitor,
IAdaptable info) |
IStatus |
undo(IProgressMonitor monitor,
IAdaptable info) |
addContext, canExecute, canRedo, canUndo, dispose, getContexts, getLabel, hasContext, removeContext, setLabel, toStringpublic static final java.lang.String DEFAULT_LABEL
"change-hover"The default label for this operation (i.e. used if no label is specified).
public ChangeHoverOperation(IViewer<VR> viewer, IVisualPart<VR,? extends VR> newHovered)
public ChangeHoverOperation(IViewer<VR> viewer, IVisualPart<VR,? extends VR> oldHovered, IVisualPart<VR,? extends VR> newHovered)
public ChangeHoverOperation(java.lang.String label,
IViewer<VR> viewer,
IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered)
public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
execute in interface IUndoableOperationexecute in class AbstractOperationExecutionExceptionpublic IStatus redo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
redo in interface IUndoableOperationredo in class AbstractOperationExecutionExceptionpublic IStatus undo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException
undo in interface IUndoableOperationundo in class AbstractOperationExecutionExceptionCopyright (c) 2014 itemis AG and others. All rights reserved.