org.eclipse.emf.emfstore.internal.client.ui.controller
Class UIRevertOperationController
java.lang.Object
org.eclipse.emf.emfstore.internal.client.ui.common.MonitoredEMFStoreAction<T>
org.eclipse.emf.emfstore.internal.client.ui.controller.AbstractEMFStoreUIController<Void>
org.eclipse.emf.emfstore.internal.client.ui.controller.UIRevertOperationController
public class UIRevertOperationController
- extends AbstractEMFStoreUIController<Void>
UI controller for reverting any changes upon a ProjectSpace
.
- Author:
- emueller
Method Summary |
Void |
doRun(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
The actual behavior that should be performed when the MonitoredEMFStoreAction.execute() is called.
Must be implemented by clients. |
UIRevertOperationController
public UIRevertOperationController(org.eclipse.swt.widgets.Shell shell,
ESLocalProject localProject)
- Constructor.
- Parameters:
shell
- the parent Shell
to be used during the revert of the
operationslocalProject
- the ProjectSpace
upon which to revert operations
doRun
public Void doRun(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
throws ESException
- The actual behavior that should be performed when the
MonitoredEMFStoreAction.execute()
is called.
Must be implemented by clients.
- Specified by:
doRun
in class MonitoredEMFStoreAction<Void>
- Parameters:
progressMonitor
- the IProgressMonitor
that should be used by clients to
update the status of their progress
- Returns:
- an optional return value
- Throws:
ESException
- in case an error occurs- See Also:
MonitoredEMFStoreAction.doRun(org.eclipse.core.runtime.IProgressMonitor)
Copyright © 2015. All Rights Reserved.