Changeset 6097 in josm
- Timestamp:
- 2013-08-01T18:34:17+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ImageryMenu.java
r5807 r6097 82 82 private Map_Rectifier_WMSmenuAction rectaction = new Map_Rectifier_WMSmenuAction(); 83 83 84 public ImageryMenu( ) {84 public ImageryMenu(JMenu subMenu) { 85 85 super(tr("Imagery")); 86 86 setupMenuScroller(); … … 101 101 } 102 102 }); 103 MainMenu.add(subMenu, rectaction); 103 104 } 104 105 … … 163 164 164 165 addDynamicSeparator(); 165 addDynamic( rectaction);166 addDynamic(Main.main.menu.imagerySubMenu); 166 167 } 167 168 -
trunk/src/org/openstreetmap/josm/gui/MainMenu.java
r6088 r6097 232 232 public final JMenu selectionMenu = addMenu(marktr("Selection"), KeyEvent.VK_N, 6, ht("/Menu/Selection")); 233 233 public final JMenu presetsMenu = addMenu(marktr("Presets"), KeyEvent.VK_P, 7, ht("/Menu/Presets")); 234 /** 235 * submenu in Imagery menu that contains plugin-managed additional imagery layers 236 * @since 6097 237 */ 238 public final JMenu imagerySubMenu = new JMenu(tr("More...")); 234 239 public final ImageryMenu imageryMenu = 235 (ImageryMenu)addMenu(new ImageryMenu( ), marktr("Imagery"), KeyEvent.VK_I, 8, ht("/Menu/Imagery"));240 (ImageryMenu)addMenu(new ImageryMenu(imagerySubMenu), marktr("Imagery"), KeyEvent.VK_I, 8, ht("/Menu/Imagery")); 236 241 /** 237 242 * gpsMenu contains all plugin actions that are related
Note:
See TracChangeset
for help on using the changeset viewer.