Package com.luciad.view.gxy.controller
Interface ILcdGXYNewControllerModel
- All Known Implementing Classes:
ALcdGXYNewControllerModel
public interface ILcdGXYNewControllerModel
Implementation of this interface is required by the
TLcdGXYNewController for the following:
- to delegate the choice of an
ILcdGXYLayerwhere to add a new Object, - to delegate the creation of this new
Objectto be edited/initialized by interacting with the Mouse on anILcdGXYView, - to delegate the insertion of this
Objectin theILcdModelthat the chosenILcdGXYLayerrefers to.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddObjectInGXYLayer(Object aObject, ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) When calling this method, aTLcdGXYNewControllerdelegates the insertion of theObjectcreated by makeNewInstanceForGXYLayer in theILcdModelthe chosenILcdGXYLayerrefers to.chooseGXYLayer(ILcdGXYView aGXYView) When calling this method, aTLcdGXYNewControllerasks to get anILcdGXYLayerin order to know where to add the Object created by makeNewInstanceForGXYLayer and how to get a validILcdGXYEditorfor editing the createdObjectwith Mouse interactions.makeNewInstanceForGXYLayer(ILcdGXYLayer aGXYLayer, ILcdGXYView aGXYView) When calling this method, aTLcdGXYNewControllerasks to get a new instance of theObjectto initialize with Mouse interactions.
-
Method Details
-
makeNewInstanceForGXYLayer
When calling this method, aTLcdGXYNewControllerasks to get a new instance of theObjectto initialize with Mouse interactions. The initialization with Mouse interactions is done by theTLcdGXYNewControllerby delegating to theILcdGXYEditorreturned byILcdGXYLayer.getGXYEditor(Object). TheILcdGXYLayeris the one returned by chooseGXYLayer. This requires that it returns a nonnulland validILcdGXYEditorfor editing theObjectreturned by this method. -
chooseGXYLayer
When calling this method, aTLcdGXYNewControllerasks to get anILcdGXYLayerin order to know where to add the Object created by makeNewInstanceForGXYLayer and how to get a validILcdGXYEditorfor editing the createdObjectwith Mouse interactions. -
addObjectInGXYLayer
When calling this method, aTLcdGXYNewControllerdelegates the insertion of theObjectcreated by makeNewInstanceForGXYLayer in theILcdModelthe chosenILcdGXYLayerrefers to.
-