Changeset 460 in josm for trunk


Ignore:
Timestamp:
2007-11-09T23:56:29+01:00 (16 years ago)
Author:
(none)
Message:

make the menu look more like the standard JAVA menu:

  • add a seperator between new/open and save entries in File menu
  • append " ..." for every menu item that leads to a dialog box requesting further information

this also fixes bug #459

Location:
trunk/src/org/openstreetmap/josm
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/DownloadAction.java

    r435 r460  
    3131       
    3232        public DownloadAction() {
    33                 super(tr("Download from OSM"), "download", tr("Download map data from the OSM server."), KeyEvent.VK_D, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK, true);
     33                super(tr("Download from OSM ..."), "download", tr("Download map data from the OSM server."), KeyEvent.VK_D, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK, true);
    3434        }
    3535
  • trunk/src/org/openstreetmap/josm/actions/GpxExportAction.java

    r444 r460  
    4646
    4747        public GpxExportAction(Layer layer) {
    48                 super(tr("Export to GPX"), "exportgpx", tr("Export the data to GPX file."), KeyEvent.VK_E, InputEvent.CTRL_DOWN_MASK);
     48                super(tr("Export to GPX ..."), "exportgpx", tr("Export the data to GPX file."), KeyEvent.VK_E, InputEvent.CTRL_DOWN_MASK);
    4949                this.layer = layer;
    5050        }
  • trunk/src/org/openstreetmap/josm/actions/OpenAction.java

    r444 r460  
    4141         */
    4242        public OpenAction() {
    43                 super(tr("Open"), "open", tr("Open a file."), KeyEvent.VK_O, InputEvent.CTRL_DOWN_MASK);
     43                super(tr("Open ..."), "open", tr("Open a file."), KeyEvent.VK_O, InputEvent.CTRL_DOWN_MASK);
    4444        }
    4545
  • trunk/src/org/openstreetmap/josm/actions/PreferencesAction.java

    r298 r460  
    2727         */
    2828        public PreferencesAction() {
    29                 super(tr("Preferences"), "preference", tr("Open a preferences page for global settings."), KeyEvent.VK_F12, 0, true);
     29                super(tr("Preferences ..."), "preference", tr("Open a preferences page for global settings."), KeyEvent.VK_F12, 0, true);
    3030        }
    3131
  • trunk/src/org/openstreetmap/josm/actions/SaveAsAction.java

    r444 r460  
    2222         */
    2323        public SaveAsAction(Layer layer) {
    24                 super(tr("Save as"), "save_as", tr("Save the current data to a new file."), KeyEvent.VK_S, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK, layer);
     24                super(tr("Save as ..."), "save_as", tr("Save the current data to a new file."), KeyEvent.VK_S, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK, layer);
    2525        }
    2626       
  • trunk/src/org/openstreetmap/josm/actions/UploadAction.java

    r298 r460  
    6060
    6161        public UploadAction() {
    62                 super(tr("Upload to OSM"), "upload", tr("Upload all changes to the OSM server."), KeyEvent.VK_U, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK, true);
     62                super(tr("Upload to OSM ..."), "upload", tr("Upload all changes to the OSM server."), KeyEvent.VK_U, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK, true);
    6363
    6464                /**
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r298 r460  
    2828
    2929    public SearchAction() {
    30         super(tr("Search"), "dialogs/search", tr("Search for objects."), KeyEvent.VK_F, KeyEvent.CTRL_DOWN_MASK, true);
     30        super(tr("Search ..."), "dialogs/search", tr("Search for objects."), KeyEvent.VK_F, KeyEvent.CTRL_DOWN_MASK, true);
    3131    }
    3232
  • trunk/src/org/openstreetmap/josm/gui/MainMenu.java

    r450 r460  
    109109                current = fileMenu.add(open);
    110110                current.setAccelerator(open.shortCut);
     111                fileMenu.addSeparator();
    111112                current = fileMenu.add(save);
    112113                current.setAccelerator(save.shortCut);
Note: See TracChangeset for help on using the changeset viewer.