Changeset 36154 in osm for applications/editors
- Timestamp:
- 2023-10-02T20:15:36+02:00 (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/replacegeometry/ReplaceMembershipAction.java
r35671 r36154 6 6 7 7 import java.awt.event.ActionEvent; 8 import java.awt.event.KeyEvent; 8 9 import java.util.ArrayList; 9 10 import java.util.Collection; … … 26 27 import org.openstreetmap.josm.gui.Notification; 27 28 import org.openstreetmap.josm.tools.MultiMap; 29 import org.openstreetmap.josm.tools.Shortcut; 28 30 29 31 /** … … 32 34 public class ReplaceMembershipAction extends JosmAction { 33 35 36 /** 37 * Create a new {@link ReplaceMembershipAction} 38 */ 34 39 public ReplaceMembershipAction() { 35 40 super( 36 41 tr("Replace Membership"), (String) null, 37 tr("In relations where the selected object is member of, replace it with a new one"), null, false, 38 ReplaceMembershipAction.class.getName(), true); 42 tr("In relations where the selected object is member of, replace it with a new one"), 43 Shortcut.registerShortcut("utilsplugin2:tools:replacegeometry", tr("More tools: {0}", tr("Replace Membership")), 44 KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), 45 false, ReplaceMembershipAction.class.getName(), true); 39 46 } 40 47
Note:
See TracChangeset
for help on using the changeset viewer.