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.
|
---|
2 | package org.openstreetmap.josm.gui.preferences.display;
|
---|
3 |
|
---|
4 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
5 |
|
---|
6 | import javax.swing.JTabbedPane;
|
---|
7 |
|
---|
8 | import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting;
|
---|
9 | import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
|
---|
10 | import org.openstreetmap.josm.gui.preferences.PreferenceSettingFactory;
|
---|
11 | import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane;
|
---|
12 | import org.openstreetmap.josm.tools.GBC;
|
---|
13 |
|
---|
14 | public 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.