Changeset 29769 in osm for applications/editors/josm/plugins/reverter
- Timestamp:
- 2013-07-24T18:01:58+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/reverter
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reverter/nbproject/project.xml
r25429 r29769 41 41 <target>dist</target> 42 42 </action> 43 <action name="run"> 44 <script>${ant.script}</script> 45 <target>runjosm</target> 46 </action> 43 47 </ide-actions> 44 48 <export> … … 62 66 <ide-action name="rebuild"/> 63 67 <ide-action name="clean"/> 68 <ide-action name="run"/> 64 69 </context-menu> 65 70 </view> -
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.