Class ALcyFormatWrapper
- Direct Known Subclasses:
TLcyAsynchronousFormatWrapper,TLcyDrawingFormat,TLcyGXYAsynchronousLayerTreeNodeFormatWrapper,TLcyGXYLayerTreeNodeFormatWrapper,TLcyGXYLayerTreeNodeFormatWrapper2,TLcyGXYLspAsynchronousLayerTreeNodeFormatWrapper,TLcyModelListToTreeNodeFormatWrapper,TLcyMutableFileFormatWrapper,TLcySafeGuardFormatWrapper,TLcyTransformingModelFormatWrapper
Convenience class to wrap an ALcyFormat: one only has to overwrite those
methods that are required. This is also known as the decorator design pattern.
Note that wrapping an abstract class can be cumbersome because methods might be
added to the abstract class in a newer version of the API. The advantage of extending from this
ALcyFormatWrapper is that if methods are ever added to ALcyFormat,
they will also be added here.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedALcyFormatWrapper(ALcyFormat aFormat) Creates a wrapper for the specifiedALcyFormat. -
Method Summary
Modifier and TypeMethodDescriptionvoidCreates 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 ILcyAsynchronousPaintHintProviderCreates aILcyAsynchronousPaintHintProviderfor this format.protected ILcdBalloonContentProvider[]Creates theILcdBalloonContentProviders for this format.protected ILcyCustomizerPanelFactory[]Creates theILcyCustomizerPanelFactoryfactories that can createILcyCustomizerPanelinstances to change the value of a single data property of the domain objects created by the model decoders of this format.protected String[][]Creates file type descriptor groups for all decoders.protected ALcyFileTypeDescriptor[]Creates theALcyFileTypeDescriptorinstances corresponding to theALcyFileTypeDescriptorinstances created by this format.protected ALcyDataSourceHandler[]CreatesALcyDataSourceHandler(s) that are more general thanALcyFileTypeDescriptors.protected ALcyDefaultModelDescriptorFactory[]Creates theALcyDefaultModelDescriptorFactorys for this data format.protected ILcyCustomizerPanelFactory[]Creates theILcyCustomizerPanelFactoryfactories that can createILcyCustomizerPanelinstances for the domain objects created by the model decoders of this format.protected ALcyWorkspaceObjectCodec[]Creates theALcyWorkspaceObjectCodeccodecs for theILcyCustomizerPanelinstances for the domain objects created by the model decoders of this format.protected ALcyWorkspaceObjectCodec[]Creates theALcyWorkspaceObjectCodecthat can encode and decode theILcyCustomizerPanelinstances for the domain objects produced by the model decoders of this format.protected ALcyFormatBarFactoryCreates theALcyFormatBarFactorythat can create a bar to manipulate layers of this format.protected ILcyCustomizerPanelFactory[]Creates theILcyCustomizerPanelFactoryfactories that can createILcyCustomizerPanelinstances for the layers created by the layer factories of this format.protected ALcyWorkspaceObjectCodec[]Creates theALcyWorkspaceObjectCodeccodecs for theILcyCustomizerPanelinstances for the layers created by the layer factories of this format.protected ALcyFileTypeDescriptor[]CreatesALcyFileTypeDescriptors for theILcdGXYLayerDecoders.protected ILcdGXYLayerDecoder[]Creates theILcdGXYLayerDecoderdecoders that can decode layers for models created by the model decoders of this format.protected ALcyFileTypeDescriptor[]CreatesALcyFileTypeDescriptors for theILcdGXYLayerEncoders.protected ILcdGXYLayerEncoder[]Creates theILcdGXYLayerEncoderencoders for the layers created by the layer factories of this format.protected ILcdGXYLayerFactoryCreates aILcdGXYLayerFactoryfor this format.protected ALcyLayerSelectionTransferHandler[]Creates theALcyLayerSelectionTransferHandlertransfer handlers that can transfer the selection of the 2D layers created by the layer factories of this format.protected ILcyLayerStyleProviderCreates the style provider that can retrieve and encode the style of the layers created by the layer factory of this format.protected ILcyGXYLayerTypeProviderCreates anILcyGXYLayerTypeProviderfor this format.protected ALcyWorkspaceObjectCodec[]Creates theALcyWorkspaceObjectCodeccodecs that can encode and decode the layers created by the layer factories of this format.protected ILcyGXYLabelPlacementHintProviderCreates theILcyLabelPlacementHintProviderthat can create aTLcyGXYLabelPlacementHintfor layers of this format.protected ILcdLayerHeightProviderFactoryCreates theILcdLayerHeightProviderFactorythat can create anILcdHeightProviderfor this format.protected ILcdLayerMeasureProviderFactoryCreates theILcdLayerMeasureProviderFactoryfor this format.protected ILcyModelContentTypeProviderCreates anILcyModelContentTypeProviderfor this format.protected ILcyCustomizerPanelFactory[]Creates theILcyCustomizerPanelFactory(s) that can createILcyCustomizerPanelinstances to customize the models produced by the model decoders and model factories of this format.protected ALcyWorkspaceObjectCodec[]Creates theALcyWorkspaceObjectCodecthat can encode and decode theILcyCustomizerPanelinstances for the models produced by this format.protected String[][]Creates file type descriptor groups for all decoders.protected ALcyFileTypeDescriptor[]Creates theALcyFileTypeDescriptorinstances corresponding to theILcdModelDecoderinstances created by this format.protected ILcdModelDecoder[]Creates theILcdModelDecoderdecoders for this data format.protected ILcyCustomizerPanelFactory[]Creates theILcyCustomizerPanelFactoryinstances for theILcdModelEncoderinstances created by this class.protected ALcyWorkspaceObjectCodec[]Creates theALcyWorkspaceObjectCodeccodecs for theILcyCustomizerPanelthat customize the model encoder instances created by this class.protected ALcyFileTypeDescriptor[]Creates the array ofALcyFileTypeDescriptorinstances for theILcdModelEncoderinstances created by this format.protected ILcdModelEncoder[]Creates the model encoders for this data format.protected ILcdModelFactoryCreates theILcdModelFactoryfor this data format.protected ILcdModelHeightProviderFactoryCreates theILcdModelHeightProviderFactorythat can create anILcdHeightProviderfor this format.protected ILcdModelMeasureProviderFactoryCreates theILcdModelMeasureProviderFactoryfor this format.protected ILcyCustomizerPanelFactory[]Creates theILcyCustomizerPanelFactory(s) that can createILcyCustomizerPanelinstances to customize the meta data of the models produced by the model decoders and model factories of this format.protected ALcyWorkspaceObjectCodec[]Creates theALcyWorkspaceObjectCodeccodecs that can encode and decode theILcyCustomizerPanelinstances used to customize the meta data of the models produced by this format.protected ALcyWorkspaceObjectCodec[]Creates theALcyWorkspaceObjectCodeccodecs that can encode and decode theILcdModelinstances produces by the model decoders of this format.Returns the wrappedALcyFormat.Returns the long prefix of this format that can be used, for instance, to derive UID's.Returns theILcyLucyEnvbackend with which thisALcyFormatis associated.Returns the short prefix of this format that can be used, for instance, to derive keys for aALcyPropertiesinstance.booleanisGXYLayerOfFormat(ILcdGXYLayer aGXYLayer) Returnstrueif and only if the given layer is a layer of the current data format.booleanisModelOfFormat(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.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
-
ALcyFormatWrapper
Creates a wrapper for the specified
ALcyFormat.- Parameters:
aFormat- TheALcyFormatto decorate. Must not benull.
-
-
Method Details
-
getFormat
Returns the wrapped
ALcyFormat.- Returns:
- The wrapped
ALcyFormat. Nevernull.
-
getLucyEnv
Description copied from class:ALcyFormatReturns the
ILcyLucyEnvbackend with which thisALcyFormatis associated.- Specified by:
getLucyEnvin classALcyFormat- Returns:
- The
ILcyLucyEnvbackend. Must not benull.
-
getLongPrefix
Description copied from class:ALcyFormatReturns 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.
- Specified by:
getLongPrefixin classALcyFormat- Returns:
- The long prefix that can be used to generate UID's. Must not be
null.
-
getShortPrefix
Description copied from class:ALcyFormatReturns the short prefix of this format that can be used, for instance, to derive keys for a
ALcyPropertiesinstance. This would typically be the short classname of the addon.- Specified by:
getShortPrefixin classALcyFormat- Returns:
- The short prefix of this format. Must not be
null.
-
createAll
public void createAll()Description copied from class:ALcyFormatCreates 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.- Overrides:
createAllin classALcyFormat
-
isModelOfFormat
Description copied from class:ALcyFormatReturns true if and only if the given model is a model of the current data format.- Specified by:
isModelOfFormatin classALcyFormat- Parameters:
aModel- The model to check.- Returns:
trueif and only if the given model is a model of the current data format.
-
createModelContentTypeProvider
Description copied from class:ALcyFormatCreates an
ILcyModelContentTypeProviderfor this format.- Specified by:
createModelContentTypeProviderin classALcyFormat- Returns:
- the
ILcyModelContentTypeProviderfor this data format. May benull. - See Also:
-
createModelFactory
Description copied from class:ALcyFormatCreates the
ILcdModelFactoryfor this data format. All newly created models of the add-on are expected to be constructed through this factory.- Overrides:
createModelFactoryin classALcyFormat- Returns:
- The
ILcdModelFactoryfor this data format. May benull.
-
createDefaultModelDescriptorFactories
Description copied from class:ALcyFormatCreates the
ALcyDefaultModelDescriptorFactorys for this data format.The default implementation returns a zero-length array.
- Overrides:
createDefaultModelDescriptorFactoriesin classALcyFormat- Returns:
- The
ALcyDefaultModelDescriptorFactory(or multiple) for this data format. Must not benull, but the array may have length0.
-
createModelDecoders
Description copied from class:ALcyFormatCreates the
ILcdModelDecoderdecoders 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
TLcdStatusInputStreamFactorymight be useful to implement this method.- Specified by:
createModelDecodersin classALcyFormat- Returns:
- The
ILcdModelDecoder(or multiple) for this data format. Must not benull, but the array may have length0. - See Also:
-
createModelDecoderFileTypeDescriptors
Description copied from class:ALcyFormatCreates the
ALcyFileTypeDescriptorinstances corresponding to theILcdModelDecoderinstances created by this format.- Specified by:
createModelDecoderFileTypeDescriptorsin classALcyFormat- Returns:
- The array of
ALcyFileTypeDescriptorinstances. Must not benull. Its length should be equal to the length of the array created bycreateModelDecoders. It may containnull.
-
createModelDecoderFileTypeDescriptorGroups
Description copied from class:ALcyFormatCreates file type descriptor groups for all decoders. The groups may be empty, but the group count must equal the decoder count.
- Overrides:
createModelDecoderFileTypeDescriptorGroupsin classALcyFormat- Returns:
- A two-dimensional array containing the groups for the
ALcyFileTypeDescriptorinstances of theILcdModelDecoders. The first dimension must be equal to the length of the array ofILcdModelDecoderinstances created by this format. It must not containnull, but may contain empty arrays.
-
createModelEncoders
Description copied from class:ALcyFormatCreates 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
TLcdStatusOutputStreamFactorymight be useful to implement this method.- Overrides:
createModelEncodersin classALcyFormat- Returns:
- An array of
ILcdModelEncoderinstances. Must not benull, but may have length0. Must not containnull. - See Also:
-
createModelEncoderFileTypeDescriptors
Description copied from class:ALcyFormatCreates the array of
ALcyFileTypeDescriptorinstances for theILcdModelEncoderinstances created by this format.- Overrides:
createModelEncoderFileTypeDescriptorsin classALcyFormat- Returns:
- The array of
ALcyFileTypeDescriptorinstances. Must not benulland its length must be equal to the length of the array ofILcdModelEncoderinstances created by this format. May containnull. - See Also:
-
createModelEncoderCustomizerPanelFactories
Description copied from class:ALcyFormatCreates the
ILcyCustomizerPanelFactoryinstances for theILcdModelEncoderinstances created by this class.The created
ILcyCustomizerPanels should work with instances ofTLcyModelEncoderContextin theirsetObjectmethod.Hint: When overriding this method, you should also consider overriding
ALcyFormat.createModelEncoderCustomizerPanelWorkspaceCodecs(). This is needed if yourILcyCustomizerPanels need to store any specific state in the workspace.- Overrides:
createModelEncoderCustomizerPanelFactoriesin classALcyFormat- Returns:
- An array of
ILcyCustomizerPanelFactoryinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createModelEncoderCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormatCreates the
ALcyWorkspaceObjectCodeccodecs for theILcyCustomizerPanelthat customize the model encoder instances created by this class.- Overrides:
createModelEncoderCustomizerPanelWorkspaceCodecsin classALcyFormat- Returns:
- An array containing the
ALcyWorkspaceObjectCodecinstances. Must not benull, but may have length0. Must not containnull. - See Also:
-
createModelCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormatCreates the
ALcyWorkspaceObjectCodecthat can encode and decode theILcyCustomizerPanelinstances for the models produced by this format.- Overrides:
createModelCustomizerPanelWorkspaceCodecsin classALcyFormat- Returns:
- An array of
ALcyWorkspaceObjectCodecinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createModelWorkspaceCodecs
Description copied from class:ALcyFormatCreates the
ALcyWorkspaceObjectCodeccodecs that can encode and decode theILcdModelinstances produces by the model decoders of this format.- Overrides:
createModelWorkspaceCodecsin classALcyFormat- Returns:
- An array containing the
ALcyWorkspaceObjectCodecinstances. Must not benull, but may have length0. Must not containnull. - See Also:
-
createDomainObjectWorkspaceCodecs
Description copied from class:ALcyFormatCreates the
ALcyWorkspaceObjectCodecthat can encode and decode theILcyCustomizerPanelinstances for the domain objects produced by the model decoders of this format.- Overrides:
createDomainObjectWorkspaceCodecsin classALcyFormat- Returns:
- An array of
ALcyWorkspaceObjectCodecinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createDomainObjectCustomizerPanelFactories
Description copied from class:ALcyFormatCreates the
ILcyCustomizerPanelFactoryfactories that can createILcyCustomizerPanelinstances for the domain objects created by the model decoders of this format.The created
ILcyCustomizerPanels should work with instances ofTLcyDomainObjectContextin theirsetObjectmethod.Hint: When overriding this method, you should also consider overriding
ALcyFormat.createDomainObjectCustomizerPanelWorkspaceCodecs(). This is needed if yourILcyCustomizerPanels need to store any specific state in the workspace.- Overrides:
createDomainObjectCustomizerPanelFactoriesin classALcyFormat- Returns:
- An array containing the
ILcyCustomizerPanelFactoryinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createModelCustomizerPanelFactories
Description copied from class:ALcyFormatCreates the
ILcyCustomizerPanelFactory(s) that can createILcyCustomizerPanelinstances to customize the models produced by the model decoders and model factories of this format.The created
ILcyCustomizerPanels should work with instances ofTLcyModelContextin theirsetObjectmethod.Hint: When overriding this method, you should also consider overriding
ALcyFormat.createModelCustomizerPanelWorkspaceCodecs(). This is needed if yourILcyCustomizerPanels need to store any specific state in the workspace.- Overrides:
createModelCustomizerPanelFactoriesin classALcyFormat- Returns:
- An array containing the
ILcyCustomizerPanelFactoryinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createModelMetaDataCustomizerPanelFactories
Description copied from class:ALcyFormatCreates the
ILcyCustomizerPanelFactory(s) that can createILcyCustomizerPanelinstances to customize the meta data of the models produced by the model decoders and model factories of this format.The created
ILcyCustomizerPanels should work with instances ofTLcyModelMetaDataContextin theirsetObjectmethod.Hint: When overriding this method, you should also consider overriding
ALcyFormat.createModelMetaDataCustomizerPanelWorkspaceCodecs(). This is needed if yourILcyCustomizerPanels need to store any specific state in the workspace.- Overrides:
createModelMetaDataCustomizerPanelFactoriesin classALcyFormat- Returns:
- An array containing the
ILcyCustomizerPanelFactoryinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createGXYLayerTypeProvider
Description copied from class:ALcyFormatCreates an
ILcyGXYLayerTypeProviderfor this format.- Specified by:
createGXYLayerTypeProviderin classALcyFormat- Returns:
- A
ILcyGXYLayerTypeProviderfor this data format. May benull. - See Also:
-
createGXYLayerFactory
Description copied from class:ALcyFormatCreates a
The factory can also configure label algorithms on the created layers.ILcdGXYLayerFactoryfor this format.- Specified by:
createGXYLayerFactoryin classALcyFormat- Returns:
- the
ILcdGXYLayerFactoryfor this data format. May benull. - See Also:
-
createAsynchronousPaintHintProvider
Description copied from class:ALcyFormatCreates a
ILcyAsynchronousPaintHintProviderfor this format.- Specified by:
createAsynchronousPaintHintProviderin classALcyFormat- Returns:
- A
ILcyAsynchronousPaintHintProviderfor the layers created by the layer factories of this format. May benull. - See Also:
-
createGXYLayerDecoders
Description copied from class:ALcyFormatCreates the
ILcdGXYLayerDecoderdecoders 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
TLcdStatusInputStreamFactorymight be useful to implement this method.- Overrides:
createGXYLayerDecodersin classALcyFormat- Returns:
- An array of layer decoders. It must not be
null, but may have length0. It must not containnull. - See Also:
-
createGXYLayerDecoderFileTypeDescriptors
Description copied from class:ALcyFormatCreates
ALcyFileTypeDescriptors for theILcdGXYLayerDecoders. The length of the returned array must be equal to that ofALcyFormat.createGXYLayerDecoders().An example usage of these
ALcyFileTypeDescriptorinstances 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-nullALcyFileTypeDescriptor.The default implementation returns a zero-length array.
- Overrides:
createGXYLayerDecoderFileTypeDescriptorsin classALcyFormat- Returns:
- An array of
ALcyFileTypeDescriptorinstances. Must not benulland its length must be equal to the length of the array of layer decoders created by this format. May containnull.
-
createGXYLayerEncoders
Description copied from class:ALcyFormatCreates the
ILcdGXYLayerEncoderencoders 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
TLcdStatusOutputStreamFactorymight be useful to implement this method.- Overrides:
createGXYLayerEncodersin classALcyFormat- Returns:
- An array of
ILcdGXYLayerEncoderinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createGXYLayerEncoderFileTypeDescriptors
Description copied from class:ALcyFormatCreates
ALcyFileTypeDescriptors for theILcdGXYLayerEncoders. The length of the returned array must be equal to that ofALcyFormat.createGXYLayerEncoders().An example usage of these
ALcyFileTypeDescriptorinstances 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 theseALcyFileTypeDescriptors. When noALcyFileTypeDescriptors are available (or onlynullALcyFileTypeDescriptors) it will not be possible to save the layer style to file.The default implementation returns a zero-length array.
- Overrides:
createGXYLayerEncoderFileTypeDescriptorsin classALcyFormat- Returns:
- An array of
ALcyFileTypeDescriptorinstances. Must not benulland its length must be equal to the length of the array of layer encoders created by this format. May containnull. - See Also:
-
createGXYLayerWorkspaceCodecs
Description copied from class:ALcyFormatCreates the
ALcyWorkspaceObjectCodeccodecs that can encode and decode the layers created by the layer factories of this format.The default implementation returns a zero-length array.
- Overrides:
createGXYLayerWorkspaceCodecsin classALcyFormat- Returns:
- An array of
ALcyWorkspaceObjectCodecinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createGXYLayerCustomizerPanelFactories
Description copied from class:ALcyFormatCreates the
ILcyCustomizerPanelFactoryfactories that can createILcyCustomizerPanelinstances for the layers created by the layer factories of this format.The created
ILcyCustomizerPanels should work with instances ofTLcyLayerContextin theirsetObjectmethod.The default implementation returns a zero-length array.
Hint: When overriding this method, you should also consider overriding
ALcyFormat.createGXYLayerCustomizerPanelWorkspaceCodecs(). This is needed if yourILcyCustomizerPanels need to store any specific state in the workspace.- Overrides:
createGXYLayerCustomizerPanelFactoriesin classALcyFormat- Returns:
- An array of
ILcyCustomizerPanelFactoryinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
isGXYLayerOfFormat
Description copied from class:ALcyFormatReturns
trueif and only if the given layer is a layer of the current data format.- Overrides:
isGXYLayerOfFormatin classALcyFormat- Parameters:
aGXYLayer- The layer to check.- Returns:
trueif and only if the given layer is a layer of the current data format.
-
createGXYLayerSelectionTransferHandlers
Description copied from class:ALcyFormatCreates the
ALcyLayerSelectionTransferHandlertransfer 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:
createGXYLayerSelectionTransferHandlersin classALcyFormat- Returns:
- An array of
ALcyLayerSelectionTransferHandlerinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createFormatBarFactory
Description copied from class:ALcyFormatCreates the
ALcyFormatBarFactorythat can create a bar to manipulate layers of this format.The default implementation returns
null.- Overrides:
createFormatBarFactoryin classALcyFormat- Returns:
- An
ALcyFormatBarFactory. May benull. - See Also:
-
createModelHeightProviderFactory
Description copied from class:ALcyFormatCreates the
ILcdModelHeightProviderFactorythat can create anILcdHeightProviderfor this format.The default implementation returns
null.- Overrides:
createModelHeightProviderFactoryin classALcyFormat- Returns:
- An
ILcdModelHeightProviderFactory. May benull. - See Also:
-
createLayerHeightProviderFactory
Description copied from class:ALcyFormatCreates the
ILcdLayerHeightProviderFactorythat can create anILcdHeightProviderfor this format.The default implementation returns
null.- Overrides:
createLayerHeightProviderFactoryin classALcyFormat- Returns:
- An
ILcdLayerHeightProviderFactory. May benull. - See Also:
-
createLabelPlacementHintProvider
Description copied from class:ALcyFormatCreates theILcyLabelPlacementHintProviderthat can create aTLcyGXYLabelPlacementHintfor layers of this format.The default implementation returns
null.- Overrides:
createLabelPlacementHintProviderin classALcyFormat- Returns:
- An
ILcyLabelPlacementHintProvider. May benull. - See Also:
-
createGXYLayerStyleProvider
Description copied from class:ALcyFormatCreates the style provider that can retrieve and encode the style of the layers created by the layer factory of this format.- Overrides:
createGXYLayerStyleProviderin classALcyFormat- Returns:
- the style provider to retrieve and encode the style of the layers. May be
null
-
createGXYLayerCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormatCreates the
ALcyWorkspaceObjectCodeccodecs for theILcyCustomizerPanelinstances for the layers created by the layer factories of this format.- Overrides:
createGXYLayerCustomizerPanelWorkspaceCodecsin classALcyFormat- Returns:
- An array containing the
ALcyWorkspaceObjectCodecinstances. Must not benull, but may have length0. Must not containnull. - See Also:
-
createDomainObjectCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormatCreates the
ALcyWorkspaceObjectCodeccodecs for theILcyCustomizerPanelinstances for the domain objects created by the model decoders of this format.- Overrides:
createDomainObjectCustomizerPanelWorkspaceCodecsin classALcyFormat- Returns:
- An array containing the
ALcyWorkspaceObjectCodecinstances. Must not benull, but may have length0. Must not containnull. - See Also:
-
createModelMetaDataCustomizerPanelWorkspaceCodecs
Description copied from class:ALcyFormatCreates the
ALcyWorkspaceObjectCodeccodecs that can encode and decode theILcyCustomizerPanelinstances used to customize the meta data of the models produced by this format.- Overrides:
createModelMetaDataCustomizerPanelWorkspaceCodecsin classALcyFormat- Returns:
- An array of
ALcyWorkspaceObjectCodecinstances. Must not benullbut may have length0. Must not containnull. - See Also:
-
createDataSourceHandlerFileTypeDescriptorGroups
Description copied from class:ALcyFormatCreates file type descriptor groups for all decoders. The groups may be empty, but the group count must equal the decoder count.
- Overrides:
createDataSourceHandlerFileTypeDescriptorGroupsin classALcyFormat- Returns:
- A two-dimensional array containing the groups for the
ALcyFileTypeDescriptorinstances of theALcyFileTypeDescriptors. The first dimension must be equal to the length of the array ofALcyFileTypeDescriptorinstances created by this format. It must not containnull, but may contain empty arrays.
-
createDataSourceHandlerFileTypeDescriptors
Description copied from class:ALcyFormatCreates the
ALcyFileTypeDescriptorinstances corresponding to theALcyFileTypeDescriptorinstances created by this format.- Overrides:
createDataSourceHandlerFileTypeDescriptorsin classALcyFormat- Returns:
- The array of
ALcyFileTypeDescriptorinstances. Must not benull. Its length should be equal to the length of the array created bycreateDataSourceHandlers. It may containnull.
-
createDataSourceHandlers
Description copied from class:ALcyFormatCreates
ALcyDataSourceHandler(s) that are more general thanALcyFileTypeDescriptors.- Overrides:
createDataSourceHandlersin classALcyFormat- Returns:
- An array containing the
ALcyDataSourceHandlerinstances. Must not benullbut may have length0. Must not containnull.
-
createDataPropertyValueCustomizerPanelFactories
Description copied from class:ALcyFormatCreates the
ILcyCustomizerPanelFactoryfactories that can createILcyCustomizerPanelinstances 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
ILcyCustomizerPanels should work with instances ofTLcdDataPropertyValueContextin theirsetObjectmethod.The default implementation returns a zero-length array.
- Overrides:
createDataPropertyValueCustomizerPanelFactoriesin classALcyFormat- Returns:
- An array of
ILcyCustomizerPanelFactoryinstances. Must not benullbut may have length0. Must not containnull.
-
createBalloonContentProviders
Description copied from class:ALcyFormatCreates the
ILcdBalloonContentProviders for this format.The default implementation returns an empty array.
- Overrides:
createBalloonContentProvidersin classALcyFormat- Returns:
- the
ILcdBalloonContentProviders for this format. Must not benull. The array may be empty but not containnull.
-
createModelMeasureProviderFactory
Description copied from class:ALcyFormatCreates the
ILcdModelMeasureProviderFactoryfor this format.The default implementation returns
null.- Overrides:
createModelMeasureProviderFactoryin classALcyFormat- Returns:
- the
ILcdModelMeasureProviderFactoryfor this format. Can benull. - See Also:
-
createLayerMeasureProviderFactory
Description copied from class:ALcyFormatCreates the
ILcdLayerMeasureProviderFactoryfor this format.The default implementation returns
null.- Overrides:
createLayerMeasureProviderFactoryin classALcyFormat- Returns:
- the
ILcdLayerMeasureProviderFactoryfor this format. Can benull. - See Also:
-