public abstract class ALcyLspGeneralFormat extends ALcyLspFormat
Extension of ALcyLspFormat
that works with a properties object holding the
configuration of the format. It also adds a short prefix (e.g. to derive keys for the
configuration properties), and a long prefix (e.g. to derive UID's for workspace codecs).
Constructor and Description |
---|
ALcyLspGeneralFormat(ILcyLucyEnv aLucyEnv,
String aLongPrefix,
String aShortPrefix,
ALcyProperties aProperties)
Creates a
ALcyLspGeneralFormat for the specified Lucy backend. |
Modifier and Type | Method and Description |
---|---|
String |
getLongPrefix()
Returns the long prefix of this format that can be used, for instance, to derive UID's.
|
ILcyLucyEnv |
getLucyEnv()
Returns the
ILcyLucyEnv backend with which this ALcyLspFormat is
associated. |
ALcyProperties |
getProperties()
Returns the
ALcyProperties holding the configuration of this format. |
String |
getShortPrefix()
Returns the short prefix of this format that can be used, for instance, to derive keys for a
ALcyProperties instance. |
canHandleModel, checkInitialized, createAll, createBalloonContentProviders, createFormatBarFactory, createLayerContextOfFormatFilter, createLayerCustomizerPanelFactories, createLayerCustomizerPanelWorkspaceCodecs, createLayerFactory, createLayerMeasureProviderFactory, createLayerSelectionTransferHandlers, createLayerStyleCodecFileTypeDescriptors, createLayerStyleCodecs, createLayerStyleProviders, createLayerWorkspaceCodecs, getBalloonContentProviders, getFormatBarFactory, getLayerCustomizerPanelFactories, getLayerCustomizerPanelWorkspaceCodecs, getLayerFactory, getLayerMeasureProviderFactory, getLayerSelectionTransferHandlers, getLayerStyleCodecFileTypeDescriptors, getLayerStyleCodecs, getLayerStyleProviders, getLayerWorkspaceCodecs, isLayerOfFormat, toString
public ALcyLspGeneralFormat(ILcyLucyEnv aLucyEnv, String aLongPrefix, String aShortPrefix, ALcyProperties aProperties)
ALcyLspGeneralFormat
for the specified Lucy backend.aLucyEnv
- The Lucy backend for which to create this format. Must not be null
.aLongPrefix
- The long prefix of this format. See getLongPrefix()
. Must not be null
.aShortPrefix
- The short prefix of this format. See getShortPrefix()
Must not be null
.aProperties
- The ALcyProperties
instance holding the configuration for this
format. Must not be null
.public ILcyLucyEnv getLucyEnv()
ALcyLspFormat
Returns the ILcyLucyEnv
backend with which this ALcyLspFormat
is
associated.
getLucyEnv
in class ALcyLspFormat
ILcyLucyEnv
backend. Must not be null
.public ALcyProperties getProperties()
Returns the ALcyProperties
holding the configuration of this format.
ALcyProperties
of this format. Never null
.public String getLongPrefix()
ALcyLspFormat
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 add-on.
getLongPrefix
in class ALcyLspFormat
null
.ALcyTool.getLongPrefix(Class)
public String getShortPrefix()
ALcyLspFormat
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 class name of the
add-on.
getShortPrefix
in class ALcyLspFormat
null
.ALcyTool.getShortPrefix(Class)