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 ILcdGXYLayer where to add a new Object,
  • to delegate the creation of this new Object to be edited/initialized by interacting with the Mouse on an ILcdGXYView,
  • to delegate the insertion of this Object in the ILcdModel that the chosen ILcdGXYLayer refers to.
  • Method Summary

    Modifier and Type
    Method
    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.
    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.
    When calling this method, a TLcdGXYNewController asks to get a new instance of the Object to initialize with Mouse interactions.
  • Method Details

    • makeNewInstanceForGXYLayer

      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. 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.
    • chooseGXYLayer

      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.
    • addObjectInGXYLayer

      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.