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

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<Void>
          extended by org.eclipse.emf.emfstore.internal.client.ui.controller.UIMergeController

public class UIMergeController
extends AbstractEMFStoreUIController<Void>

UIController used to merge other branches into the current projectspace.

Author:
wesendon

Constructor Summary
UIMergeController(org.eclipse.swt.widgets.Shell shell, ESLocalProject localProject)
          Default constructor.
 
Method Summary
 Void 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

UIMergeController

public UIMergeController(org.eclipse.swt.widgets.Shell shell,
                         ESLocalProject localProject)
Default constructor.

Parameters:
shell - active shell
localProject - the project being merged
Method Detail

doRun

public Void 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<Void>
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.