org.eclipse.emf.emfstore.internal.client.ui.handlers
Class UpdateProjectHandler

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.core.commands.AbstractHandler
          extended by org.eclipse.emf.emfstore.internal.client.ui.handlers.AbstractEMFStoreHandlerWithResult<Object>
              extended by org.eclipse.emf.emfstore.internal.client.ui.handlers.AbstractEMFStoreHandler
                  extended by org.eclipse.emf.emfstore.internal.client.ui.handlers.UpdateProjectHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

public class UpdateProjectHandler
extends AbstractEMFStoreHandler

Updates a ProjectSpace to the most recent version (HEAD).
It is assumed that the user previously has selected a ProjectSpace instance.
Alternatively, you may pass in the project space to be updated via a constructor.

Author:
ovonwesen, emueller

Constructor Summary
UpdateProjectHandler()
          Default constructor.
UpdateProjectHandler(ProjectSpace projectSpace)
          Constructor.
 
Method Summary
 void handle()
          Executes the handler.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.client.ui.handlers.AbstractEMFStoreHandler
handleWithResult
 
Methods inherited from class org.eclipse.emf.emfstore.internal.client.ui.handlers.AbstractEMFStoreHandlerWithResult
execute, getShell, requireSelection
 
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, isEnabled, isHandled, removeHandlerListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateProjectHandler

public UpdateProjectHandler()
Default constructor.


UpdateProjectHandler

public UpdateProjectHandler(ProjectSpace projectSpace)
Constructor.

Parameters:
projectSpace - the ProjectSpace to be updated
Method Detail

handle

public void handle()
Executes the handler.

Specified by:
handle in class AbstractEMFStoreHandler
See Also:
AbstractEMFStoreHandler.handle()


Copyright © 2015. All Rights Reserved.