Ignore:
Timestamp:
2016-06-24T00:30:42+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #13037 - Small fixes for unit tests (patch by michael2402) - gsoc-core

Location:
trunk/src/org/openstreetmap/josm/gui/dialogs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListDialog.java

    r10432 r10467  
    175175     * Creates a layer list and attach it to the given mapView.
    176176     * @param layerManager The layer manager this list is for
    177      */
    178     private LayerListDialog(MainLayerManager layerManager) {
     177     * @since 10467
     178     */
     179    public LayerListDialog(MainLayerManager layerManager) {
    179180        super(tr("Layers"), "layerlist", tr("Open a list of all loaded layers."),
    180181                Shortcut.registerShortcut("subwindow:layers", tr("Toggle: {0}", tr("Layers")), KeyEvent.VK_L,
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java

    r10428 r10467  
    257257        Main.pref.addPreferenceChangeListener(this);
    258258
     259        registerInWindowMenu();
     260    }
     261
     262    /**
     263     * Registers this dialog in the window menu. Called in the constructor.
     264     * @since 10467
     265     */
     266    protected void registerInWindowMenu() {
    259267        windowMenuItem = MainMenu.addWithCheckbox(Main.main.menu.windowMenu,
    260268                (JosmAction) getToggleAction(),
Note: See TracChangeset for help on using the changeset viewer.