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

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

public class UICreateRemoteProjectController
extends AbstractEMFStoreUIController<ESRemoteProject>

UI controller for creating a remote project.

Author:
emueller

Constructor Summary
UICreateRemoteProjectController(org.eclipse.swt.widgets.Shell shell, ESUsersession session)
          Constructor.
UICreateRemoteProjectController(org.eclipse.swt.widgets.Shell shell, ESUsersession session, String projectName)
          Constructor.
 
Method Summary
 ESRemoteProject 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

UICreateRemoteProjectController

public UICreateRemoteProjectController(org.eclipse.swt.widgets.Shell shell,
                                       ESUsersession session)
Constructor.

Parameters:
shell - the parent Shell to be used during the creation of the remote project
session - the session to be used to create the project

UICreateRemoteProjectController

public UICreateRemoteProjectController(org.eclipse.swt.widgets.Shell shell,
                                       ESUsersession session,
                                       String projectName)
Constructor.

Parameters:
shell - the parent Shell to be used during the creation of the remote project
session - the session to be used to create the project
projectName - the name of the project to be created
Method Detail

doRun

public ESRemoteProject doRun(org.eclipse.core.runtime.IProgressMonitor monitor)
                      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<ESRemoteProject>
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
See Also:
MonitoredEMFStoreAction.doRun(org.eclipse.core.runtime.IProgressMonitor)


Copyright © 2015. All Rights Reserved.