Changeset 13455 in osm
- Timestamp:
- 2009-01-31T14:23:36+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/usertools/src/usertools/UserToolsPlugin.java
r13055 r13455 72 72 userJMenu.removeAll(); 73 73 } 74 75 userJMenu.add(new JMenuItem(new JosmAction(tr("Show Author Panel"), 74 JosmAction a = new JosmAction(tr("Show Author Panel"), 76 75 "dialogs/userlist", tr("Show Author Panel"), null, false) { 77 76 public void actionPerformed(ActionEvent ev) { … … 89 88 uld.setVisible(true); 90 89 } 91 })); 90 }; 91 a.putValue("toolbar", "usertools_show"); 92 userJMenu.add(new JMenuItem(a)); 92 93 93 94 userJMenu.addSeparator(); 94 // userJMenu.addSeparator(); 95 userJMenu.add(new JMenuItem(new JosmAction(tr("Open User Page"), 95 a = new JosmAction(tr("Open User Page"), 96 96 "presets/letter", tr("Open User Page in browser"), null, false) { 97 97 public void actionPerformed(ActionEvent ev) { … … 103 103 } 104 104 } 105 })); 105 }; 106 a.putValue("toolbar", "usertools_open"); 107 userJMenu.add(new JMenuItem(a)); 106 108 107 userJMenu.add(new JMenuItem(new JosmAction(tr("Select User's Data"),109 a = new JosmAction(tr("Select User's Data"), 108 110 "dialogs/search", tr("Replaces Selection with Users data"), null, false) { 109 111 public void actionPerformed(ActionEvent ev) { … … 114 116 } 115 117 } 116 })); 118 }; 119 a.putValue("toolbar", "usertools_search"); 120 userJMenu.add(new JMenuItem(a)); 117 121 118 122 setEnabledAll(false);
Note:
See TracChangeset
for help on using the changeset viewer.