root / tags / v2_0_0_Build_2050 / libraries / org.gvsig.symbology / org.gvsig.symbology.swing / org.gvsig.symbology.swing.api / src / main / java / org / gvsig / symbology / swing / SymbologySwingManager.java @ 38699
History | View | Annotate | Download (2.63 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.symbology.swing; |
23 |
|
24 |
import java.util.List; |
25 |
|
26 |
import org.gvsig.gui.ColorTablePainter; |
27 |
import org.gvsig.gui.ColorTablesFactory; |
28 |
import org.gvsig.symbology.SymbologyManager; |
29 |
|
30 |
/**
|
31 |
* This class is responsible of the management of the library's swing user
|
32 |
* interface. It is the swing library's main entry point, and provides all the
|
33 |
* services to manage library swing components.
|
34 |
*
|
35 |
* @see SymbologyWindowManager
|
36 |
* @see JSymbologyServicePanel
|
37 |
* @author gvSIG team
|
38 |
* @version $Id$
|
39 |
*/
|
40 |
public interface SymbologySwingManager { |
41 |
|
42 |
/**
|
43 |
* Returns the {@link SymbologyManager}.
|
44 |
*
|
45 |
* @return {@link SymbologyManager}
|
46 |
* @see {@link SymbologyManager}
|
47 |
*/
|
48 |
public SymbologyManager getManager();
|
49 |
|
50 |
/**
|
51 |
* Returns the translation of a string.
|
52 |
*
|
53 |
* @param key
|
54 |
* String to translate
|
55 |
* @return a String with the translation of the string passed by parameter
|
56 |
*/
|
57 |
public String getTranslation(String key); |
58 |
|
59 |
/**
|
60 |
* Registers a new instance of a WindowManager which provides services to
|
61 |
* the management of the application windows.
|
62 |
*
|
63 |
* @param manager
|
64 |
* {@link SymbologyWindowManager} to register in the
|
65 |
* ScriptingUIManager.
|
66 |
* @see SymbologyWindowManager
|
67 |
*/
|
68 |
public void registerWindowManager(SymbologyWindowManager manager); |
69 |
|
70 |
/**
|
71 |
* Returns the {@link SymbologyWindowManager}.
|
72 |
*
|
73 |
* @return {@link SymbologyWindowManager}
|
74 |
* @see {@link SymbologyWindowManager}
|
75 |
*/
|
76 |
public SymbologyWindowManager getWindowManager();
|
77 |
|
78 |
public void setColorTablesFactory(ColorTablesFactory factory); |
79 |
|
80 |
public ColorTablesFactory getColorTablesFactory();
|
81 |
|
82 |
public List<ColorTablePainter> createColorTables(); |
83 |
} |