public class ExportProjectSpaceController extends ProjectSpaceBasedExportController
ProjectSpace.| Constructor and Description |
|---|
ExportProjectSpaceController(ProjectSpace projectSpace)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ExportProjectSpaceController(ProjectSpace projectSpace)
projectSpace - the ProjectSpace that should be exportedpublic String[] getFilteredNames()
IExportImportController.getFilteredNames()public String[] getFilteredExtensions()
IExportImportController.getFilteredExtensions()public String getLabel()
IExportImportController.getLabel()public String getFilename()
IExportImportController.getFilename()public String getParentFolderPropertyKey()
IExportImportController.getParentFolderPropertyKey()public void execute(File file, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws IOException
file - the File that is either exported to or importedprogressMonitor - an IProgressMonitor that is used to inform about the progress
of the export/import processIOException - in case an error occurs during export/importIExportImportController.execute(java.io.File,
org.eclipse.core.runtime.IProgressMonitor)public boolean isExport()
T,
otherwise this controller imports an entity of type TIExportImportController.isExport()Copyright © 2017. All rights reserved.