Changeset 27906 in osm for applications/editors/josm/plugins/CommandLine
- Timestamp:
- 2012-02-20T19:25:50+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/CommandLine/src/CommandLine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandAction.java
r27632 r27906 37 37 private Command parentCommand; 38 38 public CommandAction(Command parentCommand, CommandLine parentPlugin) { 39 super(tr(parentCommand.name), "blankmenu", tr(parentCommand.name), null, false, false);39 super(tr(parentCommand.name), "blankmenu", tr(parentCommand.name), null, true, parentCommand.name, true); 40 40 if (!parentCommand.icon.equals("")) { 41 41 try { … … 48 48 } 49 49 } 50 putValue("toolbar", parentCommand.name);51 Main.toolbar.register(this);52 installAdapters();53 50 54 51 this.parentCommand = parentCommand; -
applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLineAction.java
r27852 r27906 41 41 public CommandLineAction(CommandLine parentPlugin) { 42 42 super(tr("Command line"), "blankmenu", tr("Set input focus to the command line."), 43 Shortcut.registerShortcut(" edit:simplifyArea", tr("Tool: {0}", tr("Command line")), KeyEvent.VK_ENTER, Shortcut.DIRECT), true);43 Shortcut.registerShortcut("tool:commandline", tr("Tool: {0}", tr("Command line")), KeyEvent.VK_ENTER, Shortcut.DIRECT), true, "commandline", true); 44 44 this.parentPlugin = parentPlugin; 45 45 }
Note:
See TracChangeset
for help on using the changeset viewer.