eu.esdihumboldt.hale.ui.service.project.internal
Class AbstractRemoveResourcesOperation
java.lang.Object
org.eclipse.core.commands.operations.AbstractOperation
eu.esdihumboldt.hale.ui.service.project.internal.AbstractRemoveResourcesOperation
- All Implemented Interfaces:
- org.eclipse.core.commands.operations.IUndoableOperation
public abstract class AbstractRemoveResourcesOperation
- extends org.eclipse.core.commands.operations.AbstractOperation
Operation that removes resources from the project.
- Author:
- Kai Schwierczek
Method Summary |
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)
This implementation simply calls execute (thus final). |
org.eclipse.core.runtime.IStatus |
undo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info)
|
Methods inherited from class org.eclipse.core.commands.operations.AbstractOperation |
addContext, canExecute, canRedo, canUndo, dispose, getContexts, getLabel, hasContext, removeContext, setLabel, toString |
AbstractRemoveResourcesOperation
public AbstractRemoveResourcesOperation(String label,
String actionId)
- Create an operation removing all the resources of the specified actionId
- Parameters:
label
- the label to be used for the operationactionId
- the actionId
execute
public org.eclipse.core.runtime.IStatus execute(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info)
throws org.eclipse.core.commands.ExecutionException
- Specified by:
execute
in interface org.eclipse.core.commands.operations.IUndoableOperation
- Specified by:
execute
in class org.eclipse.core.commands.operations.AbstractOperation
- Throws:
org.eclipse.core.commands.ExecutionException
- See Also:
AbstractOperation.execute(org.eclipse.core.runtime.IProgressMonitor,
org.eclipse.core.runtime.IAdaptable)
redo
public final org.eclipse.core.runtime.IStatus redo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info)
throws org.eclipse.core.commands.ExecutionException
- This implementation simply calls execute (thus final).
- Specified by:
redo
in interface org.eclipse.core.commands.operations.IUndoableOperation
- Specified by:
redo
in class org.eclipse.core.commands.operations.AbstractOperation
- Throws:
org.eclipse.core.commands.ExecutionException
- See Also:
AbstractOperation.redo(org.eclipse.core.runtime.IProgressMonitor,
org.eclipse.core.runtime.IAdaptable)
undo
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
- Specified by:
undo
in interface org.eclipse.core.commands.operations.IUndoableOperation
- Specified by:
undo
in class org.eclipse.core.commands.operations.AbstractOperation
- Throws:
org.eclipse.core.commands.ExecutionException
- See Also:
AbstractOperation.undo(org.eclipse.core.runtime.IProgressMonitor,
org.eclipse.core.runtime.IAdaptable)
Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d