org.eclipse.emf.emfstore.internal.client.ui.controller
Class UIUpdateProjectToVersionController

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.ui.common.MonitoredEMFStoreAction<T>
      extended by org.eclipse.emf.emfstore.internal.client.ui.controller.AbstractEMFStoreUIController<ESPrimaryVersionSpec>
          extended by org.eclipse.emf.emfstore.internal.client.ui.controller.UIUpdateProjectToVersionController

public class UIUpdateProjectToVersionController
extends AbstractEMFStoreUIController<ESPrimaryVersionSpec>

UI controller for updating a project to a specific version.

Author:
eneufeld, emueller

Constructor Summary
UIUpdateProjectToVersionController(org.eclipse.swt.widgets.Shell shell, ESLocalProject localProject)
          Constructor.
 
Method Summary
 ESPrimaryVersionSpec doRun(org.eclipse.core.runtime.IProgressMonitor monitor)
          The actual behavior that should be performed when the MonitoredEMFStoreAction.execute() is called.
Must be implemented by clients.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.client.ui.controller.AbstractEMFStoreUIController
confirm, getShell, setShell
 
Methods inherited from class org.eclipse.emf.emfstore.internal.client.ui.common.MonitoredEMFStoreAction
afterRun, execute, executeSub, isForked, preRun
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIUpdateProjectToVersionController

public UIUpdateProjectToVersionController(org.eclipse.swt.widgets.Shell shell,
                                          ESLocalProject localProject)
Constructor.

Parameters:
shell - the parent Shell
localProject - the ESLocalProject that should be updated to a certain version
Method Detail

doRun

public ESPrimaryVersionSpec doRun(org.eclipse.core.runtime.IProgressMonitor monitor)
                           throws ESException
Description copied from class: MonitoredEMFStoreAction
The actual behavior that should be performed when the MonitoredEMFStoreAction.execute() is called.
Must be implemented by clients.

Specified by:
doRun in class MonitoredEMFStoreAction<ESPrimaryVersionSpec>
Parameters:
monitor - 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


Copyright © 2015. All Rights Reserved.