Dear Dimitry, my comments are below:
Dimitry Polivaev schrieb: > > I do not propose to use the singleton pattern any more, Good. > but I still > think that creating of individual action objects, menu structures and > plug-ins for each single map is not always necessary. Things like > Undo-History should be created for each single map. But even if we have > different menu states I would not create every menu item of every state > again and again. I would use a strategy pattern with a limited number of > variants created once. And I think that the mode controllers already > implement the strategy patterns, and in this case different states you > write about are further modes we could define. > Why that? IMHO, you are trying to optimize something, that is pretty ok for me. What are the reasons for you not to re-create the menu actions for every open map? Is it the memory consumption? Then we might free them on map change, although, I believe that the amount of memory they occupy is not significant in comparison to the map models itself. Your changes will make this part of the program more difficult, and I need to know a good reason for doing so. > And the most important thing for me is communication do that the design > become more clear and evident. So I shall try to work in this direction > and create some diagrams when I have time for it. > > > Perhaps, I should start to document the plugins, but I must do this offline. Any proposals how to achive this? > Regards, > Dimitry > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Freemind-developer mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freemind-developer > > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Freemind-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freemind-developer
