source: josm/trunk/src/org/openstreetmap/josm/gui/preferences/display/DisplayPreference.java@ 6380

Last change on this file since 6380 was 6380, checked in by Don-vip, 10 years ago

update license/copyright information

File size: 1.2 KB
Line 
1//License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.gui.preferences.display;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5
6import javax.swing.JTabbedPane;
7
8import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting;
9import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
10import org.openstreetmap.josm.gui.preferences.PreferenceSettingFactory;
11import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
12import org.openstreetmap.josm.tools.GBC;
13
14public final class DisplayPreference extends DefaultTabPreferenceSetting {
15 public static class Factory implements PreferenceSettingFactory {
16 @Override
17 public PreferenceSetting createPreferenceSetting() {
18 return new DisplayPreference();
19 }
20 }
21
22 private DisplayPreference() {
23 super("display", tr("Display Settings"), tr("Various settings that influence the visual representation of the whole program."), false, new JTabbedPane());
24 }
25
26 @Override
27 public boolean ok() {
28 return false;
29 }
30
31 @Override
32 public void addGui(PreferenceTabbedPane gui) {
33 gui.createPreferenceTab(this).add(getTabPane(), GBC.eol().fill(GBC.BOTH));
34 }
35}
Note: See TracBrowser for help on using the repository browser.