Hi,
I have some problems with handle the udig specific actions, toolbar and coolbar items. We are using plugins of udig in one perspective of our application. At first I removed some of the (modal) actions out of the plugin.xml files of the (udig)plugins since not all tools are needed by the users and some will irritate them. (the main focus of the application has nothing to do with gis, just one perspective)
In those perspectives where no mapeditor is shown we don't need the udig actions. I tried to remove them but I wasn't very successfull. The udig actions are managed by the ToolManager but I found no possibility to hide all (modal) actions / coolbars.
Finally I wrote an PerspectiveAdapter which closes all mapeditors when changing to another perspective. This works fine and all udig specific actions are removed. If one switches back to the perspective, a new mapeditor opens with the old map and all actions are visibile again. The sole thing which is a little bit disturbing is that the renderer contacts all wms servers again for rendering. This takes some seconds.
I'm not sure if this is the best way. Is there a better way to remove the udig specific actions out of the tool/coolbar?
thanks,
tony roth
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
