Changeset 27852 in osm for applications/editors/josm/plugins/utilsplugin2/src
- Timestamp:
- 2012-02-18T13:40:52+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/AddIntersectionsAction.java
r27835 r27852 29 29 public AddIntersectionsAction() { 30 30 super(tr("Add nodes at intersections"), "addintersect", tr("Add missing nodes at intersections of selected ways."), 31 Shortcut.registerShortcut("tools:addintersect", tr("Tool: {0}", tr("Add nodes at intersections")), KeyEvent.VK_N, Shortcut. GROUPS_ALT1+Shortcut.GROUP_DIRECT3), true);31 Shortcut.registerShortcut("tools:addintersect", tr("Tool: {0}", tr("Add nodes at intersections")), KeyEvent.VK_N, Shortcut.ALT_CTRL_SHIFT), true); 32 32 putValue("help", ht("/Action/AddIntersections")); 33 33 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/ExtractPointAction.java
r27761 r27852 34 34 tr("Extracts node from a way"), 35 35 Shortcut.registerShortcut("tools:extnode", tr("Tool: {0}","Extract node"), 36 KeyEvent.VK_J, Shortcut. GROUP_DIRECT2), true);36 KeyEvent.VK_J, Shortcut.ALT), true); 37 37 putValue("help", ht("/Action/ExtractNode")); 38 38 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/LatLonAction.java
r27761 r27852 31 31 public LatLonAction() { 32 32 super(tr("Lat Lon tool"), "latlon", tr("Create geometry by entering lat lon coordinates for it."), 33 Shortcut.registerShortcut("latlon", tr("Edit: {0}", tr("Lat Lon tool")), KeyEvent.VK_L, Shortcut. GROUP_DIRECT3), true);33 Shortcut.registerShortcut("latlon", tr("Edit: {0}", tr("Lat Lon tool")), KeyEvent.VK_L, Shortcut.CTRL_SHIFT), true); 34 34 putValue("help", ht("/Action/AddNode")); 35 35 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/SplitObjectAction.java
r27616 r27852 43 43 super(tr("Split Object"), "splitobject", tr("Split an object at the selected nodes."), 44 44 Shortcut.registerShortcut("tools:splitobject", tr("Tool: {0}", tr("Split Object")), 45 KeyEvent.VK_P, Shortcut. GROUP_MENU)45 KeyEvent.VK_P, Shortcut.CTRL) 46 46 , true); 47 47 putValue("help", ht("/Action/SplitObject")); -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/SymmetryAction.java
r27761 r27852 36 36 super(tr("Symmetry"), "symmetry", tr("Mirror selected nodes and ways."), 37 37 Shortcut.registerShortcut("tools:symmetry", tr("Tool: {0}", tr("Symmetry")), 38 KeyEvent.VK_S, Shortcut. GROUPS_ALT1+Shortcut.GROUP_DIRECT2), true);38 KeyEvent.VK_S, Shortcut.ALT_SHIFT), true); 39 39 putValue("help", ht("/Action/Symmetry")); 40 40 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/UnGlueRelationAction.java
r27761 r27852 43 43 public UnGlueRelationAction() { 44 44 super(tr("UnGlue Relation"), "ungluerelations", tr("Duplicate nodes, ways and relations that are used by multiple relations."), 45 Shortcut.registerShortcut("tools:ungluerelation", tr("Tool: {0}", tr("UnGlue Relations")), KeyEvent.VK_G, Shortcut. GROUPS_ALT1+Shortcut.GROUP_DIRECT2), true);45 Shortcut.registerShortcut("tools:ungluerelation", tr("Tool: {0}", tr("UnGlue Relations")), KeyEvent.VK_G, Shortcut.ALT_SHIFT ), true); 46 46 putValue("help", ht("/Action/UnGlueRelation")); 47 47 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/curves/CurveAction.java
r27761 r27852 31 31 super(tr("Circle arc"), "circlearc", tr("Create a circle arc"), 32 32 Shortcut.registerShortcut("tools:createcurve", tr("Tool: {0}", tr("Create a circle arc")), KeyEvent.VK_C, 33 Shortcut. GROUPS_ALT1+Shortcut.GROUP_EDIT), true);33 Shortcut.SHIFT), true); 34 34 putValue("help", ht("/Action/CreateCircleArc")); 35 35 updatePreferences(); -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/customurl/OpenPageAction.java
r27761 r27852 36 36 tr("Opens specified URL browser"), 37 37 Shortcut.registerShortcut("tools:openurl", tr("Tool: {0}", tr("Open custom URL")), 38 KeyEvent.VK_H, Shortcut. GROUPS_ALT1+Shortcut.GROUP_EDIT), true);38 KeyEvent.VK_H, Shortcut.SHIFT), true); 39 39 putValue("help", ht("/Action/OpenPage")); 40 40 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/AlignWayNodesAction.java
r27761 r27852 23 23 public AlignWayNodesAction() { 24 24 super(TITLE, "dumbutils/alignwaynodes", tr("Align nodes in a way"), 25 Shortcut.registerShortcut("tools:alignwaynodes", tr("Tool: {0}", tr("Align Way Nodes")), KeyEvent.VK_L, Shortcut. GROUPS_ALT1+Shortcut.GROUP_EDIT)25 Shortcut.registerShortcut("tools:alignwaynodes", tr("Tool: {0}", tr("Align Way Nodes")), KeyEvent.VK_L, Shortcut.SHIFT) 26 26 , true); 27 27 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/PasteRelationsAction.java
r27761 r27852 21 21 public PasteRelationsAction() { 22 22 super(TITLE, "dumbutils/pasterelations", tr("Paste relation membership from objects in the buffer onto selected object(s)"), 23 Shortcut.registerShortcut("tools:pasterelations", tr("Tool: {0}", tr("Paste Relations")), KeyEvent.VK_V, Shortcut. GROUPS_ALT2+Shortcut.GROUP_MENU), true);23 Shortcut.registerShortcut("tools:pasterelations", tr("Tool: {0}", tr("Paste Relations")), KeyEvent.VK_V, Shortcut.ALT_CTRL), true); 24 24 } 25 25 -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/ReplaceGeometryAction.java
r27761 r27852 33 33 public ReplaceGeometryAction() { 34 34 super(TITLE, "dumbutils/replacegeometry", tr("Replace geometry of selected object with a new one"), 35 Shortcut.registerShortcut("tools:replacegeometry", tr("Tool: {0}", tr("Replace Geometry")), KeyEvent.VK_G, Shortcut. GROUPS_ALT1+Shortcut.GROUP_MENU)35 Shortcut.registerShortcut("tools:replacegeometry", tr("Tool: {0}", tr("Replace Geometry")), KeyEvent.VK_G, Shortcut.CTRL_SHIFT) 36 36 , true); 37 37 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/SplitOnIntersectionsAction.java
r27764 r27852 27 27 super(TITLE, "dumbutils/splitonintersections", tr("Split adjacent ways on T-intersections"), 28 28 Shortcut.registerShortcut("tools:splitonintersections", tr("Tool: {0}", tr("Split adjacent ways")), 29 KeyEvent.VK_P, Shortcut. GROUP_DIRECT3+Shortcut.GROUPS_ALT1), true);29 KeyEvent.VK_P, Shortcut.ALT_CTRL_SHIFT), true); 30 30 } 31 31 -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/TagBufferAction.java
r27761 r27852 24 24 public TagBufferAction() { 25 25 super(TITLE, "dumbutils/tagbuffer", tr("Pastes tags of previously selected object(s)"), 26 Shortcut.registerShortcut("tools:tagbuffer", tr("Tool: {0}", tr("Copy tags from previous selection")), KeyEvent.VK_R, Shortcut. GROUPS_ALT1+Shortcut.GROUP_EDIT)26 Shortcut.registerShortcut("tools:tagbuffer", tr("Tool: {0}", tr("Copy tags from previous selection")), KeyEvent.VK_R, Shortcut.SHIFT) 27 27 , true); 28 28 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/dumbutils/TagSourceAction.java
r27761 r27852 24 24 public TagSourceAction() { 25 25 super(TITLE, "dumbutils/sourcetag", tr("Add remembered source tag"), 26 Shortcut.registerShortcut("tools:sourcetag", tr("Tool: {0}", tr("Add Source Tag")), KeyEvent.VK_S, Shortcut. GROUPS_ALT2+Shortcut.GROUP_MENU)26 Shortcut.registerShortcut("tools:sourcetag", tr("Tool: {0}", tr("Add Source Tag")), KeyEvent.VK_S, Shortcut.ALT_CTRL) 27 27 , true); 28 28 source = Main.pref.get("sourcetag.value"); -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/AdjacentNodesAction.java
r25876 r27852 25 25 super(tr("Adjacent nodes"), "adjnodes", tr("Select adjacent nodes"), 26 26 Shortcut.registerShortcut("tools:adjnodes", tr("Tool: {0}","Adjacent nodes"), 27 KeyEvent.VK_E, Shortcut. GROUP_EDIT), true);27 KeyEvent.VK_E, Shortcut.DIRECT), true); 28 28 putValue("help", ht("/Action/AdjacentNodes")); 29 29 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/AdjacentWaysAction.java
r27761 r27852 26 26 tr("Adjacent ways will be selected. Nodes will be deselected."), 27 27 Shortcut.registerShortcut("tools:adjways", tr("Tool: {0}","Adjacent ways"), 28 KeyEvent.VK_E, Shortcut. GROUPS_ALT1+Shortcut.GROUP_EDIT), true);28 KeyEvent.VK_E, Shortcut.SHIFT), true); 29 29 putValue("help", ht("/Action/AdjacentWays")); 30 30 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/ConnectedWaysAction.java
r27761 r27852 23 23 super(tr("All connected ways"), "adjwaysall", tr("Select all connected ways"), 24 24 Shortcut.registerShortcut("tools:adjwaysall", tr("Tool: {0}","All connected ways"), 25 KeyEvent.VK_E, Shortcut. GROUPS_ALT1+Shortcut.GROUP_MENU), true);25 KeyEvent.VK_E, Shortcut.CTRL_SHIFT), true); 26 26 putValue("help", ht("/Action/SelectConnectedWays")); 27 27 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/IntersectedWaysAction.java
r26644 r27852 25 25 super(tr("Intersecting ways"), "intway", tr("Select intersecting ways"), 26 26 Shortcut.registerShortcut("tools:intway", tr("Tool: {0}","Intersecting ways"), 27 KeyEvent.VK_I, Shortcut. GROUP_EDIT), true);27 KeyEvent.VK_I, Shortcut.DIRECT), true); 28 28 putValue("help", ht("/Action/SelectIntersectingWays")); 29 29 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/IntersectedWaysRecursiveAction.java
r27841 r27852 25 25 super(tr("All intersecting ways"), "intwayall", tr("Select all intersecting ways"), 26 26 Shortcut.registerShortcut("tools:intwayall", tr("Tool: {0}","All intersecting ways"), 27 KeyEvent.VK_MULTIPLY, Shortcut. GROUP_MENU), true);27 KeyEvent.VK_MULTIPLY, Shortcut.CTRL), true); 28 28 putValue("help", ht("/Action/SelectAllIntersectingWays")); 29 29 -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/MiddleNodesAction.java
r27761 r27852 27 27 super(tr("Middle nodes"), "midnodes", tr("Select middle nodes"), 28 28 Shortcut.registerShortcut("tools:midnodes", tr("Tool: {0}","Middle nodes"), 29 KeyEvent.VK_E, Shortcut. GROUPS_ALT1+Shortcut.GROUP_DIRECT2), true);29 KeyEvent.VK_E, Shortcut.ALT_SHIFT), true); 30 30 putValue("help", ht("/Action/MiddleNodes")); 31 31 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectAllInsideAction.java
r27761 r27852 29 29 super(tr("All inside [testing]"), "selinside", tr("Select all inside selected polygons"), 30 30 Shortcut.registerShortcut("tools:selinside", tr("Tool: {0}","All inside"), 31 KeyEvent.VK_I, Shortcut. GROUPS_ALT1+Shortcut.GROUP_DIRECT2), true);31 KeyEvent.VK_I, Shortcut.ALT_SHIFT), true); 32 32 putValue("help", ht("/Action/SelectAllInside")); 33 33 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectBoundaryAction.java
r27761 r27852 36 36 super(tr("Area boundary [testing]"), "selboundary", tr("Select relation or all ways that forms area boundary"), 37 37 Shortcut.registerShortcut("tools:selboundary", tr("Tool: {0}","Area boundary [testing]"), 38 KeyEvent.VK_SLASH, Shortcut. GROUPS_ALT1+Shortcut.GROUP_EDIT), true);38 KeyEvent.VK_SLASH, Shortcut.SHIFT), true); 39 39 putValue("help", ht("/Action/SelectAreaBoundary")); 40 40 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectHighwayAction.java
r27761 r27852 24 24 super(tr("Select Highway"), "selecthighway", tr("Select highway for the name/ref given"), 25 25 Shortcut.registerShortcut("tools:selecthighway", tr("Tool: {0}","Select Highway"), 26 KeyEvent.VK_W, Shortcut. GROUPS_ALT2+Shortcut.GROUP_MENU), true);26 KeyEvent.VK_W, Shortcut.ALT_CTRL), true); 27 27 } 28 28 -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectModNodesAction.java
r27761 r27852 28 28 tr("Select last modified nodes"), 29 29 Shortcut.registerShortcut("tools:selmodnodes", tr("Tool: {0}","Select last modified nodes"), 30 KeyEvent.VK_Z, Shortcut. GROUPS_ALT1+Shortcut.GROUP_EDIT), true);30 KeyEvent.VK_Z, Shortcut.SHIFT), true); 31 31 putValue("help", ht("/Action/SelectLastModifiedNodes")); 32 32 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectModWaysAction.java
r27834 r27852 28 28 tr("Select last modified ways"), 29 29 Shortcut.registerShortcut("tools:selmodways", tr("Tool: {0}","Select last modified ways"), 30 KeyEvent.VK_Z, Shortcut. GROUP_DIRECT2+Shortcut.GROUPS_ALT1), true);30 KeyEvent.VK_Z, Shortcut.ALT_SHIFT), true); 31 31 putValue("help", ht("/Action/SelectLastModifiedWays")); 32 32 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/SelectWayNodesAction.java
r27761 r27852 31 31 public SelectWayNodesAction() { 32 32 super(tr("Select Way Nodes"),"selectwaynodes" , tr("Select all nodes of a selected way."), 33 Shortcut.registerShortcut("tools:selectwaynodes", tr("Tool: {0}", tr("Select Way Nodes")), KeyEvent.VK_N, Shortcut. GROUPS_ALT1+Shortcut.GROUP_MENU), true);33 Shortcut.registerShortcut("tools:selectwaynodes", tr("Tool: {0}", tr("Select Way Nodes")), KeyEvent.VK_N, Shortcut.CTRL_SHIFT), true); 34 34 putValue("help", ht("/Action/SelectWayNodes")); 35 35 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/UndoSelectionAction.java
r27761 r27852 27 27 tr("Reselect last added object or selection form history"), 28 28 Shortcut.registerShortcut("tools:undoselection", tr("Tool: {0}","Undo selection"), 29 KeyEvent.VK_Z, Shortcut. GROUPS_ALT1+Shortcut.GROUP_MENU), true);29 KeyEvent.VK_Z, Shortcut.CTRL_SHIFT), true); 30 30 putValue("help", ht("/Action/UndoSelection")); 31 31 } -
applications/editors/josm/plugins/utilsplugin2/src/utilsplugin2/selection/UnselectNodesAction.java
r27761 r27852 24 24 tr("Removes all nodes from selection"), 25 25 Shortcut.registerShortcut("tools:unsnodes", tr("Tool: {0}","Unselect nodes"), 26 KeyEvent.VK_U, Shortcut. GROUPS_ALT1+Shortcut.GROUP_EDIT), true);26 KeyEvent.VK_U, Shortcut.SHIFT), true); 27 27 putValue("help", ht("/Action/UnselectNodes")); 28 28 }
Note:
See TracChangeset
for help on using the changeset viewer.