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

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.ui.controller.UIImportController

public class UIImportController
extends Object

UI controller class for importing

All import calls first open a file selection dialog that enables the user to select the file for import.

Author:
emueller

Constructor Summary
UIImportController(org.eclipse.swt.widgets.Shell shell)
          Constructor.
 
Method Summary
 void importChanges(ProjectSpace projectSpace)
          Imports a set of changes.
 void importProject(String projectName)
          Imports a project.
 void importProjectHistory(ProjectInfo projectInfo)
          Imports a project history.
 void importProjectSpace()
          Imports the given project space.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIImportController

public UIImportController(org.eclipse.swt.widgets.Shell shell)
Constructor.

Parameters:
shell - the parent shell that is used during imports
Method Detail

importProjectHistory

public void importProjectHistory(ProjectInfo projectInfo)
Imports a project history.

Parameters:
projectInfo - the project info instance the imported history should get attached to

importChanges

public void importChanges(ProjectSpace projectSpace)
Imports a set of changes.

Parameters:
projectSpace - the ProjectSpace the imported changes should get attached to

importProject

public void importProject(String projectName)
Imports a project.

Parameters:
projectName - the name that will be assigned to the imported project

importProjectSpace

public void importProjectSpace()
Imports the given project space.



Copyright © 2015. All Rights Reserved.