gvsig-raster / org.gvsig.raster.georeferencing / trunk / org.gvsig.raster.georeferencing / org.gvsig.raster.georeferencing.swing / org.gvsig.raster.georeferencing.swing.api / src / main / java / org / gvsig / raster / georeferencing / swing / GeoreferencingSwingManager.java @ 1692
History | View | Annotate | Download (3.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.raster.georeferencing.swing; |
23 |
|
24 |
import java.util.List; |
25 |
|
26 |
import org.gvsig.gui.beans.buttonspanel.ButtonsPanelListener; |
27 |
import org.gvsig.raster.georeferencing.swing.control.GeorefControlPanel; |
28 |
import org.gvsig.raster.georeferencing.swing.view.GeoreferencingView; |
29 |
import org.gvsig.raster.georeferencing.swing.view.ToolListener; |
30 |
|
31 |
|
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 GeoreferencingWindowManager
|
39 |
* @see JValidationServicePanel
|
40 |
* @author gvSIG team
|
41 |
* @version $Id$
|
42 |
*/
|
43 |
public interface GeoreferencingSwingManager { |
44 |
|
45 |
/**
|
46 |
* Returns the translation of a string.
|
47 |
*
|
48 |
* @param key
|
49 |
* String to translate
|
50 |
* @return a String with the translation of the string passed by parameter
|
51 |
*/
|
52 |
public String getTranslation(String key); |
53 |
|
54 |
/**
|
55 |
* Creates a view to georeference images
|
56 |
* @param w
|
57 |
* @param h
|
58 |
* @param showInfo
|
59 |
* @param minMaxUL
|
60 |
* @param request
|
61 |
* @param toolListener
|
62 |
* @param viewListener
|
63 |
* @return
|
64 |
*/
|
65 |
public GeoreferencingView createView(
|
66 |
boolean showInfo,
|
67 |
boolean minMaxUL,
|
68 |
boolean rightSideButtons,
|
69 |
ToolListener toolListener); |
70 |
|
71 |
/**
|
72 |
* Creates a zoom view
|
73 |
* @param w
|
74 |
* @param h
|
75 |
* @param showInfo
|
76 |
* @param minMaxUL
|
77 |
* @param request
|
78 |
* @return
|
79 |
*/
|
80 |
public GeoreferencingView createZoom(
|
81 |
boolean showInfo,
|
82 |
boolean minMaxUL);
|
83 |
|
84 |
/**
|
85 |
* Creates a layout of views. A layout is a set of views
|
86 |
* synchronized among them.
|
87 |
* @param map
|
88 |
* @param raster
|
89 |
* @param zoomMap
|
90 |
* @param zoomRaster
|
91 |
* @param table
|
92 |
* @return
|
93 |
*/
|
94 |
public LayoutEnvironment createLayout(
|
95 |
GeoreferencingView map, |
96 |
GeoreferencingView raster, |
97 |
GeoreferencingView zoomMap, |
98 |
GeoreferencingView zoomRaster, |
99 |
GeorefControlPanel table); |
100 |
|
101 |
/**
|
102 |
* Creates the entry point panel
|
103 |
* @param viewList
|
104 |
* @param polynomialDegree
|
105 |
* @param listener
|
106 |
* @return
|
107 |
*/
|
108 |
public GeoreferencingLauncher createWindowLauncher(
|
109 |
List<String> viewList, |
110 |
int polynomialDegree);
|
111 |
|
112 |
/**
|
113 |
* Creates the panel of georeferencing options
|
114 |
* @param polynomialDegree
|
115 |
* @param listener
|
116 |
* @return
|
117 |
*/
|
118 |
public GeoreferencingOptions createWindowOptions(
|
119 |
int polynomialDegree,
|
120 |
ButtonsPanelListener listener); |
121 |
|
122 |
/**
|
123 |
* Gets the instance of the data model
|
124 |
* @return
|
125 |
*/
|
126 |
public GeoreferencingOptionsDataModel getDataModel();
|
127 |
|
128 |
/**
|
129 |
* Creates the bar with the buttons to control georeferencing actions
|
130 |
* @return
|
131 |
*/
|
132 |
public GeorefControlPanel createGeorefControlPanel();
|
133 |
|
134 |
} |