Changeset 29769 in osm for applications/editors/josm/plugins/reverter/src
- Timestamp:
- 2013-07-24T18:01:58+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/reverter/src/reverter
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/src/reverter/ObjectsHistoryAction.java
r27852 r29769 20 20 setEnabled(false); 21 21 } 22 @Override 22 23 public void actionPerformed(ActionEvent arg0) { 23 24 new ObjectsHistoryDialog().setVisible(true); -
applications/editors/josm/plugins/reverter/src/reverter/RevertChangesetAction.java
r29353 r29769 23 23 } 24 24 25 @Override 25 26 public void actionPerformed(ActionEvent arg0) { 26 27 final ChangesetIdQuery dlg = new ChangesetIdQuery(); -
applications/editors/josm/plugins/reverter/src/reverter/ReverterPlugin.java
r27766 r29769 19 19 public ReverterPlugin(PluginInformation info) { 20 20 super(info); 21 JMenu historyMenu = Main.main.menu.addMenu(marktr("History"), KeyEvent.VK_Y, 22 Main.main.menu.defaultMenuPos,ht("/Plugin/Reverter")); 21 boolean oldMenu = org.openstreetmap.josm.data.Version.getInstance().getVersion() < 6082; 22 JMenu historyMenu = oldMenu? 23 Main.main.menu.addMenu(marktr("History"), KeyEvent.VK_Y, Main.main.menu.defaultMenuPos, ht("/Plugin/Reverter")) 24 : Main.main.menu.dataMenu; 23 25 //MainMenu.add(historyMenu, new ObjectsHistoryAction()); 24 26 MainMenu.add(historyMenu, new RevertChangesetAction());
Note:
See TracChangeset
for help on using the changeset viewer.