public abstract class ALcyPreferencesPropertyConverter extends ALcyWorkspacePropertyConverter
Implementation of ALcyWorkspacePropertyConverter
that retrieves the
ALcyWorkspaceCodec
from the TLcyPreferencesTool
when it is encoding its
workspace properties.
Modifier | Constructor and Description |
---|---|
protected |
ALcyPreferencesPropertyConverter(TLcyPreferencesTool aPreferencesTool) |
Modifier and Type | Method and Description |
---|---|
protected ALcyWorkspaceCodec |
getWorkspaceCodec()
Returns the current
ALcyWorkspaceCodec . |
convertAfterDecode, convertAfterDecode, convertBeforeEncode, convertBeforeEncode
protected ALcyPreferencesPropertyConverter(TLcyPreferencesTool aPreferencesTool)
protected ALcyWorkspaceCodec getWorkspaceCodec()
ALcyWorkspacePropertyConverter
Returns the current ALcyWorkspaceCodec
.
Note that implementations are discouraged to retrieve the workspace codec from the workspace
manager of the Lucy backend, as it is not guaranteed that the workspace codec given to codec
delegates and object codecs is the same as the workspace codec of the workspace manager of the
Lucy backend. Instead the ALcyWorkspaceCodec
should be the one that is passed to
an ALcyWorkspaceObjectCodec
or ALcyWorkspaceCodecDelegate
.
getWorkspaceCodec
in class ALcyWorkspacePropertyConverter
ALcyWorkspaceCodec
to pass to convertBeforeEncode
and
convertAfterDecode
.