public class TLcySafeGuardFormatWrapper extends ALcyFormatWrapper
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 and Description |
---|
TLcySafeGuardFormatWrapper(ALcyFormat aFormat)
Creates a new
TLcySafeGuardFormatWrapper around the given ALcyFormat . |
Modifier and Type | Method and Description |
---|---|
protected 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 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 ILcdGXYLayerDecoder[] |
createGXYLayerDecoders()
Creates the
ILcdGXYLayerDecoder decoders that can decode layers for models
created by the model decoders of this format. |
protected ILcdGXYLayerEncoder[] |
createGXYLayerEncoders()
Creates the
ILcdGXYLayerEncoder encoders for the layers created by the layer
factories of this format. |
protected ILcdGXYLayerFactory |
createGXYLayerFactory()
Creates a
ILcdGXYLayerFactory for this format. |
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 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. |
protected ILcdLayerHeightProviderFactory |
createLayerHeightProviderFactory()
Creates the
ILcdLayerHeightProviderFactory that can create an
ILcdHeightProvider for this format. |
protected ILcdLayerMeasureProviderFactory |
createLayerMeasureProviderFactory()
Creates the
ILcdLayerMeasureProviderFactory for this format. |
ILcyModelContentTypeProvider |
createModelContentTypeProvider()
Creates an
ILcyModelContentTypeProvider for this format. |
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 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 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. |
protected ALcyWorkspaceObjectCodec[] |
createModelWorkspaceCodecs()
Creates the
ALcyWorkspaceObjectCodec codecs that can encode and decode the
ILcdModel instances produces by the model decoders of this format. |
boolean |
isGXYLayerOfFormat(ILcdGXYLayer aGXYLayer)
Returns
true 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.
|
createAll, createDataSourceHandlerFileTypeDescriptorGroups, createDataSourceHandlerFileTypeDescriptors, createDataSourceHandlers, createGXYLayerDecoderFileTypeDescriptors, createGXYLayerEncoderFileTypeDescriptors, createModelDecoderFileTypeDescriptorGroups, createModelDecoderFileTypeDescriptors, createModelEncoderFileTypeDescriptors, getFormat, getLongPrefix, getLucyEnv, getShortPrefix
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
public TLcySafeGuardFormatWrapper(ALcyFormat aFormat)
TLcySafeGuardFormatWrapper
around the given ALcyFormat
.aFormat
- The format to wrap.public boolean isModelOfFormat(ILcdModel aModel)
ALcyFormat
isModelOfFormat
in class ALcyFormatWrapper
aModel
- The model to check.true
if and only if the given model is a model of the current data
format.public ILcyModelContentTypeProvider createModelContentTypeProvider()
ALcyFormat
Creates an ILcyModelContentTypeProvider
for this format.
createModelContentTypeProvider
in class ALcyFormatWrapper
ILcyModelContentTypeProvider
for this data format. May be
null
.TLcySafeGuardFormatWrapper
protected ILcdModelFactory createModelFactory()
ALcyFormat
Creates the ILcdModelFactory
for this data format. All newly created models of
the add-on are expected to be constructed through this factory.
createModelFactory
in class ALcyFormatWrapper
ILcdModelFactory
for this data format. May be null
.protected ALcyDefaultModelDescriptorFactory[] createDefaultModelDescriptorFactories()
ALcyFormat
Creates the ALcyDefaultModelDescriptorFactory
s for this data format.
The default implementation returns a zero-length array.
createDefaultModelDescriptorFactories
in class ALcyFormatWrapper
ALcyDefaultModelDescriptorFactory
(or multiple) for this data format.
Must not be null
, but the array may have length 0
.protected ILcdModelDecoder[] createModelDecoders()
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.
createModelDecoders
in class ALcyFormatWrapper
ILcdModelDecoder
(or multiple) for this data format. Must not be
null
, but the array may have length 0
.TLcdStatusInputStreamFactory
protected ILcdModelEncoder[] createModelEncoders()
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.
createModelEncoders
in class ALcyFormatWrapper
ILcdModelEncoder
instances. Must not be null
, but
may have length 0
. Must not contain null
.TLcdStatusOutputStreamFactory
protected ILcyCustomizerPanelFactory[] createModelEncoderCustomizerPanelFactories()
ALcyFormat
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 ALcyFormat.createModelEncoderCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
createModelEncoderCustomizerPanelFactories
in class ALcyFormatWrapper
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createModelEncoderCustomizerPanelWorkspaceCodecs()
ALcyFormat
Creates the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
that customize the model encoder
instances created by this class.
createModelEncoderCustomizerPanelWorkspaceCodecs
in class ALcyFormatWrapper
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createModelWorkspaceCodecs()
ALcyFormat
Creates the ALcyWorkspaceObjectCodec
codecs that can encode and decode the
ILcdModel
instances produces by the model decoders of this format.
createModelWorkspaceCodecs
in class ALcyFormatWrapper
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createDomainObjectWorkspaceCodecs()
ALcyFormat
Creates the ALcyWorkspaceObjectCodec
that can encode and decode the
ILcyCustomizerPanel
instances for the domain objects produced by the model decoders
of this format.
createDomainObjectWorkspaceCodecs
in class ALcyFormatWrapper
ALcyWorkspaceObjectCodec
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ILcyCustomizerPanelFactory[] createDomainObjectCustomizerPanelFactories()
ALcyFormat
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 ALcyFormat.createDomainObjectCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
createDomainObjectCustomizerPanelFactories
in class ALcyFormatWrapper
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createDomainObjectCustomizerPanelWorkspaceCodecs()
ALcyFormat
Creates the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
instances for the domain objects created by the model
decoders of this format.
createDomainObjectCustomizerPanelWorkspaceCodecs
in class ALcyFormatWrapper
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ILcyCustomizerPanelFactory[] createModelCustomizerPanelFactories()
ALcyFormat
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 ALcyFormat.createModelCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
createModelCustomizerPanelFactories
in class ALcyFormatWrapper
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ILcyCustomizerPanelFactory[] createModelMetaDataCustomizerPanelFactories()
ALcyFormat
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 ALcyFormat.createModelMetaDataCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
createModelMetaDataCustomizerPanelFactories
in class ALcyFormatWrapper
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createModelMetaDataCustomizerPanelWorkspaceCodecs()
ALcyFormat
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.
createModelMetaDataCustomizerPanelWorkspaceCodecs
in class ALcyFormatWrapper
ALcyWorkspaceObjectCodec
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ILcyGXYLayerTypeProvider createGXYLayerTypeProvider()
ALcyFormat
Creates an ILcyGXYLayerTypeProvider
for this format.
createGXYLayerTypeProvider
in class ALcyFormatWrapper
ILcyGXYLayerTypeProvider
for this data format. May be
null
.TLcySafeGuardFormatWrapper
protected ILcdGXYLayerFactory createGXYLayerFactory()
ALcyFormat
Creates a ILcdGXYLayerFactory
for this format.
createGXYLayerFactory
in class ALcyFormatWrapper
ILcdGXYLayerFactory
for this data format. May be null
.TLcySafeGuardFormatWrapper
protected ILcdGXYLayerDecoder[] createGXYLayerDecoders()
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.
createGXYLayerDecoders
in class ALcyFormatWrapper
null
, but may have length
0
. It must not contain null
.TLcySafeGuardFormatWrapper
protected ILcdGXYLayerEncoder[] createGXYLayerEncoders()
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.
createGXYLayerEncoders
in class ALcyFormatWrapper
ILcdGXYLayerEncoder
instances. Must not be null
but may have length 0
. Must not contain null
.TLcySafeGuardFormatWrapper
,
TLcdStatusOutputStreamFactory
protected ILcyAsynchronousPaintHintProvider createAsynchronousPaintHintProvider()
ALcyFormat
Creates a ILcyAsynchronousPaintHintProvider
for this format.
createAsynchronousPaintHintProvider
in class ALcyFormatWrapper
ILcyAsynchronousPaintHintProvider
for the layers created by the layer
factories of this format. May be null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createGXYLayerWorkspaceCodecs()
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.
createGXYLayerWorkspaceCodecs
in class ALcyFormatWrapper
ALcyWorkspaceObjectCodec
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ILcyCustomizerPanelFactory[] createGXYLayerCustomizerPanelFactories()
ALcyFormat
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 ALcyFormat.createGXYLayerCustomizerPanelWorkspaceCodecs()
.
This is needed if your ILcyCustomizerPanel
s need to store any specific state in the workspace.
createGXYLayerCustomizerPanelFactories
in class ALcyFormatWrapper
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createGXYLayerCustomizerPanelWorkspaceCodecs()
ALcyFormat
Creates the ALcyWorkspaceObjectCodec
codecs for the
ILcyCustomizerPanel
instances for the layers created by the layer factories of this
format.
createGXYLayerCustomizerPanelWorkspaceCodecs
in class ALcyFormatWrapper
ALcyWorkspaceObjectCodec
instances. Must not be
null
, but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyWorkspaceObjectCodec[] createModelCustomizerPanelWorkspaceCodecs()
ALcyFormat
Creates the ALcyWorkspaceObjectCodec
that can encode and decode the
ILcyCustomizerPanel
instances for the models produced by this format.
createModelCustomizerPanelWorkspaceCodecs
in class ALcyFormatWrapper
ALcyWorkspaceObjectCodec
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyLayerSelectionTransferHandler[] createGXYLayerSelectionTransferHandlers()
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.
createGXYLayerSelectionTransferHandlers
in class ALcyFormatWrapper
ALcyLayerSelectionTransferHandler
instances. Must not be
null
but may have length 0
. Must not contain
null
.TLcySafeGuardFormatWrapper
protected ALcyFormatBarFactory createFormatBarFactory()
ALcyFormat
Creates the ALcyFormatBarFactory
that can create a bar to manipulate layers
of this format.
The default implementation returns null
.
createFormatBarFactory
in class ALcyFormatWrapper
ALcyFormatBarFactory
. May be null
.TLcySafeGuardFormatWrapper
protected ILcdModelHeightProviderFactory createModelHeightProviderFactory()
ALcyFormat
Creates the ILcdModelHeightProviderFactory
that can create an
ILcdHeightProvider
for this format.
The default implementation returns null
.
createModelHeightProviderFactory
in class ALcyFormatWrapper
ILcdModelHeightProviderFactory
. May be null
.TLcySafeGuardFormatWrapper
protected ILcdLayerHeightProviderFactory createLayerHeightProviderFactory()
ALcyFormat
Creates the ILcdLayerHeightProviderFactory
that can create an
ILcdHeightProvider
for this format.
The default implementation returns null
.
createLayerHeightProviderFactory
in class ALcyFormatWrapper
ILcdLayerHeightProviderFactory
. May be null
.TLcySafeGuardFormatWrapper
protected ILcyGXYLabelPlacementHintProvider createLabelPlacementHintProvider()
ALcyFormat
ILcyLabelPlacementHintProvider
that can create a
TLcyGXYLabelPlacementHint
for layers of this format.
The default implementation returns null
.
createLabelPlacementHintProvider
in class ALcyFormatWrapper
ILcyLabelPlacementHintProvider
. May be null
.TLcySafeGuardFormatWrapper
protected ILcyLayerStyleProvider createGXYLayerStyleProvider()
ALcyFormat
createGXYLayerStyleProvider
in class ALcyFormatWrapper
null
protected ILcdBalloonContentProvider[] createBalloonContentProviders()
ALcyFormat
Creates the ILcdBalloonContentProvider
s for this format.
The default implementation returns an empty array.
createBalloonContentProviders
in class ALcyFormatWrapper
ILcdBalloonContentProvider
s for this format. Must not be
null
. The array may be empty but not contain null
.protected ILcdModelMeasureProviderFactory createModelMeasureProviderFactory()
ALcyFormat
Creates the ILcdModelMeasureProviderFactory
for this format.
The default implementation returns null
.
createModelMeasureProviderFactory
in class ALcyFormatWrapper
ILcdModelMeasureProviderFactory
for this format. Can be null
.ALcyFormat.getModelMeasureProviderFactory()
protected ILcdLayerMeasureProviderFactory createLayerMeasureProviderFactory()
ALcyFormat
Creates the ILcdLayerMeasureProviderFactory
for this format.
The default implementation returns null
.
createLayerMeasureProviderFactory
in class ALcyFormatWrapper
ILcdLayerMeasureProviderFactory
for this format. Can be null
.ALcyFormat.getLayerMeasureProviderFactory()
protected ILcyCustomizerPanelFactory[] createDataPropertyValueCustomizerPanelFactories()
ALcyFormat
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.
createDataPropertyValueCustomizerPanelFactories
in class ALcyFormatWrapper
ILcyCustomizerPanelFactory
instances. Must not be
null
but may have length 0
. Must not contain
null
.public boolean isGXYLayerOfFormat(ILcdGXYLayer aGXYLayer)
ALcyFormat
Returns true
if and only if the given layer is a layer of the current data
format.
isGXYLayerOfFormat
in class ALcyFormatWrapper
aGXYLayer
- The layer to check.true
if and only if the given layer is a layer of the current data
format.