Package com.luciad.lucy.util.context
Class TLcyModelMetaDataContext
java.lang.Object
com.luciad.lucy.util.context.TLcyModelMetaDataContext
This context object defines everything related to the meta data of an ILcdModel
.
Typically the ILcdModelReference
and ILcdModelDescriptor
of the
ILcdModel
will be of interest, but other properties of the ILcdModel
could be used as well.
The ILcdLayer
and the ILcdView
in which the ILcdModel
is displayed are optionally provided as well.
-
Constructor Summary
ConstructorDescriptionTLcyModelMetaDataContext
(ILcdModel aModel) Creates a new context object for the meta data of the givenILcdModel
, withnull
for theILcdLayer
and theILcdView
.TLcyModelMetaDataContext
(ILcdModel aModel, ILcdLayer aLayer, ILcdView aView) Creates a new context object for the meta data of the givenILcdModel
of the givenILcdLayer
. -
Method Summary
-
Constructor Details
-
TLcyModelMetaDataContext
Creates a new context object for the meta data of the givenILcdModel
, withnull
for theILcdLayer
and theILcdView
.- Parameters:
aModel
- TheILcdModel
for which this object provides the meta data context. This must not benull
.
-
TLcyModelMetaDataContext
Creates a new context object for the meta data of the givenILcdModel
of the givenILcdLayer
.- Parameters:
aModel
- TheILcdModel
for which this object provides the context. This may not benull
.aLayer
- TheILcdLayer
in which the model is displayed. This may benull
if this information is not available.aView
- TheILcdView
in which the model is displayed. This may benull
if this information is not available.
-
-
Method Details
-
getModel
Returns theILcdModel
for which this object provides the meta data context.- Returns:
- The
ILcdModel
for which this object provides the meta data context. This will never benull
.
-
getLayer
Returns the layer in which theILcdModel
is displayed.- Returns:
- The layer in which the
ILcdModel
is displayed. This may benull
.
-
getView
Returns theILcdView
in which theILcdModel
is displayed.- Returns:
- The
ILcdView
in which theILcdModel
is displayed. This may benull
.
-
toString
-