@Deprecated public class SizeWarningConfigurator extends Object implements IImportEntryConfigurator
Modifier and Type | Field and Description |
---|---|
static long |
WARNING_SIZE
Deprecated.
|
Constructor and Description |
---|
SizeWarningConfigurator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
configureImport(ImportEntry entry,
IProgressMonitor monitor)
Deprecated.
Configure the given import entry any further.
|
public static final long WARNING_SIZE
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.