public class TLcyDomainObjectContext extends TLcdDomainObjectContext
ILcdModel
in
which it is contained, and the ILcdLayer
and the ILcdView
in which it
is displayed.
This class if for example used by the Object Properties action.
This action creates instances of this class, and creates a customizer panel for it using the
factories available as service
.Constructor and Description |
---|
TLcyDomainObjectContext(Object aDomainObject,
ILcdModel aModel)
Creates a new context instance.
|
TLcyDomainObjectContext(Object aDomainObject,
ILcdModel aModel,
ILcdLayer aLayer,
ILcdView aView)
Creates a new context instance.
|
Modifier and Type | Method and Description |
---|---|
ILcdModel |
getModel()
Returns the model in which the domain object is contained.
|
equals, getDomainObject, getLayer, getView, hashCode, toString
public TLcyDomainObjectContext(Object aDomainObject, ILcdModel aModel)
aDomainObject
- The domain object for which this object provides the context. This must not
be null
.aModel
- The ILcdModel
that contains the aDomainObject
.
This must not be null
.public TLcyDomainObjectContext(Object aDomainObject, ILcdModel aModel, ILcdLayer aLayer, ILcdView aView)
aDomainObject
- The domain object for which this object provides the context. This must not
be null
.aModel
- The ILcdModel
that contains the aDomainObject
.
This must not be null
.aLayer
- The ILcdLayer
in which aModel
is displayed. This
may be null
if this information is not available.aView
- The ILcdView
in which aLayer
is displayed. This
may be null
if this information is not available.public ILcdModel getModel()
getModel
in class TLcdDomainObjectContext
null
.