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
ConstructorsConstructorDescriptionTLcyModelMetaDataContext(ILcdModel aModel) Creates a new context object for the meta data of the givenILcdModel, withnullfor theILcdLayerand theILcdView.TLcyModelMetaDataContext(ILcdModel aModel, ILcdLayer aLayer, ILcdView aView) Creates a new context object for the meta data of the givenILcdModelof the givenILcdLayer. -
Method Summary
-
Constructor Details
-
TLcyModelMetaDataContext
Creates a new context object for the meta data of the givenILcdModel, withnullfor theILcdLayerand theILcdView.- Parameters:
aModel- TheILcdModelfor which this object provides the meta data context. This must not benull.
-
TLcyModelMetaDataContext
Creates a new context object for the meta data of the givenILcdModelof the givenILcdLayer.- Parameters:
aModel- TheILcdModelfor which this object provides the context. This may not benull.aLayer- TheILcdLayerin which the model is displayed. This may benullif this information is not available.aView- TheILcdViewin which the model is displayed. This may benullif this information is not available.
-
-
Method Details
-
getModel
Returns theILcdModelfor which this object provides the meta data context.- Returns:
- The
ILcdModelfor which this object provides the meta data context. This will never benull.
-
getLayer
Returns the layer in which theILcdModelis displayed.- Returns:
- The layer in which the
ILcdModelis displayed. This may benull.
-
getView
Returns theILcdViewin which theILcdModelis displayed.- Returns:
- The
ILcdViewin which theILcdModelis displayed. This may benull.
-
toString
-