public class AlignmentServiceUndoSupport.DisableCellOperation
extends org.eclipse.core.commands.operations.AbstractOperation
Constructor and Description |
---|
AlignmentServiceUndoSupport.DisableCellOperation(boolean disable,
String mutableCellId,
Cell typeCell)
Create an operation that disables a cell.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
execute(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
org.eclipse.core.runtime.IStatus |
redo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
org.eclipse.core.runtime.IStatus |
undo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
public AlignmentServiceUndoSupport.DisableCellOperation(boolean disable, String mutableCellId, Cell typeCell)
disable
- whether to disable or enable the cellmutableCellId
- the cell to set the prioritytypeCell
- the type cell for which to disable/enable the given
cellpublic org.eclipse.core.runtime.IStatus execute(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
execute
in interface org.eclipse.core.commands.operations.IUndoableOperation
execute
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
AbstractOperation.execute(IProgressMonitor, IAdaptable)
public org.eclipse.core.runtime.IStatus redo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
redo
in interface org.eclipse.core.commands.operations.IUndoableOperation
redo
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
AbstractOperation.redo(IProgressMonitor, IAdaptable)
public org.eclipse.core.runtime.IStatus undo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
undo
in interface org.eclipse.core.commands.operations.IUndoableOperation
undo
in class org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.core.commands.ExecutionException
AbstractOperation.undo(IProgressMonitor, IAdaptable)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a