|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.internal.client.model.connectionmanager.ServerCall<Void>
org.eclipse.emf.emfstore.internal.client.importexport.impl.ExportProjectHistoryController
public class ExportProjectHistoryController
Controller class for exporting a ProjectHistory.
| Constructor Summary | |
|---|---|
ExportProjectHistoryController(ProjectInfo projectInfo)
Constructor. |
|
| Method Summary | |
|---|---|
void |
execute(File file,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
Executes the controller. |
String |
getFilename()
Returns the file name that is used for export/import. |
String[] |
getFilteredExtensions()
Returns an array of extensions that should be filtered in the export/import dialog. |
String[] |
getFilteredNames()
Returns an array of names that should be filtered in the export/import dialog. |
String |
getLabel()
The label that should be shown while exporting/importing. |
String |
getParentFolderPropertyKey()
Returns the key that is used to cache the last location of the export/import performed. |
boolean |
isExport()
Whether this controller is an export controller. |
| Methods inherited from class org.eclipse.emf.emfstore.internal.client.model.connectionmanager.ServerCall |
|---|
createAPI, execute, getProgressMonitor, getProjectSpace, getServer, getUsersession, run, setProgressMonitor, setServer, setSessionId, setUsersession, toAPI |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExportProjectHistoryController(ProjectInfo projectInfo)
projectInfo - the project info containing the history to be exported| Method Detail |
|---|
public String getLabel()
getLabel in interface IExportImportControllerIExportImportController.getLabel()public String[] getFilteredNames()
getFilteredNames in interface IExportImportControllerIExportImportController.getFilteredNames()public String[] getFilteredExtensions()
getFilteredExtensions in interface IExportImportControllerIExportImportController.getFilteredExtensions()public String getParentFolderPropertyKey()
getParentFolderPropertyKey in interface IExportImportControllerIExportImportController.getParentFolderPropertyKey()
public void execute(File file,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
throws IOException
execute in interface IExportImportControllerfile - the File that is either exported to or importedprogressMonitor - an IProgressMonitor that is used to inform about the progress
of the export/import process
IOException - in case an error occurs during export/importIExportImportController.execute(java.io.File,
org.eclipse.core.runtime.IProgressMonitor)public String getFilename()
getFilename in interface IExportImportControllerIExportImportController.getFilename()public boolean isExport()
isExport in interface IExportImportControllerT,
otherwise this controller imports an entity of type TIExportImportController.isExport()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||