public interface ILcdGXYNewControllerModel
TLcdGXYNewController
for the following:
ILcdGXYLayer
where to add a
new Object,
Object
to be edited/initialized by
interacting with the Mouse on an ILcdGXYView
,
Object
in the ILcdModel
that the chosen ILcdGXYLayer
refers to.
Modifier and Type | Method and Description |
---|---|
void |
addObjectInGXYLayer(Object aObject,
ILcdGXYLayer aGXYLayer,
ILcdGXYView aGXYView)
When calling this method, a
TLcdGXYNewController delegates
the insertion of the Object created by makeNewInstanceForGXYLayer in the
ILcdModel the chosen ILcdGXYLayer refers to. |
ILcdGXYLayer |
chooseGXYLayer(ILcdGXYView aGXYView)
When calling this method, a
TLcdGXYNewController asks to get
an ILcdGXYLayer in order to know where to add the Object
created by makeNewInstanceForGXYLayer and how to get a valid
ILcdGXYEditor for editing the created Object with Mouse
interactions. |
Object |
makeNewInstanceForGXYLayer(ILcdGXYLayer aGXYLayer,
ILcdGXYView aGXYView)
When calling this method, a
TLcdGXYNewController asks to get
a new instance of the Object to initialize with Mouse interactions. |
Object makeNewInstanceForGXYLayer(ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView)
TLcdGXYNewController
asks to get
a new instance of the Object
to initialize with Mouse interactions.
The initialization with Mouse interactions is done by the
TLcdGXYNewController
by delegating to the ILcdGXYEditor
returned by ILcdGXYLayer.getGXYEditor(Object)
. The ILcdGXYLayer
is the one returned by chooseGXYLayer. This requires that it
returns a non null
and valid ILcdGXYEditor
for editing the
Object
returned by this method.ILcdGXYLayer chooseGXYLayer(ILcdGXYView aGXYView)
TLcdGXYNewController
asks to get
an ILcdGXYLayer
in order to know where to add the Object
created by makeNewInstanceForGXYLayer and how to get a valid
ILcdGXYEditor
for editing the created Object
with Mouse
interactions.void addObjectInGXYLayer(Object aObject, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView)
TLcdGXYNewController
delegates
the insertion of the Object
created by makeNewInstanceForGXYLayer in the
ILcdModel
the chosen ILcdGXYLayer
refers to.