Class TLcySafeGuardFormatWrapper
Decorator for an ALcyFormat
that safe guards all operations on models and layers to make sure no
invalid models or layers are ever accepted or handled. It relies on the implementation of
isModelOfFormat(com.luciad.model.ILcdModel)
and
isGXYLayerOfFormat(com.luciad.view.gxy.ILcdGXYLayer)
of the given ALcyFormat
to do so.
As a result, implementers of an ALcyFormat
can simplify this type of code:
protected ILcyModelContentTypeProvider createModelContentTypeProvider() {
return new ILcyModelContentTypeProvider() {
public int getModelContentType( ILcdModel aModel ) {
if ( aModel.getModelDescriptor() instanceof TLcdSHPModelDescriptor ) {
return MIXED;
}
else {
return UNKNOWN;
}
}
};
}
to this:
protected ILcyModelContentTypeProvider createModelContentTypeProvider() {
return new ILcyModelContentTypeProvider() {
public int getModelContentType( ILcdModel aModel ) {
return MIXED;
}
};
}
which is easier and less error prone. Similar simplifications apply to all other concepts such as
ILcdGXYLayerFactory
, ILcdGXYLayerEncoder
etc.-
Constructor Summary
ConstructorDescriptionTLcySafeGuardFormatWrapper
(ALcyFormat aFormat) Creates a newTLcySafeGuardFormatWrapper
around the givenALcyFormat
. -
Method Summary
Modifier and TypeMethodDescriptionprotected ILcyAsynchronousPaintHintProvider
Creates aILcyAsynchronousPaintHintProvider
for this format.protected ILcdBalloonContentProvider[]
Creates theILcdBalloonContentProvider
s for this format.protected ILcyCustomizerPanelFactory[]
Creates theILcyCustomizerPanelFactory
factories that can createILcyCustomizerPanel
instances to change the value of a single data property of the domain objects created by the model decoders of this format.protected ALcyDefaultModelDescriptorFactory[]
Creates theALcyDefaultModelDescriptorFactory
s for this data format.protected ILcyCustomizerPanelFactory[]
Creates theILcyCustomizerPanelFactory
factories that can createILcyCustomizerPanel
instances for the domain objects created by the model decoders of this format.protected ALcyWorkspaceObjectCodec[]
Creates theALcyWorkspaceObjectCodec
codecs for theILcyCustomizerPanel
instances for the domain objects created by the model decoders of this format.protected ALcyWorkspaceObjectCodec[]
Creates theALcyWorkspaceObjectCodec
that can encode and decode theILcyCustomizerPanel
instances for the domain objects produced by the model decoders of this format.protected ALcyFormatBarFactory
Creates theALcyFormatBarFactory
that can create a bar to manipulate layers of this format.protected ILcyCustomizerPanelFactory[]
Creates theILcyCustomizerPanelFactory
factories that can createILcyCustomizerPanel
instances for the layers created by the layer factories of this format.protected ALcyWorkspaceObjectCodec[]
Creates theALcyWorkspaceObjectCodec
codecs for theILcyCustomizerPanel
instances for the layers created by the layer factories of this format.protected ILcdGXYLayerDecoder[]
Creates theILcdGXYLayerDecoder
decoders that can decode layers for models created by the model decoders of this format.protected ILcdGXYLayerEncoder[]
Creates theILcdGXYLayerEncoder
encoders for the layers created by the layer factories of this format.protected ILcdGXYLayerFactory
Creates aILcdGXYLayerFactory
for this format.protected ALcyLayerSelectionTransferHandler[]
Creates theALcyLayerSelectionTransferHandler
transfer handlers that can transfer the selection of the 2D layers created by the layer factories of this format.protected ILcyLayerStyleProvider
Creates the style provider that can retrieve and encode the style of the layers created by the layer factory of this format.protected ILcyGXYLayerTypeProvider
Creates anILcyGXYLayerTypeProvider
for this format.protected ALcyWorkspaceObjectCodec[]
Creates theALcyWorkspaceObjectCodec
codecs that can encode and decode the layers created by the layer factories of this format.protected ILcyGXYLabelPlacementHintProvider
Creates theILcyLabelPlacementHintProvider
that can create aTLcyGXYLabelPlacementHint
for layers of this format.protected ILcdLayerHeightProviderFactory
Creates theILcdLayerHeightProviderFactory
that can create anILcdHeightProvider
for this format.protected ILcdLayerMeasureProviderFactory
Creates theILcdLayerMeasureProviderFactory
for this format.Creates anILcyModelContentTypeProvider
for this format.protected ILcyCustomizerPanelFactory[]
Creates theILcyCustomizerPanelFactory
(s) that can createILcyCustomizerPanel
instances to customize the models produced by the model decoders and model factories of this format.protected ALcyWorkspaceObjectCodec[]
Creates theALcyWorkspaceObjectCodec
that can encode and decode theILcyCustomizerPanel
instances for the models produced by this format.protected ILcdModelDecoder[]
Creates theILcdModelDecoder
decoders for this data format.protected ILcyCustomizerPanelFactory[]
Creates theILcyCustomizerPanelFactory
instances for theILcdModelEncoder
instances created by this class.protected ALcyWorkspaceObjectCodec[]
Creates theALcyWorkspaceObjectCodec
codecs for theILcyCustomizerPanel
that customize the model encoder instances created by this class.protected ILcdModelEncoder[]
Creates the model encoders for this data format.protected ILcdModelFactory
Creates theILcdModelFactory
for this data format.protected ILcdModelHeightProviderFactory
Creates theILcdModelHeightProviderFactory
that can create anILcdHeightProvider
for this format.protected ILcdModelMeasureProviderFactory
Creates theILcdModelMeasureProviderFactory
for this format.protected ILcyCustomizerPanelFactory[]
Creates theILcyCustomizerPanelFactory
(s) that can createILcyCustomizerPanel
instances to customize the meta data of the models produced by the model decoders and model factories of this format.protected ALcyWorkspaceObjectCodec[]
Creates theALcyWorkspaceObjectCodec
codecs that can encode and decode theILcyCustomizerPanel
instances used to customize the meta data of the models produced by this format.protected ALcyWorkspaceObjectCodec[]
Creates theALcyWorkspaceObjectCodec
codecs that can encode and decode theILcdModel
instances produces by the model decoders of this format.boolean
isGXYLayerOfFormat
(ILcdGXYLayer aGXYLayer) Returnstrue
if and only if the given layer is a layer of the current data format.boolean
isModelOfFormat
(ILcdModel aModel) Returns true if and only if the given model is a model of the current data format.Methods inherited from class com.luciad.lucy.format.ALcyFormatWrapper
createAll, createDataSourceHandlerFileTypeDescriptorGroups, createDataSourceHandlerFileTypeDescriptors, createDataSourceHandlers, createGXYLayerDecoderFileTypeDescriptors, createGXYLayerEncoderFileTypeDescriptors, createModelDecoderFileTypeDescriptorGroups, createModelDecoderFileTypeDescriptors, createModelEncoderFileTypeDescriptors, getFormat, getLongPrefix, getLucyEnv, getShortPrefix
Methods inherited from class com.luciad.lucy.format.ALcyFormat
createGXYLayerOfFormatFilter, createLayerContextOfFormatFilter, createModelContextOfFormatFilter, createModelOfFormatFilter, getAsynchronousPaintHintProvider, getBalloonContentProviders, getDataPropertyValueCustomizerPanelFactories, getDataSourceHandlerFileTypeDescriptorGroups, getDataSourceHandlerFileTypeDescriptors, getDataSourceHandlers, getDefaultModelDescriptorFactories, getDomainObjectCustomizerPanelFactories, getDomainObjectCustomizerPanelWorkspaceCodecs, getDomainObjectWorkspaceCodecs, getFormatBarFactory, getGXYLayerCustomizerPanelFactories, getGXYLayerCustomizerPanelWorkspaceCodecs, getGXYLayerDecoderFileTypeDescriptors, getGXYLayerDecoders, getGXYLayerEncoderFileTypeDescriptors, getGXYLayerEncoders, getGXYLayerFactory, getGXYLayerSelectionTransferHandlers, getGXYLayerStyleProvider, getGXYLayerTypeProvider, getGXYLayerWorkspaceCodecs, getLabelPlacementHintProvider, getLayerHeightProviderFactory, getLayerMeasureProviderFactory, getModelContentTypeProvider, getModelCustomizerPanelFactories, getModelCustomizerPanelWorkspaceCodecs, getModelDecoderFileTypeDescriptorGroups, getModelDecoderFileTypeDescriptors, getModelDecoders, getModelEncoderCustomizerPanelFactories, getModelEncoderCustomizerPanelWorkspaceCodecs, getModelEncoderFileTypeDescriptors, getModelEncoders, getModelFactory, getModelHeightProviderFactory, getModelMeasureProviderFactory, getModelMetaDataCustomizerPanelFactories, getModelMetaDataCustomizerPanelWorkspaceCodecs, getModelWorkspaceCodecs, toString
-
Constructor Details
-
TLcySafeGuardFormatWrapper
Creates a newTLcySafeGuardFormatWrapper
around the givenALcyFormat
.- Parameters:
aFormat
- The format to wrap.
-
-
Method Details
-
isModelOfFormat
Description copied from class:ALcyFormat
Returns true if and only if the given model is a model of the current data format.- Overrides:
isModelOfFormat
in classALcyFormatWrapper
- Parameters:
aModel
- The model to check.- Returns:
true
if and only if the given model is a model of the current data format.
-
createModelContentTypeProvider
Description copied from class:ALcyFormat
Creates an
ILcyModelContentTypeProvider
for this format.- Overrides:
createModelContentTypeProvider
in classALcyFormatWrapper
- Returns:
- the
ILcyModelContentTypeProvider
for this data format. May benull
. - See Also:
-
createModelFactory
Description copied from class:ALcyFormat
Creates the
ILcdModelFactory
for this data format. All newly created models of the add-on are expected to be constructed through this factory.- Overrides:
createModelFactory
in classALcyFormatWrapper
- Returns:
- The
ILcdModelFactory
for this data format. May benull
.
-
createDefaultModelDescriptorFactories
Description copied from class:ALcyFormat
Creates the
ALcyDefaultModelDescriptorFactory
s for this data format.The default implementation returns a zero-length array.
- Overrides:
createDefaultModelDescriptorFactories
in classALcyFormatWrapper
- Returns:
- The
ALcyDefaultModelDescriptorFactory
(or multiple) for this data format. Must not benull
, but the array may have length0
.
-
createModelDecoders
Description copied from class:ALcyFormat
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.- Overrides:
createModelDecoders
in classALcyFormatWrapper
- Returns:
- The
ILcdModelDecoder
(or multiple) for this data format. Must not benull
, but the array may have length0
. - See Also:
-
createModelEncoders
Description copied from class:ALcyFormat
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.- Overrides:
createModelEncoders
in classALcyFormatWrapper
- Returns:
- An array of
ILcdModelEncoder
instances. Must not benull
, but may have length0
. Must not containnull
. - See Also:
-
createModelEncoderCustomizerPanelFactories
Description copied from class:ALcyFormat
Creates the
ILcyCustomizerPanelFactory
instances for theILcdModelEncoder
instances created by this class.The created
ILcyCustomizerPanel
s should work with instances ofTLcyModelEncoderContext
in theirsetObject
method.Hint: When overriding this method, you should also consider overriding
ALcyFormat.createModelEncoderCustomizerPanelWorkspaceCodecs()
. This is needed if yourILcyCustomizerPanel
s need to store any specific state in the workspace.- Overrides:
createModelEncoderCustomizerPanelFactories
in classALcyFormatWrapper
- Returns:
- An array of
ILcyCustomizerPanelFactory
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createModelEncoderCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormat
Creates the
ALcyWorkspaceObjectCodec
codecs for theILcyCustomizerPanel
that customize the model encoder instances created by this class.- Overrides:
createModelEncoderCustomizerPanelWorkspaceCodecs
in classALcyFormatWrapper
- Returns:
- An array containing the
ALcyWorkspaceObjectCodec
instances. Must not benull
, but may have length0
. Must not containnull
. - See Also:
-
createModelWorkspaceCodecs
Description copied from class:ALcyFormat
Creates the
ALcyWorkspaceObjectCodec
codecs that can encode and decode theILcdModel
instances produces by the model decoders of this format.- Overrides:
createModelWorkspaceCodecs
in classALcyFormatWrapper
- Returns:
- An array containing the
ALcyWorkspaceObjectCodec
instances. Must not benull
, but may have length0
. Must not containnull
. - See Also:
-
createDomainObjectWorkspaceCodecs
Description copied from class:ALcyFormat
Creates the
ALcyWorkspaceObjectCodec
that can encode and decode theILcyCustomizerPanel
instances for the domain objects produced by the model decoders of this format.- Overrides:
createDomainObjectWorkspaceCodecs
in classALcyFormatWrapper
- Returns:
- An array of
ALcyWorkspaceObjectCodec
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createDomainObjectCustomizerPanelFactories
Description copied from class:ALcyFormat
Creates the
ILcyCustomizerPanelFactory
factories that can createILcyCustomizerPanel
instances for the domain objects created by the model decoders of this format.The created
ILcyCustomizerPanel
s should work with instances ofTLcyDomainObjectContext
in theirsetObject
method.Hint: When overriding this method, you should also consider overriding
ALcyFormat.createDomainObjectCustomizerPanelWorkspaceCodecs()
. This is needed if yourILcyCustomizerPanel
s need to store any specific state in the workspace.- Overrides:
createDomainObjectCustomizerPanelFactories
in classALcyFormatWrapper
- Returns:
- An array containing the
ILcyCustomizerPanelFactory
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createDomainObjectCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormat
Creates the
ALcyWorkspaceObjectCodec
codecs for theILcyCustomizerPanel
instances for the domain objects created by the model decoders of this format.- Overrides:
createDomainObjectCustomizerPanelWorkspaceCodecs
in classALcyFormatWrapper
- Returns:
- An array containing the
ALcyWorkspaceObjectCodec
instances. Must not benull
, but may have length0
. Must not containnull
. - See Also:
-
createModelCustomizerPanelFactories
Description copied from class:ALcyFormat
Creates the
ILcyCustomizerPanelFactory
(s) that can createILcyCustomizerPanel
instances to customize the models produced by the model decoders and model factories of this format.The created
ILcyCustomizerPanel
s should work with instances ofTLcyModelContext
in theirsetObject
method.Hint: When overriding this method, you should also consider overriding
ALcyFormat.createModelCustomizerPanelWorkspaceCodecs()
. This is needed if yourILcyCustomizerPanel
s need to store any specific state in the workspace.- Overrides:
createModelCustomizerPanelFactories
in classALcyFormatWrapper
- Returns:
- An array containing the
ILcyCustomizerPanelFactory
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createModelMetaDataCustomizerPanelFactories
Description copied from class:ALcyFormat
Creates the
ILcyCustomizerPanelFactory
(s) that can createILcyCustomizerPanel
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 ofTLcyModelMetaDataContext
in theirsetObject
method.Hint: When overriding this method, you should also consider overriding
ALcyFormat.createModelMetaDataCustomizerPanelWorkspaceCodecs()
. This is needed if yourILcyCustomizerPanel
s need to store any specific state in the workspace.- Overrides:
createModelMetaDataCustomizerPanelFactories
in classALcyFormatWrapper
- Returns:
- An array containing the
ILcyCustomizerPanelFactory
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createModelMetaDataCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormat
Creates the
ALcyWorkspaceObjectCodec
codecs that can encode and decode theILcyCustomizerPanel
instances used to customize the meta data of the models produced by this format.- Overrides:
createModelMetaDataCustomizerPanelWorkspaceCodecs
in classALcyFormatWrapper
- Returns:
- An array of
ALcyWorkspaceObjectCodec
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createGXYLayerTypeProvider
Description copied from class:ALcyFormat
Creates an
ILcyGXYLayerTypeProvider
for this format.- Overrides:
createGXYLayerTypeProvider
in classALcyFormatWrapper
- Returns:
- A
ILcyGXYLayerTypeProvider
for this data format. May benull
. - See Also:
-
createGXYLayerFactory
Description copied from class:ALcyFormat
Creates a
The factory can also configure label algorithms on the created layers.ILcdGXYLayerFactory
for this format.- Overrides:
createGXYLayerFactory
in classALcyFormatWrapper
- Returns:
- the
ILcdGXYLayerFactory
for this data format. May benull
. - See Also:
-
createGXYLayerDecoders
Description copied from class:ALcyFormat
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.- Overrides:
createGXYLayerDecoders
in classALcyFormatWrapper
- Returns:
- An array of layer decoders. It must not be
null
, but may have length0
. It must not containnull
. - See Also:
-
createGXYLayerEncoders
Description copied from class:ALcyFormat
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.- Overrides:
createGXYLayerEncoders
in classALcyFormatWrapper
- Returns:
- An array of
ILcdGXYLayerEncoder
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createAsynchronousPaintHintProvider
Description copied from class:ALcyFormat
Creates a
ILcyAsynchronousPaintHintProvider
for this format.- Overrides:
createAsynchronousPaintHintProvider
in classALcyFormatWrapper
- Returns:
- A
ILcyAsynchronousPaintHintProvider
for the layers created by the layer factories of this format. May benull
. - See Also:
-
createGXYLayerWorkspaceCodecs
Description copied from class:ALcyFormat
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.
- Overrides:
createGXYLayerWorkspaceCodecs
in classALcyFormatWrapper
- Returns:
- An array of
ALcyWorkspaceObjectCodec
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createGXYLayerCustomizerPanelFactories
Description copied from class:ALcyFormat
Creates the
ILcyCustomizerPanelFactory
factories that can createILcyCustomizerPanel
instances for the layers created by the layer factories of this format.The created
ILcyCustomizerPanel
s should work with instances ofTLcyLayerContext
in theirsetObject
method.The default implementation returns a zero-length array.
Hint: When overriding this method, you should also consider overriding
ALcyFormat.createGXYLayerCustomizerPanelWorkspaceCodecs()
. This is needed if yourILcyCustomizerPanel
s need to store any specific state in the workspace.- Overrides:
createGXYLayerCustomizerPanelFactories
in classALcyFormatWrapper
- Returns:
- An array of
ILcyCustomizerPanelFactory
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createGXYLayerCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormat
Creates the
ALcyWorkspaceObjectCodec
codecs for theILcyCustomizerPanel
instances for the layers created by the layer factories of this format.- Overrides:
createGXYLayerCustomizerPanelWorkspaceCodecs
in classALcyFormatWrapper
- Returns:
- An array containing the
ALcyWorkspaceObjectCodec
instances. Must not benull
, but may have length0
. Must not containnull
. - See Also:
-
createModelCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormat
Creates the
ALcyWorkspaceObjectCodec
that can encode and decode theILcyCustomizerPanel
instances for the models produced by this format.- Overrides:
createModelCustomizerPanelWorkspaceCodecs
in classALcyFormatWrapper
- Returns:
- An array of
ALcyWorkspaceObjectCodec
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createGXYLayerSelectionTransferHandlers
Description copied from class:ALcyFormat
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.
- Overrides:
createGXYLayerSelectionTransferHandlers
in classALcyFormatWrapper
- Returns:
- An array of
ALcyLayerSelectionTransferHandler
instances. Must not benull
but may have length0
. Must not containnull
. - See Also:
-
createFormatBarFactory
Description copied from class:ALcyFormat
Creates the
ALcyFormatBarFactory
that can create a bar to manipulate layers of this format.The default implementation returns
null
.- Overrides:
createFormatBarFactory
in classALcyFormatWrapper
- Returns:
- An
ALcyFormatBarFactory
. May benull
. - See Also:
-
createModelHeightProviderFactory
Description copied from class:ALcyFormat
Creates the
ILcdModelHeightProviderFactory
that can create anILcdHeightProvider
for this format.The default implementation returns
null
.- Overrides:
createModelHeightProviderFactory
in classALcyFormatWrapper
- Returns:
- An
ILcdModelHeightProviderFactory
. May benull
. - See Also:
-
createLayerHeightProviderFactory
Description copied from class:ALcyFormat
Creates the
ILcdLayerHeightProviderFactory
that can create anILcdHeightProvider
for this format.The default implementation returns
null
.- Overrides:
createLayerHeightProviderFactory
in classALcyFormatWrapper
- Returns:
- An
ILcdLayerHeightProviderFactory
. May benull
. - See Also:
-
createLabelPlacementHintProvider
Description copied from class:ALcyFormat
Creates theILcyLabelPlacementHintProvider
that can create aTLcyGXYLabelPlacementHint
for layers of this format.The default implementation returns
null
.- Overrides:
createLabelPlacementHintProvider
in classALcyFormatWrapper
- Returns:
- An
ILcyLabelPlacementHintProvider
. May benull
. - See Also:
-
createGXYLayerStyleProvider
Description copied from class:ALcyFormat
Creates the style provider that can retrieve and encode the style of the layers created by the layer factory of this format.- Overrides:
createGXYLayerStyleProvider
in classALcyFormatWrapper
- Returns:
- the style provider to retrieve and encode the style of the layers. May be
null
-
createBalloonContentProviders
Description copied from class:ALcyFormat
Creates the
ILcdBalloonContentProvider
s for this format.The default implementation returns an empty array.
- Overrides:
createBalloonContentProviders
in classALcyFormatWrapper
- Returns:
- the
ILcdBalloonContentProvider
s for this format. Must not benull
. The array may be empty but not containnull
.
-
createModelMeasureProviderFactory
Description copied from class:ALcyFormat
Creates the
ILcdModelMeasureProviderFactory
for this format.The default implementation returns
null
.- Overrides:
createModelMeasureProviderFactory
in classALcyFormatWrapper
- Returns:
- the
ILcdModelMeasureProviderFactory
for this format. Can benull
. - See Also:
-
createLayerMeasureProviderFactory
Description copied from class:ALcyFormat
Creates the
ILcdLayerMeasureProviderFactory
for this format.The default implementation returns
null
.- Overrides:
createLayerMeasureProviderFactory
in classALcyFormatWrapper
- Returns:
- the
ILcdLayerMeasureProviderFactory
for this format. Can benull
. - See Also:
-
createDataPropertyValueCustomizerPanelFactories
Description copied from class:ALcyFormat
Creates the
ILcyCustomizerPanelFactory
factories that can createILcyCustomizerPanel
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 ofTLcdDataPropertyValueContext
in theirsetObject
method.The default implementation returns a zero-length array.
- Overrides:
createDataPropertyValueCustomizerPanelFactories
in classALcyFormatWrapper
- Returns:
- An array of
ILcyCustomizerPanelFactory
instances. Must not benull
but may have length0
. Must not containnull
.
-
isGXYLayerOfFormat
Description copied from class:ALcyFormat
Returns
true
if and only if the given layer is a layer of the current data format.- Overrides:
isGXYLayerOfFormat
in classALcyFormatWrapper
- Parameters:
aGXYLayer
- The layer to check.- Returns:
true
if and only if the given layer is a layer of the current data format.
-