Ignore:
Timestamp:
2012-12-25T23:43:22+01:00 (11 years ago)
Author:
Don-vip
Message:

Allow to access directly to validator preferences from validator dialog with a small preferences button left to pin button.
Generic approach in order to be reused by plugins using dialogs.
This leads to some changes in preferences settings system, but without any break in compatibility.
The only impact is the deprecation of some public JTabbedPane fields, that will be removed mid-2013.

File:
1 edited

Legend:

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

    r5532 r5631  
    22package org.openstreetmap.josm.gui.dialogs;
    33
    4 import static org.openstreetmap.josm.tools.I18n.marktr;
    54import static org.openstreetmap.josm.tools.I18n.tr;
    65
     
    9392        super(tr("Validation Results"), "validator", tr("Open the validation window."),
    9493                Shortcut.registerShortcut("subwindow:validator", tr("Toggle: {0}", tr("Validation results")),
    95                         KeyEvent.VK_V, Shortcut.ALT_SHIFT), 150);
     94                        KeyEvent.VK_V, Shortcut.ALT_SHIFT), 150, false, ValidatorPreference.class);
    9695
    9796        popupMenu = new JPopupMenu();
Note: See TracChangeset for help on using the changeset viewer.