Statistics
| Revision:

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
/**
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
import org.gvsig.proj.CoordinateReferenceSystem;
27
import org.gvsig.proj.CoordinateReferenceSystemManager;
28
import org.gvsig.proj.CoordinateTransformation;
29
import org.gvsig.proj.catalog.CRSCatalogManager;
30
import org.gvsig.tools.swing.api.windowmanager.WindowManager;
31
import org.gvsig.tools.swing.icontheme.IconTheme;
32

    
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
public interface CoordinateReferenceSystemSwingManager {
43

    
44
    /**
45
     * Returns the component to select a CoordinateReferenceSystem.
46
     * 
47
     * @return a {@link CoordinateReferenceSystemSelectorComponent} to select a
48
     *         CoordinateReferenceSystem
49
     */
50
    CoordinateReferenceSystemSelectorComponent createCoordinateReferenceSystemSelectionComponent();
51

    
52
    /**
53
     * Returns the component to select a CoordinateTransformation.
54
     * 
55
     * @return a {@link CoordinateTransformationSelectorComponent} to select a
56
     *         CoordinateTransformation 
57
     */
58
    CoordinateTransformationSelectorComponent createCoordinateTransformSelectionComponent();
59
    
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

    
71
    /**
72
     * Returns the {@link CoordinateReferenceSystemManager}.
73
     * 
74
     * @return {@link CoordinateReferenceSystemManager}
75
     * @see {@link CoordinateReferenceSystemManager}
76
     */
77
    CoordinateReferenceSystemManager getCRSManager();
78
    
79
    IconTheme getIconTheme();
80
    
81
    CRSCatalogManager getCatalogManager();
82

    
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
    String getTranslation(String key);
91

    
92
    /**
93
     * Returns the {@link WindowManager}.
94
     * 
95
     * @return {@link WindowManager}
96
     */
97
    WindowManager getWindowManager();
98
}