Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.library / org.gvsig.symbology / org.gvsig.symbology.swing / org.gvsig.symbology.swing.api / src / main / java / org / gvsig / symbology / swing / SymbologySwingManager.java @ 40560

History | View | Annotate | Download (2.68 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 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 3
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.symbology.swing;
25

    
26
import java.util.List;
27

    
28
import org.gvsig.gui.ColorTablePainter;
29
import org.gvsig.gui.ColorTablesFactory;
30
import org.gvsig.symbology.SymbologyManager;
31

    
32
/**
33
 * This class is responsible of the management of the library's swing user
34
 * interface. It is the swing library's main entry point, and provides all the
35
 * services to manage library swing components.
36
 * 
37
 * @see SymbologyWindowManager
38
 * @see JSymbologyServicePanel
39
 * @author gvSIG team
40
 * @version $Id$
41
 */
42
public interface SymbologySwingManager {
43

    
44
    /**
45
     * Returns the {@link SymbologyManager}.
46
     * 
47
     * @return {@link SymbologyManager}
48
     * @see {@link SymbologyManager}
49
     */
50
    public SymbologyManager getManager();
51

    
52
    /**
53
     * Returns the translation of a string.
54
     * 
55
     * @param key
56
     *            String to translate
57
     * @return a String with the translation of the string passed by parameter
58
     */
59
    public String getTranslation(String key);
60

    
61
    /**
62
     * Registers a new instance of a WindowManager which provides services to
63
     * the management of the application windows.
64
     * 
65
     * @param manager
66
     *            {@link SymbologyWindowManager} to register in the
67
     *            ScriptingUIManager.
68
     * @see SymbologyWindowManager
69
     */
70
    public void registerWindowManager(SymbologyWindowManager manager);
71

    
72
    /**
73
     * Returns the {@link SymbologyWindowManager}.
74
     * 
75
     * @return {@link SymbologyWindowManager}
76
     * @see {@link SymbologyWindowManager}
77
     */
78
    public SymbologyWindowManager getWindowManager();
79
    
80
    public void setColorTablesFactory(ColorTablesFactory factory);
81
    
82
    public ColorTablesFactory getColorTablesFactory();
83
    
84
    public List<ColorTablePainter> createColorTables();
85
}