public class AggregationConfigurator extends AbstractImportEntryConfigurator implements IImportEntryConfigurator, IExportEntryConfigurator
Constructor and Description |
---|
AggregationConfigurator() |
Modifier and Type | Method and Description |
---|---|
void |
configureExport(ImportEntry entry,
IProgressMonitor monitor)
Configure the given export entry any further.
|
void |
configureImport(ImportEntry entry,
IProgressMonitor monitor)
Configure the given import entry any further.
|
ask, getConfigurators
public void configureImport(ImportEntry entry, IProgressMonitor monitor)
IImportEntryConfigurator
ImportModel#addFile(java.io.File, boolean)
after the entry has
been basically setup. It does contain a File
and a pre-configured
TextGridObject
. The TextGridObject has been setup with a content
type and a guessed title field.
If we have found an existing metadata file for the entry, the
import entry's local metadata
field will be non-null
and the metadata will already have
been loaded to the TextGridObject
.
Implementors are expected to check (as quick as possible) whether they are applicable and return immediately if not. If an implementor is applicable it should perform any further operations to pre-configure the object to import etc. This can also include adding other files.
configureImport
in interface IImportEntryConfigurator
entry
- the import entry that can optionally be modified.public void configureExport(ImportEntry entry, IProgressMonitor monitor)
IExportEntryConfigurator
ImportModel#addObject(TextGridObject, IProgressMonitor)
after the
entry has been basically setup. It does contain a File
and a
pre-configured TextGridObject
. The TextGridObject already exists,
and the file has been basically setup with its name, path and extension.
Implementors are expected to check (as quick as possible) whether they are applicable and return immediately if not. If an implementor is applicable it should perform any further operations to pre-configure the entry and the object to export etc. This can also include adding other files.
configureExport
in interface IExportEntryConfigurator
entry
- the import entry that can optionally be modified.