public abstract class ALcyFormat extends Object
This class provides the basic support facilities for adding another data format to Lucy. It defines factory methods, some abstract, some with a default implementation, that clients are supposed to implement for their specific data format. For instance there is a factory method for the model decoder and layer factory.
The createAll
method calls all the factory methods and checks whether the created
objects follow the documented rules. After this method has been called, all the created objects
can be retrieved with the appropriate getters.
None of the implementations of the factory methods are expected to register the created
objects with the Lucy backend. For that you are advised to use the TLcyFormatTool
.
You are encouraged to only implement the core functionality of your format into a subclass of
this ALcyFormat
, and use one or more ALcyFormatWrapper
wrappers to
enable common functionality. For instance, the TLcyAsynchronousFormatWrapper
can
enable asynchronous painting for a certain ALcyFormat
by wrapping that format.
You are discouraged to subclass this class directly, rather use one of the more specific
extensions such as ALcyGeneralFormat
.
ALcyFormatWrapper
,
TLcyFormatTool
Modifier | Constructor and Description |
---|---|
protected |
ALcyFormat()
Creates a new
ALcyFormat . |
Modifier and Type | Method and Description |
---|---|
void |
createAll()
Creates all the instances of the concepts of this class by calling all the abstract factory
methods, and performs some validity checks on the created values.
|
protected abstract ILcyAsynchronousPaintHintProvider |
createAsynchronousPaintHintProvider()
Creates a
ILcyAsynchronousPaintHintProvider for this format. |
protected ILcdBalloonContentProvider[] |
createBalloonContentProviders()
Creates the
ILcdBalloonContentProvider s for this format. |
protected ILcyCustomizerPanelFactory[] |
createDataPropertyValueCustomizerPanelFactories()
Creates the
ILcyCustomizerPanelFactory factories that can create
ILcyCustomizerPanel instances to change the value of a single
data property of the domain objects created by the model decoders of this format. |
protected String[][] |
createDataSourceHandlerFileTypeDescriptorGroups()
Creates file type descriptor groups for all decoders.
|
protected ALcyFileTypeDescriptor[] |
createDataSourceHandlerFileTypeDescriptors()
Creates the
ALcyFileTypeDescriptor instances corresponding to the
ALcyFileTypeDescriptor instances created by this format. |
protected ALcyDataSourceHandler[] |
createDataSourceHandlers()
Creates
ALcyDataSourceHandler (s) that are more general
than ALcyFileTypeDescriptor s. |
protected ALcyDefaultModelDescriptorFactory[] |
createDefaultModelDescriptorFactories()
Creates the
ALcyDefaultModelDescriptorFactory s for this data format. |
protected ILcyCustomizerPanelFactory[] |
createDomainObjectCustomizerPanelFactories()
Creates the
ILcyCustomizerPanelFactory factories that can create
ILcyCustomizerPanel instances for the domain objects created by the model decoders
of this format. |
protected ALcyWorkspaceObjectCodec[] |
createDomainObjectCustomizerPanelWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec codecs for the
ILcyCustomizerPanel instances for the domain objects created by the model
decoders of this format. |
protected ALcyWorkspaceObjectCodec[] |
createDomainObjectWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec that can encode and decode the
ILcyCustomizerPanel instances for the domain objects produced by the model decoders
of this format. |
protected ALcyFormatBarFactory |
createFormatBarFactory()
Creates the
ALcyFormatBarFactory that can create a bar to manipulate layers
of this format. |
protected ILcyCustomizerPanelFactory[] |
createGXYLayerCustomizerPanelFactories()
Creates the
ILcyCustomizerPanelFactory factories that can create
ILcyCustomizerPanel instances for the layers created by the layer factories of
this format. |
protected ALcyWorkspaceObjectCodec[] |
createGXYLayerCustomizerPanelWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec codecs for the
ILcyCustomizerPanel instances for the layers created by the layer factories of this
format. |
protected ALcyFileTypeDescriptor[] |
createGXYLayerDecoderFileTypeDescriptors()
Creates
ALcyFileTypeDescriptor s for the ILcdGXYLayerDecoder s. |
protected ILcdGXYLayerDecoder[] |
createGXYLayerDecoders()
Creates the
ILcdGXYLayerDecoder decoders that can decode layers for models
created by the model decoders of this format. |
protected ALcyFileTypeDescriptor[] |
createGXYLayerEncoderFileTypeDescriptors()
Creates
ALcyFileTypeDescriptor s for the ILcdGXYLayerEncoder s. |
protected ILcdGXYLayerEncoder[] |
createGXYLayerEncoders()
Creates the
ILcdGXYLayerEncoder encoders for the layers created by the layer
factories of this format. |
protected abstract ILcdGXYLayerFactory |
createGXYLayerFactory()
Creates a
ILcdGXYLayerFactory for this format. |
ILcdFilter |
createGXYLayerOfFormatFilter()
Utility method to create a
ILcdFilter that only accepts
ILcdGXYLayer s that are accepted by isGXYLayerOfFormat(com.luciad.view.gxy.ILcdGXYLayer) . |
protected ALcyLayerSelectionTransferHandler[] |
createGXYLayerSelectionTransferHandlers()
Creates the
ALcyLayerSelectionTransferHandler transfer handlers that can
transfer the selection of the 2D layers created by the layer factories of this format. |
protected ILcyLayerStyleProvider |
createGXYLayerStyleProvider()
Creates the style provider that can retrieve and encode the style of the layers created by the
layer factory of this format.
|
protected abstract ILcyGXYLayerTypeProvider |
createGXYLayerTypeProvider()
Creates an
ILcyGXYLayerTypeProvider for this format. |
protected ALcyWorkspaceObjectCodec[] |
createGXYLayerWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec codecs that can encode and decode the
layers created by the layer factories of this format. |
protected ILcyGXYLabelPlacementHintProvider |
createLabelPlacementHintProvider()
Creates the
ILcyLabelPlacementHintProvider that can create a
TLcyGXYLabelPlacementHint for layers of this format. |
ILcdFilter |
createLayerContextOfFormatFilter(boolean aAcceptArrays)
Utility method to create a
ILcdFilter that only accepts TLcyLayerContext s
whose layers are accepted by isGXYLayerOfFormat(com.luciad.view.gxy.ILcdGXYLayer) . |
protected ILcdLayerHeightProviderFactory |
createLayerHeightProviderFactory()
Creates the
ILcdLayerHeightProviderFactory that can create an
ILcdHeightProvider for this format. |
protected ILcdLayerMeasureProviderFactory |
createLayerMeasureProviderFactory()
Creates the
ILcdLayerMeasureProviderFactory for this format. |
protected abstract ILcyModelContentTypeProvider |
createModelContentTypeProvider()
Creates an
ILcyModelContentTypeProvider for this format. |
ILcdFilter |
createModelContextOfFormatFilter()
Utility method to create a
ILcdFilter that only accepts TLcyModelContext s
whose model is accepted by isModelOfFormat(com.luciad.model.ILcdModel) . |
protected ILcyCustomizerPanelFactory[] |
createModelCustomizerPanelFactories()
Creates the
ILcyCustomizerPanelFactory (s) that can create
ILcyCustomizerPanel instances to customize the models
produced by the model decoders and model factories of this format. |
protected ALcyWorkspaceObjectCodec[] |
createModelCustomizerPanelWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec that can encode and decode the
ILcyCustomizerPanel instances for the models produced by this format. |
protected String[][] |
createModelDecoderFileTypeDescriptorGroups()
Creates file type descriptor groups for all decoders.
|
protected abstract ALcyFileTypeDescriptor[] |
createModelDecoderFileTypeDescriptors()
Creates the
ALcyFileTypeDescriptor instances corresponding to the
ILcdModelDecoder instances created by this format. |
protected abstract ILcdModelDecoder[] |
createModelDecoders()
Creates the
ILcdModelDecoder decoders for this data format. |
protected ILcyCustomizerPanelFactory[] |
createModelEncoderCustomizerPanelFactories()
Creates the
ILcyCustomizerPanelFactory instances for the
ILcdModelEncoder instances created by this class. |
protected ALcyWorkspaceObjectCodec[] |
createModelEncoderCustomizerPanelWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec codecs for the
ILcyCustomizerPanel that customize the model encoder
instances created by this class. |
protected ALcyFileTypeDescriptor[] |
createModelEncoderFileTypeDescriptors()
Creates the array of
ALcyFileTypeDescriptor instances for the
ILcdModelEncoder instances created by this format. |
protected ILcdModelEncoder[] |
createModelEncoders()
Creates the model encoders for this data format.
|
protected ILcdModelFactory |
createModelFactory()
Creates the
ILcdModelFactory for this data format. |
protected ILcdModelHeightProviderFactory |
createModelHeightProviderFactory()
Creates the
ILcdModelHeightProviderFactory that can create an
ILcdHeightProvider for this format. |
protected ILcdModelMeasureProviderFactory |
createModelMeasureProviderFactory()
Creates the
ILcdModelMeasureProviderFactory for this format. |
protected ILcyCustomizerPanelFactory[] |
createModelMetaDataCustomizerPanelFactories()
Creates the
ILcyCustomizerPanelFactory (s) that can create
ILcyCustomizerPanel instances to customize the meta data of the models
produced by the model decoders and model factories of this format. |
protected ALcyWorkspaceObjectCodec[] |
createModelMetaDataCustomizerPanelWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec codecs that can encode and decode the
ILcyCustomizerPanel instances used to customize the meta data of the
models produced by this format. |
ILcdFilter |
createModelOfFormatFilter()
Utility method to create a
ILcdFilter that only accepts ILcdModel s
that are accepted by isModelOfFormat(com.luciad.model.ILcdModel) . |
protected ALcyWorkspaceObjectCodec[] |
createModelWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec codecs that can encode and decode the
ILcdModel instances produces by the model decoders of this format. |
ILcyAsynchronousPaintHintProvider |
getAsynchronousPaintHintProvider()
Returns the
ILcyAsynchronousPaintHintProvider providing the
TLcyAsynchronousPaintHint for the layers created by the layer factories of this
format. |
ILcdBalloonContentProvider[] |
getBalloonContentProviders()
Returns the
ILcdBalloonContentProvider s created by this format. |
ILcyCustomizerPanelFactory[] |
getDataPropertyValueCustomizerPanelFactories()
Creates the
ILcyCustomizerPanelFactory factories that can create
ILcyCustomizerPanel instances to change the value of a single
data property of the domain objects created by the model decoders of this format. |
String[][] |
getDataSourceHandlerFileTypeDescriptorGroups()
Returns the ID's of the groups for the
ALcyFileTypeDescriptor instances of the
ALcyFileTypeDescriptor instances created by this format. |
ALcyFileTypeDescriptor[] |
getDataSourceHandlerFileTypeDescriptors()
Returns the array of
ALcyFileTypeDescriptor instances created by this format
for data source handlers. |
ALcyDataSourceHandler[] |
getDataSourceHandlers()
Returns the array of
ALcyDataSourceHandler instances created by this format. |
ALcyDefaultModelDescriptorFactory[] |
getDefaultModelDescriptorFactories()
Returns the array of
ALcyDefaultModelDescriptorFactory instances created by this
format. |
ILcyCustomizerPanelFactory[] |
getDomainObjectCustomizerPanelFactories()
Returns the
ILcyCustomizerPanelFactory factories created by this format that
can create ILcyCustomizerPanel instances for the domain objects produced by the
model decoders of this format. |
ALcyWorkspaceObjectCodec[] |
getDomainObjectCustomizerPanelWorkspaceCodecs()
Returns the
ALcyWorkspaceObjectCodec codecs for the
ILcyCustomizerPanel instances that customize the domain objects produced by the model decoders
of this format. |
ALcyWorkspaceObjectCodec[] |
getDomainObjectWorkspaceCodecs()
Returns the array of
ALcyWorkspaceObjectCodec codecs created by this format
that can encode the domain objects produced by this format. |
ALcyFormatBarFactory |
getFormatBarFactory()
Returns the
ALcyFormatBarFactory that can create a bar to manipulate layers
of this format. |
ILcyCustomizerPanelFactory[] |
getGXYLayerCustomizerPanelFactories()
Returns the
ILcyCustomizerPanelFactory s that can create
ILcyCustomizerPanel instances for the layers created by the layer factories of
this format. |
ALcyWorkspaceObjectCodec[] |
getGXYLayerCustomizerPanelWorkspaceCodecs()
Returns the
ALcyWorkspaceObjectCodec codecs for the
ILcyCustomizerPanel instances that customizer the layers created by the layer factories
of this format. |
ALcyFileTypeDescriptor[] |
getGXYLayerDecoderFileTypeDescriptors()
Returns the
ALcyFileTypeDescriptor descriptors describing the file types of the
ILcdGXYLayerDecoder instances created by this format. |
ILcdGXYLayerDecoder[] |
getGXYLayerDecoders()
Returns the
ILcdGXYLayerDecoder decoders created by this format. |
ALcyFileTypeDescriptor[] |
getGXYLayerEncoderFileTypeDescriptors()
Returns the
ALcyFileTypeDescriptor descriptors describing the files for the
ILcdGXYLayerEncoder encoders created by this format. |
ILcdGXYLayerEncoder[] |
getGXYLayerEncoders()
Returns the
ILcdGXYLayerEncoder encoders that can encode the layers created by
the layer factories of this format. |
ILcdGXYLayerFactory |
getGXYLayerFactory()
Returns the
ILcdGXYLayerFactory created by this format. |
ALcyLayerSelectionTransferHandler[] |
getGXYLayerSelectionTransferHandlers()
Returns the
ALcyLayerSelectionTransferHandler transfer handlers that can
transfer the selection of the 2D layers created by the layer factories of this format. |
ILcyLayerStyleProvider |
getGXYLayerStyleProvider()
Returns the
ILcdLayerStyleProvider created by this format. |
ILcyGXYLayerTypeProvider |
getGXYLayerTypeProvider()
Returns the
ILcyGXYLayerTypeProvider created by this format. |
ALcyWorkspaceObjectCodec[] |
getGXYLayerWorkspaceCodecs()
Returns the
ALcyWorkspaceObjectCodec codecs that can encode and decode the
layers created by the layer factories of this format. |
ILcyGXYLabelPlacementHintProvider |
getLabelPlacementHintProvider()
Returns the
ILcyLabelPlacementHintProvider that can create a
TLcyGXYLabelPlacementHint for a layer of this format. |
ILcdLayerHeightProviderFactory |
getLayerHeightProviderFactory()
Returns the
ILcdLayerHeightProviderFactory that can create an
ILcdHeightProvider for this format. |
ILcdLayerMeasureProviderFactory |
getLayerMeasureProviderFactory()
Returns the
ILcdLayerMeasureProviderFactory created by this format. |
abstract String |
getLongPrefix()
Returns the long prefix of this format that can be used, for instance, to derive UID's.
|
abstract ILcyLucyEnv |
getLucyEnv()
Returns the
ILcyLucyEnv backend with which this ALcyFormat is
associated. |
ILcyModelContentTypeProvider |
getModelContentTypeProvider()
Returns the
ILcyModelContentTypeProvider created by this format. |
ILcyCustomizerPanelFactory[] |
getModelCustomizerPanelFactories()
Returns the
ILcyCustomizerPanelFactory factories created by this format that
can create ILcyCustomizerPanel instances for the models produced by the model
decoders and model factories of this format. |
ALcyWorkspaceObjectCodec[] |
getModelCustomizerPanelWorkspaceCodecs()
Returns the array of
ALcyWorkspaceObjectCodec codecs created by this format that
can encode ILcdCustomizerPanel instances produced by this format. |
String[][] |
getModelDecoderFileTypeDescriptorGroups()
Returns the ID's of the groups for the
ALcyFileTypeDescriptor instances of the
ILcdModelDecoder instances created by this format. |
ALcyFileTypeDescriptor[] |
getModelDecoderFileTypeDescriptors()
Returns the array of
ALcyFileTypeDescriptor instances created by this format. |
ILcdModelDecoder[] |
getModelDecoders()
Returns the array of
ILcdModelDecoder instances created by this format. |
ILcyCustomizerPanelFactory[] |
getModelEncoderCustomizerPanelFactories()
Returns the array of
ILcyCustomizerPanelFactory factories created by this
format. |
ALcyWorkspaceObjectCodec[] |
getModelEncoderCustomizerPanelWorkspaceCodecs()
Returns the
ALcyWorkspaceObjectCodec codecs for the
ILcyCustomizerPanel instances that customize the model encoders
of this format. |
ALcyFileTypeDescriptor[] |
getModelEncoderFileTypeDescriptors()
Returns the array of
ALcyFileTypeDescriptor instances created by this format. |
ILcdModelEncoder[] |
getModelEncoders()
Returns the array
ILcdModelEncoder instances created by this format. |
ILcdModelFactory |
getModelFactory()
Returns the
ILcdModelFactory created by this format. |
ILcdModelHeightProviderFactory |
getModelHeightProviderFactory()
Returns the
ILcdModelHeightProviderFactory that can create an
ILcdHeightProvider for this format. |
ILcdModelMeasureProviderFactory |
getModelMeasureProviderFactory()
Returns the
ILcdModelMeasureProviderFactory created by this format. |
ILcyCustomizerPanelFactory[] |
getModelMetaDataCustomizerPanelFactories()
Returns the
ILcyCustomizerPanelFactory factories created by this format that
can create ILcyCustomizerPanel instances to customize the meta data for the models
produced by the model decoders and model factories of this format. |
ALcyWorkspaceObjectCodec[] |
getModelMetaDataCustomizerPanelWorkspaceCodecs()
Returns the
ALcyWorkspaceObjectCodec codecs for the
ILcyCustomizerPanel instances that customize the meta data for the models created
by this class. |
ALcyWorkspaceObjectCodec[] |
getModelWorkspaceCodecs()
Returns the array of
ALcyWorkspaceObjectCodec codecs created by this format
that can encode the state of the ILcdModel instances produced by this format. |
abstract String |
getShortPrefix()
Returns the short prefix of this format that can be used, for instance, to derive keys for a
ALcyProperties instance. |
boolean |
isGXYLayerOfFormat(ILcdGXYLayer aGXYLayer)
Returns
true if and only if the given layer is a layer of the current data
format. |
abstract boolean |
isModelOfFormat(ILcdModel aModel)
Returns true if and only if the given model is a model of the current data format.
|
String |
toString() |
public abstract ILcyLucyEnv getLucyEnv()
Returns the ILcyLucyEnv
backend with which this ALcyFormat
is
associated.
ILcyLucyEnv
backend. Must not be null
.public abstract String getLongPrefix()
Returns the long prefix of this format that can be used, for instance, to derive UID's. Typically this would be the fully qualified name of the addon.
null
.public abstract String getShortPrefix()
Returns the short prefix of this format that can be used, for instance, to derive keys for a
ALcyProperties
instance. This would typically be the short classname of the
addon.
null
.public void createAll()
Creates all the instances of the concepts of this class by calling all the abstract factory
methods, and performs some validity checks on the created values. All created instances can
later on be retrieved by calling the appropriate get<Concept>
methods.
public final ILcdBalloonContentProvider[] getBalloonContentProviders()
Returns the ILcdBalloonContentProvider
s created by this format. Should only be
called after createAll()
has been called.
ILcdBalloonContentProvider
s created by this formatpublic final ILcyModelContentTypeProvider getModelContentTypeProvider()
Returns the ILcyModelContentTypeProvider
created by this format. Should only be
called after createAll()
has been called.
ILcyModelContentTypeProvider
created by this format.createModelContentTypeProvider()
public final ILcdModelFactory getModelFactory()
Returns the ILcdModelFactory
created by this format. Should only be called
after createAll()
has been called.
ILcdModelFactory
created by this format.createModelFactory()
public final ALcyDefaultModelDescriptorFactory[] getDefaultModelDescriptorFactories()
Returns the array of ALcyDefaultModelDescriptorFactory
instances created by this
format. Should only be called after createAll()
has been called.
ALcyDefaultModelDescriptorFactory
s created by this format.createDefaultModelDescriptorFactories()
public final ILcdModelDecoder[] getModelDecoders()
Returns the array of ILcdModelDecoder
instances created by this format. Should
only be called after createAll()
has been called.
ILcdModelDecoder
s created by this format.createModelDecoders()
public final ALcyFileTypeDescriptor[] getModelDecoderFileTypeDescriptors()
Returns the array of ALcyFileTypeDescriptor
instances created by this format.
Should only be called after createAll()
has been called.
ALcyFileTypeDescriptor
instances.createModelDecoderFileTypeDescriptors()
,
getModelDecoders()
public final String[][] getModelDecoderFileTypeDescriptorGroups()
Returns the ID's of the groups for the ALcyFileTypeDescriptor
instances of the
ILcdModelDecoder
instances created by this format. Should only be called after
createAll()
has been called.
ALcyFileTypeDescriptor
instances.createModelDecoderFileTypeDescriptorGroups()
,
getModelDecoderFileTypeDescriptors()
public final ILcdModelEncoder[] getModelEncoders()
Returns the array ILcdModelEncoder
instances created by this format. Should
only be called after createAll()
has been called.
ILcdModelEncoder
instances.public final ALcyFileTypeDescriptor[] getModelEncoderFileTypeDescriptors()
Returns the array of ALcyFileTypeDescriptor
instances created by this format.
Should only be called after createAll()
has been called.
ALcyFileTypeDescriptor
instances corresponding to the created
ILcdModelEncoder
instances.createModelEncoderFileTypeDescriptors()
,
getModelEncoders()
public final ILcyCustomizerPanelFactory[] getModelEncoderCustomizerPanelFactories()
Returns the array of ILcyCustomizerPanelFactory
factories created by this
format. Should only be called after createAll()
has been called.
The created ILcyCustomizerPanel
s should work with instances of TLcyModelEncoderContext
in their
setObject
method.
ILcyCustomizerPanelFactory
factories.createModelEncoderCustomizerPanelFactories()
public final ALcyWorkspaceObjectCodec[] getModelEncoderCustomizerPanelWorkspaceCodecs()
Returns the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
instances that customize the model encoders
of this format. Should only be called after createAll()
has been called.
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
public final ALcyWorkspaceObjectCodec[] getModelWorkspaceCodecs()
Returns the array of ALcyWorkspaceObjectCodec
codecs created by this format
that can encode the state of the ILcdModel
instances produced by this format.
Should only be called after createAll()
has been called.
ALcyWorkspaceObjectCodec
instances.createModelWorkspaceCodecs()
public final ALcyWorkspaceObjectCodec[] getDomainObjectWorkspaceCodecs()
Returns the array of ALcyWorkspaceObjectCodec
codecs created by this format
that can encode the domain objects produced by this format. Should only be called after createAll()
has been called.
ALcyWorkspaceObjectCodec
instances.createDomainObjectWorkspaceCodecs()
public final ALcyWorkspaceObjectCodec[] getModelCustomizerPanelWorkspaceCodecs()
Returns the array of ALcyWorkspaceObjectCodec
codecs created by this format that
can encode ILcdCustomizerPanel
instances produced by this format. Should only be called after createAll()
has been called.
ALcyWorkspaceObjectCodec
instances.createDomainObjectWorkspaceCodecs()
public final ILcyCustomizerPanelFactory[] getModelCustomizerPanelFactories()
Returns the ILcyCustomizerPanelFactory
factories created by this format that
can create ILcyCustomizerPanel
instances for the models produced by the model
decoders and model factories of this format. Should only be called after createAll()
has been called.
The created ILcyCustomizerPanel
s should work with instances of TLcyModelContext
in their setObject
method.
ILcyCustomizerPanelFactory
factories.createModelCustomizerPanelFactories()
public final ILcyCustomizerPanelFactory[] getModelMetaDataCustomizerPanelFactories()
Returns the ILcyCustomizerPanelFactory
factories created by this format that
can create ILcyCustomizerPanel
instances to customize the meta data for the models
produced by the model decoders and model factories of this format. Should only be called after
createAll()
has been called.
The created ILcyCustomizerPanel
s should work with instances of TLcyModelMetaDataContext
in their
setObject
method.
ILcyCustomizerPanelFactory
factories.createModelMetaDataCustomizerPanelFactories()
public final ALcyWorkspaceObjectCodec[] getModelMetaDataCustomizerPanelWorkspaceCodecs()
Returns the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
instances that customize the meta data for the models created
by this class. Should only be called after createAll()
has been called.
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
public final ILcyCustomizerPanelFactory[] getDomainObjectCustomizerPanelFactories()
Returns the ILcyCustomizerPanelFactory
factories created by this format that
can create ILcyCustomizerPanel
instances for the domain objects produced by the
model decoders of this format. Should only be called after createAll()
has been
called.
The created ILcyCustomizerPanel
s should work with instances of TLcyDomainObjectContext
in their
setObject
method.
ILcyCustomizerPanelFactory
factories.createDomainObjectCustomizerPanelFactories()
public final ALcyWorkspaceObjectCodec[] getDomainObjectCustomizerPanelWorkspaceCodecs()
Returns the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
instances that customize the domain objects produced by the model decoders
of this format. Should only be called after createAll()
has been called.
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
public final ILcyGXYLayerTypeProvider getGXYLayerTypeProvider()
Returns the ILcyGXYLayerTypeProvider
created by this format. Should only be
called after createAll()
has been called.
ILcyGXYLayerTypeProvider
.createGXYLayerTypeProvider()
public final ILcdGXYLayerFactory getGXYLayerFactory()
Returns the ILcdGXYLayerFactory
created by this format. Should only be called
after createAll()
has been called.
ILcdGXYLayerFactory
.createGXYLayerFactory()
public final ILcyLayerStyleProvider getGXYLayerStyleProvider()
Returns the ILcdLayerStyleProvider
created by this format. Should only be called
after createAll()
has been called.
ILcyLayerStyleProvider
.createGXYLayerStyleProvider()
public final ILcdGXYLayerDecoder[] getGXYLayerDecoders()
Returns the ILcdGXYLayerDecoder
decoders created by this format. Should only be
called after createAll()
has been called.
ILcdGXYLayerDecoder
decoders.createGXYLayerDecoders()
public final ALcyFileTypeDescriptor[] getGXYLayerDecoderFileTypeDescriptors()
Returns the ALcyFileTypeDescriptor
descriptors describing the file types of the
ILcdGXYLayerDecoder
instances created by this format. Should only be called after
createAll()
has been called.
ALcyFileTypeDescriptor
descriptors.createGXYLayerDecoderFileTypeDescriptors()
public final ILcdGXYLayerEncoder[] getGXYLayerEncoders()
Returns the ILcdGXYLayerEncoder
encoders that can encode the layers created by
the layer factories of this format. Should only be called after createAll()
has been
called.
ILcdGXYLayerEncoder
encoders.createGXYLayerEncoders()
public final ALcyFileTypeDescriptor[] getGXYLayerEncoderFileTypeDescriptors()
Returns the ALcyFileTypeDescriptor
descriptors describing the files for the
ILcdGXYLayerEncoder
encoders created by this format. Should only be called after
createAll()
has been called.
ALcyFileTypeDescriptor
descriptors.createGXYLayerEncoderFileTypeDescriptors()
public final ILcyAsynchronousPaintHintProvider getAsynchronousPaintHintProvider()
Returns the ILcyAsynchronousPaintHintProvider
providing the
TLcyAsynchronousPaintHint
for the layers created by the layer factories of this
format. Should only be called after createAll()
has been called.
ILcyAsynchronousPaintHintProvider
.createAsynchronousPaintHintProvider()
public final ALcyWorkspaceObjectCodec[] getGXYLayerWorkspaceCodecs()
Returns the ALcyWorkspaceObjectCodec
codecs that can encode and decode the
layers created by the layer factories of this format. Should only be called after createAll()
has been called.
ALcyWorkspaceObjectCodec
codecs.createGXYLayerWorkspaceCodecs()
public final ILcyCustomizerPanelFactory[] getGXYLayerCustomizerPanelFactories()
Returns the ILcyCustomizerPanelFactory
s that can create
ILcyCustomizerPanel
instances for the layers created by the layer factories of
this format. Should only be called after createAll()
has been called.
The created ILcyCustomizerPanel
s should work with instances of TLcyLayerContext
in their
setObject
method.
ILcyCustomizerPanelFactory
s.createGXYLayerCustomizerPanelFactories()
public final ALcyWorkspaceObjectCodec[] getGXYLayerCustomizerPanelWorkspaceCodecs()
Returns the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
instances that customizer the layers created by the layer factories
of this format. Should only be called after createAll()
has been called.
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
public final ALcyLayerSelectionTransferHandler[] getGXYLayerSelectionTransferHandlers()
Returns the ALcyLayerSelectionTransferHandler
transfer handlers that can
transfer the selection of the 2D layers created by the layer factories of this format. Should only
be called after createAll()
has been called.
ALcyLayerSelectionTransferHandler
transfer handlers.createGXYLayerSelectionTransferHandlers()
public final ALcyFormatBarFactory getFormatBarFactory()
Returns the ALcyFormatBarFactory
that can create a bar to manipulate layers
of this format. Should only be called after createAll()
has been called.
ALcyFormatBarFactory
.createFormatBarFactory()
public final ILcdLayerHeightProviderFactory getLayerHeightProviderFactory()
Returns the ILcdLayerHeightProviderFactory
that can create an
ILcdHeightProvider
for this format. Should only be called after
createAll()
has been called.
ILcdLayerHeightProviderFactory
createLayerHeightProviderFactory()
public final ILcdModelHeightProviderFactory getModelHeightProviderFactory()
Returns the ILcdModelHeightProviderFactory
that can create an
ILcdHeightProvider
for this format. Should only be called after
createAll()
has been called.
ILcdModelHeightProviderFactory
createModelHeightProviderFactory()
public final ILcyGXYLabelPlacementHintProvider getLabelPlacementHintProvider()
ILcyLabelPlacementHintProvider
that can create a
TLcyGXYLabelPlacementHint
for a layer of this format. Should only
be called after createAll()
has been called.ILcyLabelPlacementHintProvider
.createLabelPlacementHintProvider()
protected ILcdModelMeasureProviderFactory createModelMeasureProviderFactory()
Creates the ILcdModelMeasureProviderFactory
for this format.
The default implementation returns null
.
ILcdModelMeasureProviderFactory
for this format. Can be null
.getModelMeasureProviderFactory()
public final ILcdModelMeasureProviderFactory getModelMeasureProviderFactory()
ILcdModelMeasureProviderFactory
created by this format. Should only be
called after createAll()
has been called.ILcdModelMeasureProviderFactory
created by this format.createModelMeasureProviderFactory()
protected ILcdLayerMeasureProviderFactory createLayerMeasureProviderFactory()
Creates the ILcdLayerMeasureProviderFactory
for this format.
The default implementation returns null
.
ILcdLayerMeasureProviderFactory
for this format. Can be null
.getLayerMeasureProviderFactory()
public final ILcdLayerMeasureProviderFactory getLayerMeasureProviderFactory()
ILcdLayerMeasureProviderFactory
created by this format. Should only be
called after createAll()
has been called.ILcdLayerMeasureProviderFactory
created by this format.createLayerMeasureProviderFactory()
public abstract boolean isModelOfFormat(ILcdModel aModel)
aModel
- The model to check.true
if and only if the given model is a model of the current data
format.protected abstract ILcyModelContentTypeProvider createModelContentTypeProvider()
Creates an ILcyModelContentTypeProvider
for this format.
ILcyModelContentTypeProvider
for this data format. May be
null
.TLcySafeGuardFormatWrapper
protected ILcdBalloonContentProvider[] createBalloonContentProviders()
Creates the ILcdBalloonContentProvider
s for this format.
The default implementation returns an empty array.
ILcdBalloonContentProvider
s for this format. Must not be
null
. The array may be empty but not contain null
.protected ILcdModelFactory createModelFactory()
Creates the ILcdModelFactory
for this data format. All newly created models of
the add-on are expected to be constructed through this factory.
ILcdModelFactory
for this data format. May be null
.protected ALcyDefaultModelDescriptorFactory[] createDefaultModelDescriptorFactories()
Creates the ALcyDefaultModelDescriptorFactory
s for this data format.
The default implementation returns a zero-length array.
ALcyDefaultModelDescriptorFactory
(or multiple) for this data format.
Must not be null
, but the array may have length 0
.protected abstract ILcdModelDecoder[] createModelDecoders()
Creates the ILcdModelDecoder
decoders for this data format.
It's also the responsibility of this method to make sure that the given lucy environment listens to status events from the decoder. This method should not register the decoder to the lucy env.
Note that TLcdStatusInputStreamFactory
might be useful to implement this
method.
ILcdModelDecoder
(or multiple) for this data format. Must not be
null
, but the array may have length 0
.TLcdStatusInputStreamFactory
protected abstract ALcyFileTypeDescriptor[] createModelDecoderFileTypeDescriptors()
Creates the ALcyFileTypeDescriptor
instances corresponding to the
ILcdModelDecoder
instances created by this format.
ALcyFileTypeDescriptor
instances. Must not be
null
. Its length should be equal to the length of the array created by
createModelDecoders
. It may contain null
.protected String[][] createModelDecoderFileTypeDescriptorGroups()
Creates file type descriptor groups for all decoders. The groups may be empty, but the group count must equal the decoder count.
ALcyFileTypeDescriptor
instances of the ILcdModelDecoder
s. The first dimension must be equal to
the length of the array of ILcdModelDecoder
instances created by this
format. It must not contain null
, but may contain empty arrays.protected ILcdModelEncoder[] createModelEncoders()
Creates the model encoders for this data format. It is the responsibility of this method to ensure that the given lucy environment listens to status events from the encoder. This method should not register the encoder to the lucy env.
Note that TLcdStatusOutputStreamFactory
might be useful to implement this
method.
ILcdModelEncoder
instances. Must not be null
, but
may have length 0
. Must not contain null
.TLcdStatusOutputStreamFactory
protected ALcyFileTypeDescriptor[] createModelEncoderFileTypeDescriptors()
Creates the array of ALcyFileTypeDescriptor
instances for the
ILcdModelEncoder
instances created by this format.
ALcyFileTypeDescriptor
instances. Must not be
null
and its length must be equal to the length of the array of
ILcdModelEncoder
instances created by this format. May contain
null
.createModelEncoders()
protected ILcyCustomizerPanelFactory[] createModelEncoderCustomizerPanelFactories()
Creates the ILcyCustomizerPanelFactory
instances for the
ILcdModelEncoder
instances created by this class.
The created ILcyCustomizerPanel
s should work with instances of TLcyModelEncoderContext
in their
setObject
method.
Hint: When overriding this method, you should also consider overriding createModelEncoderCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createModelEncoderCustomizerPanelWorkspaceCodecs()
Creates the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
that customize the model encoder
instances created by this class.
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createModelWorkspaceCodecs()
Creates the ALcyWorkspaceObjectCodec
codecs that can encode and decode the
ILcdModel
instances produces by the model decoders of this format.
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createDomainObjectWorkspaceCodecs()
Creates the ALcyWorkspaceObjectCodec
that can encode and decode the
ILcyCustomizerPanel
instances for the domain objects produced by the model decoders
of this format.
ALcyWorkspaceObjectCodec
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createModelCustomizerPanelWorkspaceCodecs()
Creates the ALcyWorkspaceObjectCodec
that can encode and decode the
ILcyCustomizerPanel
instances for the models produced by this format.
ALcyWorkspaceObjectCodec
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ILcyCustomizerPanelFactory[] createModelCustomizerPanelFactories()
Creates the ILcyCustomizerPanelFactory
(s) that can create
ILcyCustomizerPanel
instances to customize the models
produced by the model decoders and model factories of this format.
The created ILcyCustomizerPanel
s should work with instances of TLcyModelContext
in their setObject
method.
Hint: When overriding this method, you should also consider overriding createModelCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ILcyCustomizerPanelFactory[] createModelMetaDataCustomizerPanelFactories()
Creates the ILcyCustomizerPanelFactory
(s) that can create
ILcyCustomizerPanel
instances to customize the meta data of the models
produced by the model decoders and model factories of this format.
The created ILcyCustomizerPanel
s should work with instances of TLcyModelMetaDataContext
in their
setObject
method.
Hint: When overriding this method, you should also consider overriding createModelMetaDataCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createModelMetaDataCustomizerPanelWorkspaceCodecs()
Creates the ALcyWorkspaceObjectCodec
codecs that can encode and decode the
ILcyCustomizerPanel
instances used to customize the meta data of the
models produced by this format.
ALcyWorkspaceObjectCodec
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ILcyCustomizerPanelFactory[] createDomainObjectCustomizerPanelFactories()
Creates the ILcyCustomizerPanelFactory
factories that can create
ILcyCustomizerPanel
instances for the domain objects created by the model decoders
of this format.
The created ILcyCustomizerPanel
s should work with instances of TLcyDomainObjectContext
in their
setObject
method.
Hint: When overriding this method, you should also consider overriding createDomainObjectCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createDomainObjectCustomizerPanelWorkspaceCodecs()
Creates the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
instances for the domain objects created by the model
decoders of this format.
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected abstract ILcyGXYLayerTypeProvider createGXYLayerTypeProvider()
Creates an ILcyGXYLayerTypeProvider
for this format.
ILcyGXYLayerTypeProvider
for this data format. May be
null
.TLcySafeGuardFormatWrapper
protected abstract ILcdGXYLayerFactory createGXYLayerFactory()
Creates a ILcdGXYLayerFactory
for this format.
ILcdGXYLayerFactory
for this data format. May be null
.TLcySafeGuardFormatWrapper
protected ILcyLayerStyleProvider createGXYLayerStyleProvider()
null
protected abstract ILcyAsynchronousPaintHintProvider createAsynchronousPaintHintProvider()
Creates a ILcyAsynchronousPaintHintProvider
for this format.
ILcyAsynchronousPaintHintProvider
for the layers created by the layer
factories of this format. May be null
.TLcySafeGuardFormatWrapper
protected ILcdGXYLayerDecoder[] createGXYLayerDecoders()
Creates the ILcdGXYLayerDecoder
decoders that can decode layers for models
created by the model decoders of this format.
The default implementation returns a zero-length array.
It is the responsibility of this method to make sure that the lucy environment listens to status events from the decoder. This method should not register the decoder to the lucy env.
Note that TLcdStatusInputStreamFactory
might be useful to implement this
method.
null
, but may have length
0
. It must not contain null
.TLcySafeGuardFormatWrapper
protected ALcyFileTypeDescriptor[] createGXYLayerDecoderFileTypeDescriptors()
Creates ALcyFileTypeDescriptor
s for the ILcdGXYLayerDecoder
s. The
length of the returned array must be equal to that of createGXYLayerDecoders()
.
An example usage of these ALcyFileTypeDescriptor
instances could be to determine
whether a style file is located next to source file of a layer, and apply that style when
such a layer is created. Most of the default Lucy formats have such a mechanism in place in
their layer factory: they look for a style file with the same name as the source file, but
with an extension as specified by a non-null
ALcyFileTypeDescriptor
.
The default implementation returns a zero-length array.
ALcyFileTypeDescriptor
instances. Must not be null
and its length must be equal to the length of the array of layer decoders created by
this format. May contain null
.protected ILcdGXYLayerEncoder[] createGXYLayerEncoders()
Creates the ILcdGXYLayerEncoder
encoders for the layers created by the layer
factories of this format.
The default implementation returns a zero-length array.
It is the responsibility of this method to make sure that the lucy environment listens to status events from the encoder. This method should not register the encoder to the lucy env.
Note that TLcdStatusOutputStreamFactory
might be useful to implement this
method.
ILcdGXYLayerEncoder
instances. Must not be null
but may have length 0
. Must not contain null
.TLcySafeGuardFormatWrapper
,
TLcdStatusOutputStreamFactory
protected ALcyFileTypeDescriptor[] createGXYLayerEncoderFileTypeDescriptors()
Creates ALcyFileTypeDescriptor
s for the ILcdGXYLayerEncoder
s. The
length of the returned array must be equal to that of createGXYLayerEncoders()
.
An example usage of these ALcyFileTypeDescriptor
instances is the File | Save layer style
action which is available in Lucy. It allows to save the style of a layer to a file ending with
an extension as specified by these ALcyFileTypeDescriptor
s. When no
ALcyFileTypeDescriptor
s are available (or only null
ALcyFileTypeDescriptor
s) it will not be possible to save
the layer style to file.
The default implementation returns a zero-length array.
ALcyFileTypeDescriptor
instances. Must not be null
and its length must be equal to the length of the array of layer encoders created by
this format. May contain null
.createGXYLayerEncoders()
protected ALcyWorkspaceObjectCodec[] createGXYLayerWorkspaceCodecs()
Creates the ALcyWorkspaceObjectCodec
codecs that can encode and decode the
layers created by the layer factories of this format.
The default implementation returns a zero-length array.
ALcyWorkspaceObjectCodec
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ILcyCustomizerPanelFactory[] createGXYLayerCustomizerPanelFactories()
Creates the ILcyCustomizerPanelFactory
factories that can create
ILcyCustomizerPanel
instances for the layers created by the layer factories of
this format.
The created ILcyCustomizerPanel
s should work with instances of TLcyLayerContext
in their
setObject
method.
The default implementation returns a zero-length array.
Hint: When overriding this method, you should also consider overriding createGXYLayerCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createGXYLayerCustomizerPanelWorkspaceCodecs()
Creates the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
instances for the layers created by the layer factories of this
format.
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyLayerSelectionTransferHandler[] createGXYLayerSelectionTransferHandlers()
Creates the ALcyLayerSelectionTransferHandler
transfer handlers that can
transfer the selection of the 2D layers created by the layer factories of this format.
The default implementation returns a zero-length array.
ALcyLayerSelectionTransferHandler
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyFormatBarFactory createFormatBarFactory()
Creates the ALcyFormatBarFactory
that can create a bar to manipulate layers
of this format.
The default implementation returns null
.
ALcyFormatBarFactory
. May be null
.TLcySafeGuardFormatWrapper
protected ILcdLayerHeightProviderFactory createLayerHeightProviderFactory()
Creates the ILcdLayerHeightProviderFactory
that can create an
ILcdHeightProvider
for this format.
The default implementation returns null
.
ILcdLayerHeightProviderFactory
. May be null
.TLcySafeGuardFormatWrapper
protected ILcdModelHeightProviderFactory createModelHeightProviderFactory()
Creates the ILcdModelHeightProviderFactory
that can create an
ILcdHeightProvider
for this format.
The default implementation returns null
.
ILcdModelHeightProviderFactory
. May be null
.TLcySafeGuardFormatWrapper
protected ILcyGXYLabelPlacementHintProvider createLabelPlacementHintProvider()
ILcyLabelPlacementHintProvider
that can create a
TLcyGXYLabelPlacementHint
for layers of this format.
The default implementation returns null
.
ILcyLabelPlacementHintProvider
. May be null
.TLcySafeGuardFormatWrapper
public final ILcdFilter createModelOfFormatFilter()
Utility method to create a ILcdFilter
that only accepts ILcdModel
s
that are accepted by isModelOfFormat(com.luciad.model.ILcdModel)
.
ILcdFilter
. Never null
.public final ILcdFilter createModelContextOfFormatFilter()
Utility method to create a ILcdFilter
that only accepts TLcyModelContext
s
whose model is accepted by isModelOfFormat(com.luciad.model.ILcdModel)
.
ILcdFilter
.public boolean isGXYLayerOfFormat(ILcdGXYLayer aGXYLayer)
Returns true
if and only if the given layer is a layer of the current data
format.
aGXYLayer
- The layer to check.true
if and only if the given layer is a layer of the current data
format.public final ILcdFilter createGXYLayerOfFormatFilter()
Utility method to create a ILcdFilter
that only accepts
ILcdGXYLayer
s that are accepted by isGXYLayerOfFormat(com.luciad.view.gxy.ILcdGXYLayer)
.
ILcdFilter
. Never null
.public final ILcdFilter createLayerContextOfFormatFilter(boolean aAcceptArrays)
Utility method to create a ILcdFilter
that only accepts TLcyLayerContext
s
whose layers are accepted by isGXYLayerOfFormat(com.luciad.view.gxy.ILcdGXYLayer)
.
aAcceptArrays
- if true, the filter will also accept arrays of TLcyLayerContext
ILcdFilter
.protected ALcyDataSourceHandler[] createDataSourceHandlers()
Creates ALcyDataSourceHandler
(s) that are more general
than ALcyFileTypeDescriptor
s.
ALcyDataSourceHandler
instances. Must not be
null
but may have length 0
. Must not contain
null
.protected ALcyFileTypeDescriptor[] createDataSourceHandlerFileTypeDescriptors()
Creates the ALcyFileTypeDescriptor
instances corresponding to the
ALcyFileTypeDescriptor
instances created by this format.
ALcyFileTypeDescriptor
instances. Must not be
null
. Its length should be equal to the length of the array created by
createDataSourceHandlers
. It may contain null
.protected String[][] createDataSourceHandlerFileTypeDescriptorGroups()
Creates file type descriptor groups for all decoders. The groups may be empty, but the group count must equal the decoder count.
ALcyFileTypeDescriptor
instances of the ALcyFileTypeDescriptor
s. The first dimension must be equal to
the length of the array of ALcyFileTypeDescriptor
instances created by this
format. It must not contain null
, but may contain empty arrays.protected ILcyCustomizerPanelFactory[] createDataPropertyValueCustomizerPanelFactories()
Creates the ILcyCustomizerPanelFactory
factories that can create
ILcyCustomizerPanel
instances to change the value of a single
data property of the domain objects created by the model decoders of this format.
These customizer panels can for instance be used in the Table view or the Object properties.
The created ILcyCustomizerPanel
s should work with instances of TLcdDataPropertyValueContext
in their
setObject
method.
The default implementation returns a zero-length array.
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.public final ALcyDataSourceHandler[] getDataSourceHandlers()
Returns the array of ALcyDataSourceHandler
instances created by this format. Should
only be called after createAll()
has been called.
ALcyDataSourceHandler
s created by this format.createDataSourceHandlers()
public final ALcyFileTypeDescriptor[] getDataSourceHandlerFileTypeDescriptors()
Returns the array of ALcyFileTypeDescriptor
instances created by this format
for data source handlers.
Should only be called after createAll()
has been called.
ALcyFileTypeDescriptor
instances for data source handlers.createDataSourceHandlerFileTypeDescriptors()
,
getDataSourceHandlers()
public final String[][] getDataSourceHandlerFileTypeDescriptorGroups()
Returns the ID's of the groups for the ALcyFileTypeDescriptor
instances of the
ALcyFileTypeDescriptor
instances created by this format. Should only be called after
createAll()
has been called.
ALcyFileTypeDescriptor
instances.createDataSourceHandlerFileTypeDescriptorGroups()
,
getDataSourceHandlerFileTypeDescriptors()
public final ILcyCustomizerPanelFactory[] getDataPropertyValueCustomizerPanelFactories()
Creates the ILcyCustomizerPanelFactory
factories that can create
ILcyCustomizerPanel
instances to change the value of a single
data property of the domain objects created by the model decoders of this format.
Should only be called aftercreateAll()
has been called.
ILcyCustomizerPanelFactory
s.createDataPropertyValueCustomizerPanelFactories()