On 08.06.2015 08:36, Giuseppe Aruta wrote: > Hi Ede, > thanks for your help. Let us wait Jukka opinion/test to check the new reuse > of WMSRequest with protected WMS servers. > I implemented the dialog as a detachable internal frame, as you suggested. It > looks also more elegant. I preferred the option to have it always on the top > of the main view as I think that a legend should be always visible, it can be > minimized by users anyhow.
btw. i noticed that the dialog always came up on the upper left screen corner. GUIUtil has some methods that help you place it on the screen, maybe on the right/middle with some offset from the screen border? > Regarding that dialogs accumulate and you suggestion to update/reuse existing > legends per layer, I still didn't find a solution and I ask you a little help. this would have to be done in your plugin. keep a hashmap of layer/dialog entries and check if one already exists on plugin execution. ..ede ------------------------------------------------------------------------------ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel