Last change
on this file since 3083 was 3083, checked in by bastiK, 14 years ago |
added svn:eol-style=native to source files
|
-
Property svn:eol-style
set to
native
|
File size:
861 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.projection;
|
---|
3 |
|
---|
4 | import java.util.Collection;
|
---|
5 |
|
---|
6 | import javax.swing.JPanel;
|
---|
7 |
|
---|
8 | public interface ProjectionSubPrefs {
|
---|
9 | /**
|
---|
10 | * Generates the GUI for the given preference and packs them in a JPanel
|
---|
11 | * so they may be displayed if the projection is selected.
|
---|
12 | */
|
---|
13 | public void setupPreferencePanel(JPanel p);
|
---|
14 |
|
---|
15 | /**
|
---|
16 | * Will be called if the preference dialog is dismissed.
|
---|
17 | */
|
---|
18 | public Collection<String> getPreferences(JPanel p);
|
---|
19 |
|
---|
20 | /**
|
---|
21 | * Return null when code is not part of this projection.
|
---|
22 | */
|
---|
23 | public Collection<String> getPreferencesFromCode(String code);
|
---|
24 |
|
---|
25 | /**
|
---|
26 | * Will be called if the preference dialog is dismissed.
|
---|
27 | * argument may be null to reset everything
|
---|
28 | */
|
---|
29 | public void setPreferences(Collection<String> args);
|
---|
30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.