Statistics
| Revision:

gvsig-raster / org.gvsig.raster.postgis / trunk / org.gvsig.raster.postgis / org.gvsig.raster.postgis.swing / org.gvsig.raster.postgis.swing.api / src / main / java / org / gvsig / raster / postgis / swing / PostGISRasterSwingManager.java @ 885

History | View | Annotate | Download (2.29 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.postgis.swing;
23

    
24

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

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

    
46
    /**
47
     * Registers a new instance of a WindowManager which provides services to
48
     * the management of the application windows.
49
     * 
50
     * @param manager
51
     *            {@link PostGISRasterWindowManager} to register in the
52
     *            ScriptingUIManager.
53
     * @see PostGISRasterWindowManager
54
     */
55
    public void registerWindowManager(PostGISRasterWindowManager manager);
56

    
57
    /**
58
     * Returns the {@link PostGISRasterWindowManager}.
59
     * 
60
     * @return {@link PostGISRasterWindowManager}
61
     * @see {@link PostGISRasterWindowManager}
62
     */
63
    public PostGISRasterWindowManager getWindowManager();
64
    
65
    /**
66
     * Creates a {@link AddLayerUI}.
67
     * 
68
     * @return {@link AddLayerUI}.
69
     */
70
    public AddLayerUI createAddLayerUI();
71
}