Hello everyone, I have now published my "noteSolver" plugin in Version 0.3.2 in the PluginSources. It's hosted on Github. The good Klumbumbus opened an Issue https://github.com/kmpoppe/noteSolver/issues/3 - unfortunately I hadn't been able to find any solution in the documentation or in any other plugins, thus I'd love to ask here:
* Once a note is selected on the map the plugin displays a small popup menu with two entries. The problem is that this popup is displayed behind the note tooltip that contains the text of the note. I wasn't able to find any way to change the z-position of the popup menu. Is there a way to force the new JPopupMenu to be displayed at the top most position? * I'd have loved to show the JPopupMenu when the right mouse button was clicked, but I couldn't find a fitting EventListener - clearly I'm missing something? Any help would be appreciated! K On 08.05.2020 23:28, Gerd Petermann wrote: > Hi Kai, > > The cs id is returned by the api when the changeset is opened, but the hooks > are called before that, so I see no way to get the cs id with the current > code in core. > > Gerd > > ________________________________________ > Von: Kai Michael Poppe - OSM <[email protected]> > Gesendet: Freitag, 8. Mai 2020 23:05 > An: [email protected] > Betreff: JOSM Plugin / Do something after upload of changed data > > Hi list, > > I'm currently building a Plugin that's supposed resolve upload a note > with a reference to the changeset that was created through the upload. > > I've successfully managed to get the UploadHook working and put the > reference to the Note in the Changeset comment, but I can't figure out > how to find the Changeset ID that was created. Is there any interface I > can implement to do this in the Plugin namespace? > > Thanks for helping out a plugin noob! > > Kai > >
