Statistics
| Revision:

gvsig-osm / org.gvsig.raster.osm / trunk / org.gvsig.raster.osm / org.gvsig.raster.osm.swing / org.gvsig.raster.osm.swing.api / src / main / java / org / gvsig / raster / osm / swing / OSMSwingManager.java @ 85

History | View | Annotate | Download (1.78 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
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
 */
22
package org.gvsig.raster.osm.swing;
23

    
24
import java.io.File;
25

    
26

    
27

    
28
/**
29
 * This class is responsible of the management of the library's swing user
30
 * interface. It is the swing library's main entry point, and provides all the
31
 * services to manage library swing components.
32
 * 
33
 * @see RasterWindowManager
34
 * @see JValidationServicePanel
35
 * @author gvSIG team
36
 * @version $Id$
37
 */
38
public interface OSMSwingManager {
39

    
40
    /**
41
     * Returns the translation of a string.
42
     * 
43
     * @param key
44
     *            String to translate
45
     * @return a String with the translation of the string passed by parameter
46
     */
47
    public String getTranslation(String key);
48

    
49
    /**
50
     * Creates <b>AddOSMLayerPanel</b>
51
     * @param pathToServerList
52
     *        Path to the directory where the server list is stored
53
     * @return
54
     */
55
    public AddOSMLayerPanel createAddOSMLayerPanel(File pathToServerList);
56
   
57
}