root / org.gvsig.proj / branches / refactor2018 / org.gvsig.proj / org.gvsig.proj.swing / org.gvsig.proj.swing.api / src / main / java / org / gvsig / proj / swing / CoordinateReferenceSystemSwingManager.java @ 852
History | View | Annotate | Download (3.34 KB)
1 | 7 | cordinyana | /**
|
---|---|---|---|
2 | * gvSIG. Desktop Geographic Information System.
|
||
3 | *
|
||
4 | * Copyright (C) 2007-2012 gvSIG Association.
|
||
5 | *
|
||
6 | * This program is free software; you can redistribute it and/or
|
||
7 | * modify it under the terms of the GNU General Public License
|
||
8 | * as published by the Free Software Foundation; either version 2
|
||
9 | * of the License, or (at your option) any later version.
|
||
10 | *
|
||
11 | * This program is distributed in the hope that it will be useful,
|
||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
14 | * GNU General Public License for more details.
|
||
15 | *
|
||
16 | * You should have received a copy of the GNU General Public License
|
||
17 | * along with this program; if not, write to the Free Software
|
||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
19 | * MA 02110-1301, USA.
|
||
20 | *
|
||
21 | * For any additional information, do not hesitate to contact us
|
||
22 | * at info AT gvsig.com, or visit our website www.gvsig.com.
|
||
23 | */
|
||
24 | package org.gvsig.proj.swing; |
||
25 | |||
26 | 852 | cmartinez | import org.gvsig.proj.CoordinateReferenceSystem; |
27 | 24 | cordinyana | import org.gvsig.proj.CoordinateReferenceSystemManager; |
28 | 852 | cmartinez | import org.gvsig.proj.CoordinateTransformation; |
29 | 814 | cmartinez | import org.gvsig.proj.catalog.CRSCatalogManager; |
30 | 7 | cordinyana | import org.gvsig.tools.swing.api.windowmanager.WindowManager; |
31 | 852 | cmartinez | import org.gvsig.tools.swing.icontheme.IconTheme; |
32 | 7 | cordinyana | |
33 | /**
|
||
34 | * This class is responsible of the management of the library's swing user
|
||
35 | * interface. It is the swing library's main entry point, and provides all the
|
||
36 | * services to manage library swing components.
|
||
37 | *
|
||
38 | * @see JProjServicePanel
|
||
39 | * @author gvSIG team
|
||
40 | * @version $Id$
|
||
41 | */
|
||
42 | 24 | cordinyana | public interface CoordinateReferenceSystemSwingManager { |
43 | 7 | cordinyana | |
44 | /**
|
||
45 | 24 | cordinyana | * Returns the component to select a CoordinateReferenceSystem.
|
46 | 7 | cordinyana | *
|
47 | 24 | cordinyana | * @return a {@link CoordinateReferenceSystemSelectorComponent} to select a
|
48 | * CoordinateReferenceSystem
|
||
49 | 7 | cordinyana | */
|
50 | 24 | cordinyana | CoordinateReferenceSystemSelectorComponent createCoordinateReferenceSystemSelectionComponent(); |
51 | 7 | cordinyana | |
52 | /**
|
||
53 | 793 | cmartinez | * Returns the component to select a CoordinateTransformation.
|
54 | *
|
||
55 | * @return a {@link CoordinateTransformationSelectorComponent} to select a
|
||
56 | * CoordinateTransformation
|
||
57 | */
|
||
58 | CoordinateTransformationSelectorComponent createCoordinateTransformSelectionComponent(); |
||
59 | 852 | cmartinez | |
60 | RecentHistory<CoordinateReferenceSystem> getCoordinateReferenceSystemHistory(); |
||
61 | |||
62 | RecentHistory<CoordinateTransformation> getTransformationHistory(); |
||
63 | |||
64 | RecentHistory<String> getCoordinateReferenceSystemTextFilterHistory();
|
||
65 | |||
66 | RecentHistory<String> getTransformationTextFilterHistory();
|
||
67 | |||
68 | //List<IProjection> getCoordinateReferenceSystemFavorites();
|
||
69 | //List<IProjection> getTransformationFavorites();
|
||
70 | 793 | cmartinez | |
71 | /**
|
||
72 | 24 | cordinyana | * Returns the {@link CoordinateReferenceSystemManager}.
|
73 | 7 | cordinyana | *
|
74 | 24 | cordinyana | * @return {@link CoordinateReferenceSystemManager}
|
75 | * @see {@link CoordinateReferenceSystemManager}
|
||
76 | 7 | cordinyana | */
|
77 | 852 | cmartinez | CoordinateReferenceSystemManager getCRSManager(); |
78 | 814 | cmartinez | |
79 | 852 | cmartinez | IconTheme getIconTheme(); |
80 | |||
81 | 814 | cmartinez | CRSCatalogManager getCatalogManager(); |
82 | 7 | cordinyana | |
83 | /**
|
||
84 | * Returns the translation of a string.
|
||
85 | *
|
||
86 | * @param key
|
||
87 | * String to translate
|
||
88 | * @return a String with the translation of the string passed by parameter
|
||
89 | */
|
||
90 | 24 | cordinyana | String getTranslation(String key); |
91 | 7 | cordinyana | |
92 | /**
|
||
93 | * Returns the {@link WindowManager}.
|
||
94 | *
|
||
95 | * @return {@link WindowManager}
|
||
96 | */
|
||
97 | 24 | cordinyana | WindowManager getWindowManager(); |
98 | 7 | cordinyana | } |