Last change
on this file since 7937 was 7937, checked in by bastiK, 9 years ago |
add subversion property svn:eol=native
|
-
Property svn:eol-style
set to
native
|
File size:
1008 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.gui.preferences.projection;
|
---|
3 |
|
---|
4 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
5 |
|
---|
6 | import java.awt.GridBagLayout;
|
---|
7 | import java.awt.event.ActionListener;
|
---|
8 |
|
---|
9 | import javax.swing.Box;
|
---|
10 | import javax.swing.JPanel;
|
---|
11 |
|
---|
12 | import org.openstreetmap.josm.gui.widgets.HtmlPanel;
|
---|
13 | import org.openstreetmap.josm.tools.GBC;
|
---|
14 |
|
---|
15 | public class SwissGridProjectionChoice extends SingleProjectionChoice {
|
---|
16 |
|
---|
17 | /**
|
---|
18 | * Constructs a new {@code SwissGridProjectionChoice}.
|
---|
19 | */
|
---|
20 | public SwissGridProjectionChoice() {
|
---|
21 | super(tr("Swiss Grid (Switzerland)"), /* NO-ICON */ "core:swissgrid", "EPSG:21781");
|
---|
22 | }
|
---|
23 |
|
---|
24 | @Override
|
---|
25 | public JPanel getPreferencePanel(ActionListener listener) {
|
---|
26 | JPanel p = new JPanel(new GridBagLayout());
|
---|
27 | p.add(new HtmlPanel(tr("<i>CH1903 / LV03 (without local corrections)</i>")), GBC.eol().fill(GBC.HORIZONTAL));
|
---|
28 | p.add(Box.createVerticalGlue(), GBC.eol().fill(GBC.BOTH));
|
---|
29 | return p;
|
---|
30 | }
|
---|
31 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.