Changeset 34251 in osm for applications
- Timestamp:
- 2018-06-04T19:26:14+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/CreatePlatformNodeThroughReplaceAction.java
r34233 r34251 54 54 public CreatePlatformNodeThroughReplaceAction() { 55 55 super(ACTION_NAME, null, ACTION_NAME, 56 Shortcut.registerShortcut(" system:CreatePlatformNodeThroughReplaceAction",57 tr("Edit: {0}", tr("CreatePlatformNodeThroughReplaceAction")), KeyEvent.VK_G, Shortcut.SHIFT),56 Shortcut.registerShortcut("tools:createplatformthruoghreplace", 57 "Tool: CreatePlatformNodeThroughReplaceAction", KeyEvent.VK_G, Shortcut.SHIFT), 58 58 false); 59 59 transferHandler = new OsmTransferHandler(); 60 60 MainApplication.registerActionShortcut(this, 61 Shortcut.registerShortcut(" system:CreatePlatformNodeThroughReplaceAction",62 tr("Edit: {0}", tr("CreatePlatformNodeThroughReplaceAction")), KeyEvent.VK_G, Shortcut.SHIFT));61 Shortcut.registerShortcut("tools:createplatformthruoghreplace", 62 "Tool: CreatePlatformNodeThroughReplaceAction", KeyEvent.VK_G, Shortcut.SHIFT)); 63 63 } 64 64 -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/CreatePlatformShortcutAction.java
r34232 r34251 53 53 */ 54 54 public CreatePlatformShortcutAction() { 55 super(ACTION_NAME, null, ACTION_NAME, Shortcut.registerShortcut(" system:CreatePlatformShortcutAction", tr("Edit: {0}", tr("CreatePlatformNodeShortcut")), KeyEvent.VK_G, Shortcut.CTRL), false);55 super(ACTION_NAME, null, ACTION_NAME, Shortcut.registerShortcut("tools:createplatformshortcut", "Tool: CreatePlatformNodeShortcut", KeyEvent.VK_G, Shortcut.CTRL), false); 56 56 transferHandler = new OsmTransferHandler(); 57 57 MainApplication.registerActionShortcut(this, 58 Shortcut.registerShortcut(" system:CreatePlatformShortcutAction", tr("Edit: {0}", tr("CreatePlatformNodeShortcut")), KeyEvent.VK_G, Shortcut.CTRL));58 Shortcut.registerShortcut("tools:createplatformshortcut", "Tool: CreatePlatformNodeShortcut", KeyEvent.VK_G, Shortcut.CTRL)); 59 59 } 60 60 -
applications/editors/josm/plugins/pt_assistant/src/org/openstreetmap/josm/plugins/pt_assistant/actions/ExtractPlatformNodeAction.java
r34231 r34251 43 43 public ExtractPlatformNodeAction() { 44 44 super(tr("Extract platform node"), null, tr("Extracts platform node from a node"), Shortcut.registerShortcut( 45 "tools:ext node", tr("Tool: {0}", "Extract platform node"), KeyEvent.VK_G, Shortcut.ALT_CTRL), false);45 "tools:extplatformnode", "Tool: Extract platform node", KeyEvent.VK_G, Shortcut.ALT_CTRL), false); 46 46 putValue("help", ht("/Action/ExtractPlatformNode")); 47 MainApplication.registerActionShortcut(this, Shortcut.registerShortcut(" system:ExtractPlatformNodeAction",48 tr("Edit: {0}", tr("ExtractPlatformNodeAction")), KeyEvent.VK_G, Shortcut.ALT_CTRL));47 MainApplication.registerActionShortcut(this, Shortcut.registerShortcut("tools:extplatformnode", 48 "Tool: ExtractPlatformNodeAction", KeyEvent.VK_G, Shortcut.ALT_CTRL)); 49 49 } 50 50
Note:
See TracChangeset
for help on using the changeset viewer.