Changeset 35579 in osm for applications/editors/josm/plugins/utilsplugin2
- Timestamp:
- 2020-10-13T21:15:06+02:00 (4 years ago)
- Location:
- applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/AddIntersectionsAction.java
r34812 r35579 38 38 public AddIntersectionsAction() { 39 39 super(tr("Add nodes at intersections"), "addintersect", tr("Add missing nodes at intersections of selected ways."), 40 Shortcut.registerShortcut("tools:addintersect", tr(" Tool: {0}", tr("Add nodes at intersections")),40 Shortcut.registerShortcut("tools:addintersect", tr("More tools: {0}", tr("Add nodes at intersections")), 41 41 KeyEvent.VK_I, Shortcut.SHIFT), 42 42 true); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/AlignWayNodesAction.java
r34812 r35579 40 40 public AlignWayNodesAction() { 41 41 super(TITLE, "dumbutils/alignwaynodes", tr("Align nodes in a way"), 42 Shortcut.registerShortcut("tools:alignwaynodes", tr(" Tool: {0}", tr("Align Way Nodes")), KeyEvent.VK_L, Shortcut.SHIFT),42 Shortcut.registerShortcut("tools:alignwaynodes", tr("More tools: {0}", tr("Align Way Nodes")), KeyEvent.VK_L, Shortcut.SHIFT), 43 43 true); 44 44 } -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/ExtractPointAction.java
r34812 r35579 40 40 super(tr("Extract node"), "extnode", 41 41 tr("Extracts node from a way"), 42 Shortcut.registerShortcut("tools:extnode", tr(" Tool: {0}", "Extract node"),42 Shortcut.registerShortcut("tools:extnode", tr("More tools: {0}", "Extract node"), 43 43 KeyEvent.VK_J, Shortcut.ALT_SHIFT), true); 44 44 putValue("help", ht("/Action/ExtractNode")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/PasteRelationsAction.java
r35476 r35579 40 40 public PasteRelationsAction() { 41 41 super(TITLE, "dumbutils/pasterelations", tr("Paste relation membership from objects in the buffer onto selected object(s)"), 42 Shortcut.registerShortcut("tools:pasterelations", tr("Tool: {0}", tr("Paste Relations")), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), 42 Shortcut.registerShortcut("tools:pasterelations", tr("More tools: {0}", tr("Paste Relations")), KeyEvent.CHAR_UNDEFINED, 43 Shortcut.NONE), 43 44 true); 44 45 } -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/SplitObjectAction.java
r35476 r35579 44 44 public SplitObjectAction() { 45 45 super(tr("Split Object"), "splitobject", tr("Split an object at the selected nodes."), 46 Shortcut.registerShortcut("tools:splitobject", tr(" Tool: {0}", tr("Split Object")), KeyEvent.VK_X, Shortcut.ALT),46 Shortcut.registerShortcut("tools:splitobject", tr("More tools: {0}", tr("Split Object")), KeyEvent.VK_X, Shortcut.ALT), 47 47 true); 48 48 putValue("help", ht("/Action/SplitObject")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/SplitOnIntersectionsAction.java
r35476 r35579 37 37 public SplitOnIntersectionsAction() { 38 38 super(TITLE, "dumbutils/splitonintersections", TOOL_DESC, 39 Shortcut.registerShortcut("tools:splitonintersections", tr(" Tool: {0}", tr("Split adjacent ways")),39 Shortcut.registerShortcut("tools:splitonintersections", tr("More tools: {0}", tr("Split adjacent ways")), 40 40 KeyEvent.VK_P, Shortcut.ALT_CTRL_SHIFT), 41 41 true); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/SymmetryAction.java
r35436 r35579 40 40 public SymmetryAction() { 41 41 super(tr("Symmetry"), "symmetry", tr("Mirror selected nodes and ways."), 42 Shortcut.registerShortcut("tools:symmetry", tr(" Tool: {0}", tr("Symmetry")),42 Shortcut.registerShortcut("tools:symmetry", tr("More tools: {0}", tr("Symmetry")), 43 43 KeyEvent.VK_S, Shortcut.ALT_SHIFT), true); 44 44 putValue("help", ht("/Action/Symmetry")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/TagBufferAction.java
r34913 r35579 36 36 public TagBufferAction() { 37 37 super(TITLE, "dumbutils/tagbuffer", tr("Paste tags from the previously selected object(s) (not from clipboard)."), 38 Shortcut.registerShortcut("tools:tagbuffer", tr(" Tool: {0}", tr("Paste tags from previous selection")),38 Shortcut.registerShortcut("tools:tagbuffer", tr("More tools: {0}", tr("Paste tags from previous selection")), 39 39 KeyEvent.VK_R, Shortcut.SHIFT), 40 40 true, false); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/TagSourceAction.java
r34816 r35579 29 29 public TagSourceAction() { 30 30 super(TITLE, "dumbutils/sourcetag", tr("Add remembered source tag"), 31 Shortcut.registerShortcut("tools:sourcetag", tr(" Tool: {0}", tr("Add Source Tag")), KeyEvent.VK_S, Shortcut.ALT_CTRL),31 Shortcut.registerShortcut("tools:sourcetag", tr("More tools: {0}", tr("Add Source Tag")), KeyEvent.VK_S, Shortcut.ALT_CTRL), 32 32 true, false); 33 33 source = Config.getPref().get("sourcetag.value"); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/actions/UnGlueRelationAction.java
r34812 r35579 41 41 public UnGlueRelationAction() { 42 42 super(tr("UnGlue Relation"), "ungluerelations", tr("Duplicate nodes, ways and relations that are used by multiple relations."), 43 Shortcut.registerShortcut("tools:ungluerelation", tr(" Tool: {0}", tr("UnGlue Relations")), KeyEvent.VK_G, Shortcut.ALT_SHIFT),43 Shortcut.registerShortcut("tools:ungluerelation", tr("More tools: {0}", tr("UnGlue Relation")), KeyEvent.VK_G, Shortcut.ALT_SHIFT), 44 44 true); 45 45 putValue("help", ht("/Action/UnGlueRelation")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/curves/CurveAction.java
r35440 r35579 35 35 public CurveAction() { 36 36 super(tr("Circle arc"), "circlearc", tr("Create a circle arc"), 37 Shortcut.registerShortcut("tools:createcurve", tr("Tool: {0}", tr("Create a circle arc")), KeyEvent.VK_C, 38 Shortcut.SHIFT), true); 37 Shortcut.registerShortcut("tools:createcurve", tr("More tools: {0}", tr("Circle arc")), KeyEvent.VK_C, Shortcut.SHIFT), true); 39 38 putValue("help", ht("/Action/CreateCircleArc")); 40 39 } -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/customurl/OpenPageAction.java
r35476 r35579 36 36 super(tr("Open custom URL"), "openurl", 37 37 tr("Opens specified URL browser"), 38 Shortcut.registerShortcut("tools:openurl", tr(" Tool: {0}", tr("Open custom URL")),38 Shortcut.registerShortcut("tools:openurl", tr("Data: {0}", tr("Open custom URL")), 39 39 KeyEvent.VK_H, Shortcut.SHIFT), true); 40 40 putValue("help", ht("/Action/OpenPage")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/latlon/LatLonAction.java
r35472 r35579 32 32 public LatLonAction() { 33 33 super(tr("Lat Lon tool"), "latlon", tr("Create geometry by entering lat lon coordinates for it."), 34 Shortcut.registerShortcut("latlon", tr(" Edit: {0}", tr("Lat Lon tool")), KeyEvent.VK_L, Shortcut.CTRL_SHIFT), true);34 Shortcut.registerShortcut("latlon", tr("More tools: {0}", tr("Lat Lon tool")), KeyEvent.VK_L, Shortcut.CTRL_SHIFT), true); 35 35 putValue("help", ht("/Action/AddNode")); 36 36 } -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/multitagger/MultiTagAction.java
r35436 r35579 25 25 public MultiTagAction() { 26 26 super(tr("Tag multiple objects [alpha]"), (String) null, tr("Edit tags of object list in table"), 27 Shortcut.registerShortcut("multitag", tr(" Edit: {0}", tr("Tag multiple objects")), KeyEvent.VK_T, Shortcut.CTRL),27 Shortcut.registerShortcut("multitag", tr("Data: {0}", tr("Tag multiple objects")), KeyEvent.VK_T, Shortcut.CTRL), 28 28 true, "multitag", true); 29 29 putValue("help", ht("/Action/MultiTag")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/replacegeometry/ReplaceGeometryAction.java
r34844 r35579 28 28 public ReplaceGeometryAction() { 29 29 super(TITLE, "dumbutils/replacegeometry", tr("Replace geometry of selected object with a new one"), 30 Shortcut.registerShortcut("tools:replacegeometry", tr(" Tool: {0}", tr("Replace Geometry")), KeyEvent.VK_G, Shortcut.CTRL_SHIFT),30 Shortcut.registerShortcut("tools:replacegeometry", tr("More tools: {0}", tr("Replace Geometry")), KeyEvent.VK_G, Shortcut.CTRL_SHIFT), 31 31 true); 32 32 } -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/AdjacentNodesAction.java
r35476 r35579 28 28 public AdjacentNodesAction() { 29 29 super(tr("Adjacent nodes"), "adjnodes", tr("Select adjacent nodes"), 30 Shortcut.registerShortcut("tools:adjnodes", tr(" Tool: {0}", "Adjacent nodes"),30 Shortcut.registerShortcut("tools:adjnodes", tr("Selection: {0}", tr("Adjacent nodes")), 31 31 KeyEvent.VK_E, Shortcut.DIRECT), true); 32 32 putValue("help", ht("/Action/AdjacentNodes")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/AdjacentWaysAction.java
r35476 r35579 28 28 super(tr("Adjacent ways"), "adjways", 29 29 tr("Adjacent ways will be selected. Nodes will be deselected."), 30 Shortcut.registerShortcut("tools:adjways", tr(" Tool: {0}", "Adjacent ways"),30 Shortcut.registerShortcut("tools:adjways", tr("Selection: {0}", tr("Adjacent ways")), 31 31 KeyEvent.VK_E, Shortcut.SHIFT), true); 32 32 putValue("help", ht("/Action/AdjacentWays")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/ConnectedWaysAction.java
r35476 r35579 25 25 public ConnectedWaysAction() { 26 26 super(tr("All connected ways"), "adjwaysall", tr("Select all connected ways"), 27 Shortcut.registerShortcut("tools:adjwaysall", tr(" Tool: {0}", "All connected ways"),27 Shortcut.registerShortcut("tools:adjwaysall", tr("Selection: {0}", tr("All connected ways")), 28 28 KeyEvent.VK_E, Shortcut.CTRL_SHIFT), true); 29 29 putValue("help", ht("/Action/SelectConnectedWays")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/IntersectedWaysAction.java
r35476 r35579 27 27 public IntersectedWaysAction() { 28 28 super(tr("Intersecting ways"), "intway", tr("Select intersecting ways"), 29 Shortcut.registerShortcut("tools:intway", tr(" Tool: {0}", "Intersecting ways"),29 Shortcut.registerShortcut("tools:intway", tr("Selection: {0}", tr("Intersecting ways")), 30 30 KeyEvent.VK_I, Shortcut.DIRECT), true); 31 31 putValue("help", ht("/Action/SelectIntersectingWays")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/IntersectedWaysRecursiveAction.java
r35476 r35579 27 27 public IntersectedWaysRecursiveAction() { 28 28 super(tr("All intersecting ways"), "intwayall", tr("Select all intersecting ways"), 29 Shortcut.registerShortcut("tools:intwayall", tr(" Tool: {0}", "All intersecting ways"),29 Shortcut.registerShortcut("tools:intwayall", tr("Selection: {0}", tr("All intersecting ways")), 30 30 KeyEvent.VK_MULTIPLY, Shortcut.CTRL), true); 31 31 putValue("help", ht("/Action/SelectAllIntersectingWays")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/MiddleNodesAction.java
r35476 r35579 29 29 public MiddleNodesAction() { 30 30 super(tr("Middle nodes"), "midnodes", tr("Select middle nodes"), 31 Shortcut.registerShortcut("tools:midnodes", tr(" Tool: {0}", "Middle nodes"), KeyEvent.VK_E, Shortcut.ALT_SHIFT), true);31 Shortcut.registerShortcut("tools:midnodes", tr("Selection: {0}", tr("Middle nodes")), KeyEvent.VK_E, Shortcut.ALT_SHIFT), true); 32 32 putValue("help", ht("/Action/MiddleNodes")); 33 33 } -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectAllInsideAction.java
r35476 r35579 25 25 public SelectAllInsideAction() { 26 26 super(tr("All inside [testing]"), "selinside", tr("Select all inside selected polygons"), 27 Shortcut.registerShortcut("tools:selinside", tr(" Tool: {0}", "All inside"),27 Shortcut.registerShortcut("tools:selinside", tr("Selection: {0}", tr("All inside")), 28 28 KeyEvent.VK_I, Shortcut.ALT_SHIFT), true); 29 29 putValue("help", ht("/Action/SelectAllInside")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectBoundaryAction.java
r35476 r35579 34 34 public SelectBoundaryAction() { 35 35 super(tr("Area boundary [testing]"), "selboundary", tr("Select relation or all ways that forms area boundary"), 36 Shortcut.registerShortcut("tools:selboundary", tr(" Tool: {0}", "Area boundary [testing]"),36 Shortcut.registerShortcut("tools:selboundary", tr("Selection: {0}", tr("Area boundary [testing]")), 37 37 KeyEvent.VK_SLASH, Shortcut.SHIFT), true); 38 38 putValue("help", ht("/Action/SelectAreaBoundary")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectHighwayAction.java
r35476 r35579 35 35 public SelectHighwayAction() { 36 36 super(tr("Select Highway"), "selecthighway", tr("Select highway for the name/ref given"), 37 Shortcut.registerShortcut("tools:selecthighway", tr(" Tool: {0}", "Select Highway"),37 Shortcut.registerShortcut("tools:selecthighway", tr("Selection: {0}", tr("Select Highway")), 38 38 KeyEvent.VK_W, Shortcut.ALT_CTRL), true); 39 39 } -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectModNodesAction.java
r35472 r35579 28 28 super(tr("Select last modified nodes"), "selmodnodes", 29 29 tr("Select last modified nodes"), 30 Shortcut.registerShortcut("tools:selmodnodes", tr(" Tool: {0}", "Select last modified nodes"),30 Shortcut.registerShortcut("tools:selmodnodes", tr("Selection: {0}", tr("Select last modified nodes")), 31 31 KeyEvent.VK_Z, Shortcut.SHIFT), true); 32 32 putValue("help", ht("/Action/SelectLastModifiedNodes")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectModWaysAction.java
r35472 r35579 28 28 super(tr("Select last modified ways"), "selmodways", 29 29 tr("Select last modified ways"), 30 Shortcut.registerShortcut("tools:selmodways", tr(" Tool: {0}", "Select last modified ways"),30 Shortcut.registerShortcut("tools:selmodways", tr("Selection: {0}", tr("Select last modified ways")), 31 31 KeyEvent.VK_Z, Shortcut.ALT_SHIFT), true); 32 32 putValue("help", ht("/Action/SelectLastModifiedWays")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/SelectWayNodesAction.java
r35476 r35579 27 27 public SelectWayNodesAction() { 28 28 super(tr("Select Way Nodes"), "selectwaynodes", tr("Select all nodes of a selected way."), 29 Shortcut.registerShortcut("tools:selectwaynodes", tr(" Tool: {0}", tr("Select Way Nodes")),29 Shortcut.registerShortcut("tools:selectwaynodes", tr("Selection: {0}", tr("Select Way Nodes")), 30 30 KeyEvent.VK_N, Shortcut.CTRL_SHIFT), true); 31 31 putValue("help", ht("/Action/SelectWayNodes")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/UndoSelectionAction.java
r35476 r35579 25 25 super(tr("Undo selection"), "undoselection", 26 26 tr("Reselect last added object or selection form history"), 27 Shortcut.registerShortcut("tools:undoselection", tr(" Tool: {0}", "Undo selection"),27 Shortcut.registerShortcut("tools:undoselection", tr("Selection: {0}", tr("Undo selection")), 28 28 KeyEvent.VK_Z, Shortcut.CTRL_SHIFT), true); 29 29 putValue("help", ht("/Action/UndoSelection")); -
applications/editors/josm/plugins/utilsplugin2/src/org/openstreetmap/josm/plugins/utilsplugin2/selection/UnselectNodesAction.java
r35476 r35579 24 24 super(tr("Unselect nodes"), "unsnodes", 25 25 tr("Removes all nodes from selection"), 26 Shortcut.registerShortcut("tools:unsnodes", tr(" Tool: {0}", "Unselect nodes"),26 Shortcut.registerShortcut("tools:unsnodes", tr("Selection: {0}", tr("Unselect nodes")), 27 27 KeyEvent.VK_U, Shortcut.SHIFT), true); 28 28 putValue("help", ht("/Action/UnselectNodes"));
Note:
See TracChangeset
for help on using the changeset viewer.