Re: MapEvent

From: Andrey Razumovsky (razumovsky.andre..mail.com)
Date: Wed May 20 2009 - 04:34:29 EDT

  • Next message: Andrus Adamchik: "Re: MapEvent"

    Hi Tore,

    Thanks for looking into the issue. Yeah, to fix this we need callbacks in
    merging process.. MapEventConsumer is a good idea! Still, I'm not sure that
    in current ProjectController implementation firing simple events (not
    modeler's display event) will be enough, and having diplay events in core is
    a bad idea...

    Andrey

    2009/5/19 Tore Halset <halse..vv.ntnu.no>

    > Hello.
    >
    > Looking at CAY-1169. I need some way to refresh the view. After browsing
    > the code it looks like this should be done by sending MapEvents to the
    > ProjectController. None of the ToModel merge tokens does this now. The
    > problem is that the ProjectController is in the modeler project, but all the
    > merge tokens exist in the core project.
    >
    > One option could be to extract the fire-methods of ProjectController to a
    > interface named MapEventConsumer in the core? Or could this interface be
    > simplified by just having a fireMapEvent-method that does lots of instanceof
    > checks and call the correct fire-method..
    >
    > What do you guys think of all this?
    >
    > https://issues.apache.org/jira/browse/CAY-1169
    >
    > - Tore.
    >



    This archive was generated by hypermail 2.0.0 : Wed May 20 2009 - 04:35:06 EDT