Changeset 27906 in osm for applications/editors/josm/plugins
- Timestamp:
- 2012-02-20T19:25:50+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 10 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 } -
applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/LoadImageAction.java
r26452 r27906 29 29 */ 30 30 public LoadImageAction() { 31 super(tr("Import image"), null, tr("Import georeferenced image"), null, false );31 super(tr("Import image"), null, tr("Import georeferenced image"), null, false, "importimage/loadimage", true); 32 32 } 33 33 -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java
r27881 r27906 26 26 super(tr(name), "cadastre_small", tr("Download Image from French Cadastre WMS"), 27 27 Shortcut.registerShortcut("cadastre:grab", tr("Cadastre: {0}", tr("Download Image from French Cadastre WMS")), 28 KeyEvent.VK_F10, Shortcut.DIRECT), false );28 KeyEvent.VK_F10, Shortcut.DIRECT), false, "cadastrefr/grab", true); 29 29 } 30 30 -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrabPlanImage.java
r26509 r27906 54 54 55 55 public MenuActionGrabPlanImage() { 56 super(tr(name), "cadastre_small", tr("Grab non-georeferenced image"), null, false );56 super(tr(name), "cadastre_small", tr("Grab non-georeferenced image"), null, false, "cadastrefr/grabplanimage", true); 57 57 } 58 58 -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionLoadFromCache.java
r26330 r27906 23 23 24 24 public MenuActionLoadFromCache() { 25 super(tr(name), "cadastre_small", tr("Load location from cache (only if cache is enabled)"), null, false );25 super(tr(name), "cadastre_small", tr("Load location from cache (only if cache is enabled)"), null, false, "cadastrefr/loadfromcache", true); 26 26 } 27 27 -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionNewLocation.java
r26228 r27906 52 52 53 53 public MenuActionNewLocation() { 54 super(tr("Change location"), "cadastre_small", tr("Set a new location for the next request"), null, false );54 super(tr("Change location"), "cadastre_small", tr("Set a new location for the next request"), null, false, "cadastrefr/newlocation", true); 55 55 } 56 56 -
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/DownloadAction2.java
r27852 r27906 29 29 public DownloadAction2() { 30 30 super(tr("Download from OSM mirror..."), null, tr("Download map data from the OSM server."), 31 Shortcut.registerShortcut("mirror:download", tr("File: {0}", tr("Download from OSM mirror...")), KeyEvent.VK_DOWN, Shortcut.ALT_SHIFT), true); 31 Shortcut.registerShortcut("mirror:download", tr("File: {0}", tr("Download from OSM mirror...")), KeyEvent.VK_DOWN, Shortcut.ALT_SHIFT), 32 true, "mirroreddownload/download", true); 32 33 putValue("help", ht("/Action/MirroredDownload")); 33 34 } -
applications/editors/josm/plugins/mirrored_download/src/mirrored_download/UrlSelectionAction.java
r27852 r27906 25 25 public UrlSelectionAction() { 26 26 super(tr("Select URL..."), null, tr("Select URL to download from."), 27 Shortcut.registerShortcut("file:selecturl", tr("File: {0}", tr("Select URL...")), KeyEvent.VK_D, Shortcut.CTRL_SHIFT), true); 27 Shortcut.registerShortcut("file:selecturl", tr("File: {0}", tr("Select URL...")), KeyEvent.VK_D, Shortcut.CTRL_SHIFT), 28 true, "mirroreddownload/urlselection", true); 28 29 putValue("help", ht("/Action/SelectUrl")); 29 30 } -
applications/editors/josm/plugins/namemanager/src/org/openstreetmap/josm/plugins/namemanager/listeners/NameManagerAction.java
r25594 r27906 37 37 */ 38 38 public NameManagerAction() { 39 super(tr(NAME_MANAGER), NAME_MANAGER_MENU, tr(ATTRIBUTE_DISTRICTS), null, true );39 super(tr(NAME_MANAGER), NAME_MANAGER_MENU, tr(ATTRIBUTE_DISTRICTS), null, true, "namemanager", true); 40 40 DataSet.addSelectionListener(this); 41 41 setEnabled(false);
Note:
See TracChangeset
for help on using the changeset viewer.