Interface ExportService
Deprecated.
An export service. All registered export services will appear
as choices in the "Export" menu of the program. This interface is deprecated since
it will later be replaced by a complete menu management system.
And now it has a replacement: MTExportService
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates an empty configuration.Deprecated.Returns a longer description of the export service.getTitle()
Deprecated.Returns a short name describing the export service.void
run
(ExportConfig config, File output, ProgressCallback progress) Deprecated.Performs the export.void
showExportDialog
(JFrame parent, ExportConfig profile) Deprecated.Show a GUI to help the user edit the profile and start an export.
-
Method Details
-
getTitle
String getTitle()Deprecated.Returns a short name describing the export service.- Returns:
- a short name describing the export service.
-
getDescription
String getDescription()Deprecated.Returns a longer description of the export service.- Returns:
- a longer description of the export service.
-
createConfig
ExportConfig createConfig()Deprecated.Creates an empty configuration.- Returns:
- An empty export configuration.
-
showExportDialog
Deprecated.Show a GUI to help the user edit the profile and start an export. This will only be called when running in UI mode, the implementing class is reponsible for actually starting the export, either by calling its own run method or in some other way.- Parameters:
parent
- The parent frame of the export dialog to show.profile
- The profile.
-
run
Deprecated.Performs the export. This will be called when running the export in CLI mode, without first calling showExportDialog().- Parameters:
config
- The profile.output
- The file to export to.progress
- A callback to use to give updates about progress.
-