org.eclipse.emf.emfstore.internal.client.importexport
Class ExportImportControllerExecutor

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.client.importexport.ExportImportControllerExecutor

public class ExportImportControllerExecutor
extends Object

Generic export/import controller whose main responsibility it is to actually execute an IExportImportController.

Author:
emueller

Constructor Summary
ExportImportControllerExecutor(File file, org.eclipse.core.runtime.IProgressMonitor monitor)
          Constructor.
 
Method Summary
 void execute(IExportImportController controller)
          Executes the given IExportImportController.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportImportControllerExecutor

public ExportImportControllerExecutor(File file,
                                      org.eclipse.core.runtime.IProgressMonitor monitor)
Constructor.

Parameters:
file - the file that should be exported/imported
monitor - a ProgressMonitor to inform about the progress of the export/import process
Method Detail

execute

public void execute(IExportImportController controller)
             throws IOException
Executes the given IExportImportController.

Parameters:
controller - the controller to be executed
Throws:
IOException - in case an error occurs during export/import


Copyright © 2015. All Rights Reserved.