Revision 29626
branches/v2_0_0_prep/extensions/extCenterViewToPoint/src/org/gvsig/centerviewpoint/gui/InputCoordinatesPanel.java | ||
---|---|---|
1 |
/* |
|
2 |
* Created on 08-nov-2005 |
|
3 |
* |
|
4 |
* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
5 |
* |
|
6 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
7 |
* |
|
8 |
* This program is free software; you can redistribute it and/or |
|
9 |
* modify it under the terms of the GNU General Public License |
|
10 |
* as published by the Free Software Foundation; either version 2 |
|
11 |
* of the License, or (at your option) any later version. |
|
12 |
* |
|
13 |
* This program is distributed in the hope that it will be useful, |
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
* GNU General Public License for more details. |
|
17 |
* |
|
18 |
* You should have received a copy of the GNU General Public License |
|
19 |
* along with this program; if not, write to the Free Software |
|
20 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
21 |
* |
|
22 |
* For more information, contact: |
|
23 |
* |
|
24 |
* Generalitat Valenciana |
|
25 |
* Conselleria d'Infraestructures i Transport |
|
26 |
* Av. Blasco Ib??ez, 50 |
|
27 |
* 46010 VALENCIA |
|
28 |
* SPAIN |
|
29 |
* |
|
30 |
* +34 963862235 |
|
31 |
* gvsig@gva.es |
|
32 |
* www.gvsig.gva.es |
|
33 |
* |
|
34 |
* or |
|
35 |
* |
|
36 |
* IVER T.I. S.A |
|
37 |
* Salamanca 50 |
|
38 |
* 46005 Valencia |
|
39 |
* Spain |
|
40 |
* |
|
41 |
* +34 963163400 |
|
42 |
* dac@iver.es |
|
43 |
*/ |
|
44 |
package org.gvsig.centerviewpoint.gui; |
|
45 |
|
|
46 |
import java.awt.Color; |
|
47 |
import java.awt.Component; |
|
48 |
import java.awt.event.ActionEvent; |
|
49 |
import java.awt.event.ActionListener; |
|
50 |
import java.awt.event.MouseEvent; |
|
51 |
import java.awt.geom.Point2D; |
|
52 |
import java.util.prefs.Preferences; |
|
53 |
|
|
54 |
import javax.swing.JDialog; |
|
55 |
import javax.swing.JLabel; |
|
56 |
import javax.swing.JOptionPane; |
|
57 |
import javax.swing.JPanel; |
|
58 |
import javax.swing.JTextField; |
|
59 |
|
|
60 |
import org.apache.log4j.Logger; |
|
61 |
import org.cresques.cts.IProjection; |
|
62 |
import org.gvsig.andami.PluginServices; |
|
63 |
import org.gvsig.andami.ui.mdiManager.IWindow; |
|
64 |
import org.gvsig.andami.ui.mdiManager.WindowInfo; |
|
65 |
import org.gvsig.app.gui.panels.ColorChooserPanel; |
|
66 |
import org.gvsig.app.project.documents.view.toolListeners.InfoListener; |
|
67 |
import org.gvsig.centerviewpoint.CenterViewToPointExtension; |
|
68 |
import org.gvsig.fmap.geom.Geometry; |
|
69 |
import org.gvsig.fmap.geom.GeometryLocator; |
|
70 |
import org.gvsig.fmap.geom.GeometryManager; |
|
71 |
import org.gvsig.fmap.geom.Geometry.SUBTYPES; |
|
72 |
import org.gvsig.fmap.geom.Geometry.TYPES; |
|
73 |
import org.gvsig.fmap.geom.primitive.Envelope; |
|
74 |
import org.gvsig.fmap.geom.primitive.Point; |
|
75 |
import org.gvsig.fmap.mapcontext.MapContext; |
|
76 |
import org.gvsig.fmap.mapcontext.layers.GraphicLayer; |
|
77 |
import org.gvsig.fmap.mapcontext.rendering.legend.FGraphic; |
|
78 |
import org.gvsig.fmap.mapcontext.rendering.symbols.SymbologyFactory; |
|
79 |
import org.gvsig.fmap.mapcontrol.MapControl; |
|
80 |
import org.gvsig.fmap.mapcontrol.tools.Events.PointEvent; |
|
81 |
import org.gvsig.gui.beans.AcceptCancelPanel; |
|
82 |
|
|
83 |
|
|
84 |
/** |
|
85 |
* The InputCoordinatesPanel class creates a JPanel where the |
|
86 |
* user can input the coordinates of the point of reference |
|
87 |
* for center the View. |
|
88 |
* |
|
89 |
* @author jmorell |
|
90 |
*/ |
|
91 |
public class InputCoordinatesPanel extends JPanel implements IWindow { |
|
92 |
private static final long serialVersionUID = 1L; |
|
93 |
private JLabel labelX = null; |
|
94 |
private JTextField textX = null; |
|
95 |
private JLabel labelY = null; |
|
96 |
private JTextField textY = null; |
|
97 |
private MapControl mapControl; |
|
98 |
private WindowInfo viewInfo = null; |
|
99 |
private String firstCoordinate; |
|
100 |
private String secondCoordinate; |
|
101 |
private Point2D center; |
|
102 |
private GraphicLayer lyr; |
|
103 |
private ColorChooserPanel colorPanel; |
|
104 |
private AcceptCancelPanel okCancelPanel = null; |
|
105 |
protected static Logger logger = Logger.getLogger(InputCoordinatesPanel.class |
|
106 |
.getName()); |
|
107 |
/** |
|
108 |
* This is the default constructor |
|
109 |
*/ |
|
110 |
public InputCoordinatesPanel(MapContext mapContext) { |
|
111 |
super(); |
|
112 |
this.mapControl = new MapControl(); |
|
113 |
mapControl.setMapContext(mapContext); |
|
114 |
lyr=mapControl.getMapContext().getGraphicsLayer(); |
|
115 |
initializeCoordinates(); |
|
116 |
initialize(); |
|
117 |
} |
|
118 |
|
|
119 |
/** |
|
120 |
* Sets the proper text for the first and second coordinate labels, |
|
121 |
* depending on the kind of selected projection. |
|
122 |
* |
|
123 |
*/ |
|
124 |
private void initializeCoordinates() { |
|
125 |
IProjection proj = mapControl.getProjection(); |
|
126 |
if (proj.isProjected()) { |
|
127 |
firstCoordinate = "X"; |
|
128 |
secondCoordinate = "Y"; |
|
129 |
} else { |
|
130 |
firstCoordinate = "Lon"; |
|
131 |
secondCoordinate = "Lat"; |
|
132 |
} |
|
133 |
} |
|
134 |
|
|
135 |
/** |
|
136 |
* Move the view's extent so that the specified point gets |
|
137 |
* centered. |
|
138 |
* |
|
139 |
* @throws Exception |
|
140 |
*/ |
|
141 |
private void zoomToCoordinates() throws Exception { |
|
142 |
try{ |
|
143 |
Envelope oldExtent = mapControl.getViewPort().getAdjustedExtent(); |
|
144 |
double oldCenterX = oldExtent.getCenter(0); |
|
145 |
double oldCenterY = oldExtent.getCenter(1); |
|
146 |
double centerX = (new Double((String)textX.getText())).doubleValue(); |
|
147 |
double centerY = (new Double((String)textY.getText())).doubleValue(); |
|
148 |
center=new Point2D.Double(centerX,centerY); |
|
149 |
double movX = centerX-oldCenterX; |
|
150 |
double movY = centerY-oldCenterY; |
|
151 |
double upperLeftCornerX = oldExtent.getMinimum(0)+movX; |
|
152 |
double upperLeftCornerY = oldExtent.getMinimum(1)+movY; |
|
153 |
double maxX = oldExtent.getMaximum(0); |
|
154 |
double maxY = oldExtent.getMaximum(1); |
|
155 |
Envelope extent = GeometryLocator.getGeometryManager().createEnvelope(upperLeftCornerX, upperLeftCornerY, maxX, maxY, SUBTYPES.GEOM2D); |
|
156 |
mapControl.getViewPort().setEnvelope(extent); |
|
157 |
}catch (NumberFormatException e) { |
|
158 |
throw new Exception(); |
|
159 |
} |
|
160 |
|
|
161 |
} |
|
162 |
|
|
163 |
/** |
|
164 |
* This method initializes this |
|
165 |
* |
|
166 |
* @return void |
|
167 |
*/ |
|
168 |
private void initialize() { |
|
169 |
labelY = new JLabel(); |
|
170 |
labelY.setBounds(10, 35, 28, 20); |
|
171 |
labelY.setText(secondCoordinate + ":"); |
|
172 |
labelX = new JLabel(); |
|
173 |
labelX.setBounds(10, 10, 28, 20); |
|
174 |
labelX.setText(firstCoordinate + ":"); |
|
175 |
this.setLayout(null); |
|
176 |
this.setSize(307, 100); |
|
177 |
this.add(labelX, null); |
|
178 |
this.add(getTextX(), null); |
|
179 |
this.add(labelY, null); |
|
180 |
this.add(getTextY(), null); |
|
181 |
this.add(getColorPanel()); |
|
182 |
this.add(getOkCancelPanel(), null); |
|
183 |
} |
|
184 |
|
|
185 |
/** |
|
186 |
* This method initializes textX |
|
187 |
* |
|
188 |
* @return javax.swing.JTextField |
|
189 |
*/ |
|
190 |
private JTextField getTextX() { |
|
191 |
if (textX == null) { |
|
192 |
textX = new JTextField(); |
|
193 |
textX.setBounds(40, 10, 260, 20); |
|
194 |
textX.addActionListener(new java.awt.event.ActionListener() { |
|
195 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
|
196 |
textX.transferFocus(); |
|
197 |
} |
|
198 |
}); |
|
199 |
} |
|
200 |
return textX; |
|
201 |
} |
|
202 |
|
|
203 |
/** |
|
204 |
* This method initializes textY |
|
205 |
* |
|
206 |
* @return javax.swing.JTextField |
|
207 |
*/ |
|
208 |
private JTextField getTextY() { |
|
209 |
if (textY == null) { |
|
210 |
textY = new JTextField(); |
|
211 |
textY.setBounds(40, 35, 260, 20); |
|
212 |
textY.addActionListener(new java.awt.event.ActionListener() { |
|
213 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
|
214 |
textY.transferFocus(); |
|
215 |
} |
|
216 |
}); |
|
217 |
} |
|
218 |
return textY; |
|
219 |
} |
|
220 |
|
|
221 |
/* (non-Javadoc) |
|
222 |
* @see com.iver.andami.ui.mdiManager.View#getViewInfo() |
|
223 |
*/ |
|
224 |
public WindowInfo getWindowInfo() { |
|
225 |
// TODO Auto-generated method stub |
|
226 |
if (viewInfo == null) { |
|
227 |
viewInfo=new WindowInfo(WindowInfo.MODALDIALOG); |
|
228 |
viewInfo.setTitle(PluginServices.getText(this,"Centrar_la_Vista_sobre_un_punto")); |
|
229 |
viewInfo.setWidth(this.getWidth()+8); |
|
230 |
viewInfo.setHeight(this.getHeight()); |
|
231 |
} |
|
232 |
return viewInfo; |
|
233 |
} |
|
234 |
/** |
|
235 |
* Opens the infoByPoint dialog for the selected point. |
|
236 |
* |
|
237 |
*/ |
|
238 |
private void openInfo(){ |
|
239 |
InfoListener infoListener=new InfoListener(mapControl); |
|
240 |
MouseEvent e=new MouseEvent((Component)(((CenterViewToPointExtension)PluginServices.getExtension(CenterViewToPointExtension.class)).getView()),MouseEvent.BUTTON1,MouseEvent.ACTION_EVENT_MASK,MouseEvent.MOUSE_CLICKED,500,400,1,true); |
|
241 |
Point2D centerPixels=mapControl.getViewPort().fromMapPoint(center.getX(),center.getY()); |
|
242 |
PointEvent pe=new PointEvent(centerPixels,e); |
|
243 |
try { |
|
244 |
infoListener.point(pe); |
|
245 |
} catch (org.gvsig.fmap.mapcontrol.tools.BehaviorException e1) { |
|
246 |
// TODO Auto-generated catch block |
|
247 |
e1.printStackTrace(); |
|
248 |
} |
|
249 |
if (mapControl.getMapContext().getLayers().getActives().length==0){ |
|
250 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(),PluginServices.getText(this,"no_hay_ninguna_capa_seleccionada")+" \n"+ |
|
251 |
PluginServices.getText(this,"debe_seleccionar_las_capas_de_las_que_quiera_obtener_informacion")); |
|
252 |
} |
|
253 |
} |
|
254 |
|
|
255 |
/** |
|
256 |
* Draws the selected point on the view. |
|
257 |
* |
|
258 |
* @param color |
|
259 |
*/ |
|
260 |
private void drawPoint(Color color){ |
|
261 |
CenterViewToPointExtension.COLOR=color; |
|
262 |
lyr.clearAllGraphics(); |
|
263 |
org.gvsig.fmap.mapcontext.rendering.symbols.ISymbol theSymbol = SymbologyFactory.createDefaultSymbolByShapeType(Geometry.TYPES.POINT,color); |
|
264 |
int idSymbol = lyr.addSymbol(theSymbol); |
|
265 |
GeometryManager geomManager = GeometryLocator.getGeometryManager(); |
|
266 |
// org.gvsig.fmap.geom.Geometry geom = geomManager.create(center.getX(),center.getY()); |
|
267 |
Point geom = null; |
|
268 |
try { |
|
269 |
geom = (Point)geomManager.create(TYPES.POINT, SUBTYPES.GEOM2D); |
|
270 |
geom.setX(center.getX()); |
|
271 |
geom.setY(center.getY()); |
|
272 |
} catch (org.gvsig.fmap.geom.exception.CreateGeometryException e) { |
|
273 |
logger.error(e); |
|
274 |
} |
|
275 |
FGraphic theGraphic = new FGraphic(geom, idSymbol); |
|
276 |
lyr.addGraphic(theGraphic); |
|
277 |
mapControl.drawGraphics(); |
|
278 |
|
|
279 |
} |
|
280 |
|
|
281 |
|
|
282 |
/** |
|
283 |
* This method initializes jPanel |
|
284 |
* |
|
285 |
* @return javax.swing.JPanel |
|
286 |
*/ |
|
287 |
private JPanel getColorPanel() { |
|
288 |
if (colorPanel==null){ |
|
289 |
colorPanel=new ColorChooserPanel(); |
|
290 |
colorPanel.setAlpha(250); |
|
291 |
colorPanel.setColor(CenterViewToPointExtension.COLOR); |
|
292 |
colorPanel.setBounds(new java.awt.Rectangle(40,59,123,24)); |
|
293 |
} |
|
294 |
return colorPanel; |
|
295 |
} |
|
296 |
|
|
297 |
/** |
|
298 |
* This method initializes okCancelPanel |
|
299 |
* |
|
300 |
* @return javax.swing.JPanel |
|
301 |
*/ |
|
302 |
private AcceptCancelPanel getOkCancelPanel() { |
|
303 |
if (okCancelPanel == null) { |
|
304 |
ActionListener okAction, cancelAction; |
|
305 |
okAction = new java.awt.event.ActionListener() { |
|
306 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
|
307 |
try{ |
|
308 |
zoomToCoordinates(); |
|
309 |
}catch (Exception e1) { |
|
310 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(),PluginServices.getText(this,"formato_de_numero_incorrecto")); |
|
311 |
return; |
|
312 |
} |
|
313 |
// y sale. |
|
314 |
if (PluginServices.getMainFrame() == null) |
|
315 |
((JDialog) (getParent().getParent().getParent().getParent())).dispose(); |
|
316 |
else |
|
317 |
PluginServices.getMDIManager().closeWindow(InputCoordinatesPanel.this); |
|
318 |
Preferences prefs = Preferences.userRoot().node( "gvsig.centerViewToPoint" ); |
|
319 |
if( prefs.get("showInfo", "True").equalsIgnoreCase("True")){ |
|
320 |
openInfo(); |
|
321 |
} |
|
322 |
drawPoint(((ColorChooserPanel)getColorPanel()).getColor()); |
|
323 |
} |
|
324 |
}; |
|
325 |
cancelAction = new ActionListener() { |
|
326 |
public void actionPerformed(ActionEvent e) { |
|
327 |
closeThis(); |
|
328 |
} |
|
329 |
}; |
|
330 |
okCancelPanel = new AcceptCancelPanel(okAction, cancelAction); |
|
331 |
okCancelPanel.setBounds(new java.awt.Rectangle(40, 88, 260, 30)); |
|
332 |
} |
|
333 |
return okCancelPanel; |
|
334 |
} |
|
335 |
|
|
336 |
/** |
|
337 |
* Close the window. |
|
338 |
* |
|
339 |
*/ |
|
340 |
private void closeThis() { |
|
341 |
PluginServices.getMDIManager().closeWindow(this); |
|
342 |
|
|
343 |
} |
|
344 |
|
|
345 |
public Object getWindowProfile() { |
|
346 |
return WindowInfo.DIALOG_PROFILE; |
|
347 |
} |
|
348 |
|
|
349 |
|
|
350 |
} // @jve:decl-index=0:visual-constraint="103,18" |
branches/v2_0_0_prep/extensions/extCenterViewToPoint/src/org/gvsig/centerviewpoint/CenterViewToPointExtension.java | ||
---|---|---|
1 |
/* |
|
2 |
* Created on 22-jun-2005 |
|
3 |
* |
|
4 |
* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
5 |
* |
|
6 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
7 |
* |
|
8 |
* This program is free software; you can redistribute it and/or |
|
9 |
* modify it under the terms of the GNU General Public License |
|
10 |
* as published by the Free Software Foundation; either version 2 |
|
11 |
* of the License, or (at your option) any later version. |
|
12 |
* |
|
13 |
* This program is distributed in the hope that it will be useful, |
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 |
* GNU General Public License for more details. |
|
17 |
* |
|
18 |
* You should have received a copy of the GNU General Public License |
|
19 |
* along with this program; if not, write to the Free Software |
|
20 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
21 |
* |
|
22 |
* For more information, contact: |
|
23 |
* |
|
24 |
* Generalitat Valenciana |
|
25 |
* Conselleria d'Infraestructures i Transport |
|
26 |
* Av. Blasco Ib??ez, 50 |
|
27 |
* 46010 VALENCIA |
|
28 |
* SPAIN |
|
29 |
* |
|
30 |
* +34 963862235 |
|
31 |
* gvsig@gva.es |
|
32 |
* www.gvsig.gva.es |
|
33 |
* |
|
34 |
* or |
|
35 |
* |
|
36 |
* IVER T.I. S.A |
|
37 |
* Salamanca 50 |
|
38 |
* 46005 Valencia |
|
39 |
* Spain |
|
40 |
* |
|
41 |
* +34 963163400 |
|
42 |
* dac@iver.es |
|
43 |
*/ |
|
44 |
package org.gvsig.centerviewpoint; |
|
45 |
|
|
46 |
import java.awt.Color; |
|
47 |
|
|
48 |
import org.gvsig.andami.PluginServices; |
|
49 |
import org.gvsig.andami.plugins.Extension; |
|
50 |
import org.gvsig.app.project.documents.view.IProjectView; |
|
51 |
import org.gvsig.app.project.documents.view.gui.View; |
|
52 |
import org.gvsig.centerviewpoint.gui.InputCoordinatesPanel; |
|
53 |
import org.gvsig.fmap.mapcontext.MapContext; |
|
54 |
import org.gvsig.fmap.mapcontext.layers.FLayers; |
|
55 |
|
|
56 |
|
|
57 |
/** |
|
58 |
* The CenterViewToPointExtension class allows to center the View over a |
|
59 |
* concrete point given by its coordinates. |
|
60 |
* |
|
61 |
* @author jmorell |
|
62 |
*/ |
|
63 |
public class CenterViewToPointExtension extends Extension { |
|
64 |
private View vista; |
|
65 |
public static Color COLOR=Color.red; |
|
66 |
/* (non-Javadoc) |
|
67 |
* @see com.iver.andami.plugins.Extension#inicializar() |
|
68 |
*/ |
|
69 |
public void initialize() { |
|
70 |
// TODO Auto-generated method stub |
|
71 |
PluginServices.getIconTheme().registerDefault( |
|
72 |
"view-center-to-point", |
|
73 |
this.getClass().getClassLoader().getResource("images/centerviewtopoint.png") |
|
74 |
); |
|
75 |
} |
|
76 |
|
|
77 |
/* (non-Javadoc) |
|
78 |
* @see com.iver.andami.plugins.Extension#execute(java.lang.String) |
|
79 |
*/ |
|
80 |
public void execute(String actionCommand) { |
|
81 |
vista = (View)PluginServices.getMDIManager().getActiveWindow(); |
|
82 |
MapContext mapContext = vista.getModel().getMapContext(); |
|
83 |
InputCoordinatesPanel dataSelectionPanel = new InputCoordinatesPanel(mapContext); |
|
84 |
//dataSelectionPanel.setColor(color); |
|
85 |
PluginServices.getMDIManager().addWindow(dataSelectionPanel); |
|
86 |
} |
|
87 |
|
|
88 |
public View getView(){ |
|
89 |
return vista; |
|
90 |
} |
|
91 |
/* (non-Javadoc) |
|
92 |
* @see com.iver.andami.plugins.Extension#isEnabled() |
|
93 |
*/ |
|
94 |
public boolean isEnabled() { |
|
95 |
org.gvsig.andami.ui.mdiManager.IWindow f = PluginServices.getMDIManager() |
|
96 |
.getActiveWindow(); |
|
97 |
if (f == null) { |
|
98 |
return false; |
|
99 |
} |
|
100 |
if (f.getClass() == View.class) { |
|
101 |
View vista = (View) f; |
|
102 |
IProjectView model = vista.getModel(); |
|
103 |
MapContext mapa = model.getMapContext(); |
|
104 |
FLayers layers = mapa.getLayers(); |
|
105 |
for (int i=0;i < layers.getLayersCount();i++) { |
|
106 |
if (layers.getLayer(i).isAvailable()) return true; |
|
107 |
} |
|
108 |
} |
|
109 |
return false; |
|
110 |
|
|
111 |
} |
|
112 |
|
|
113 |
/* (non-Javadoc) |
|
114 |
* @see com.iver.andami.plugins.Extension#isVisible() |
|
115 |
*/ |
|
116 |
public boolean isVisible() { |
|
117 |
org.gvsig.andami.ui.mdiManager.IWindow f = PluginServices.getMDIManager() |
|
118 |
.getActiveWindow(); |
|
119 |
if (f == null) { |
|
120 |
return false; |
|
121 |
} |
|
122 |
if (f.getClass() == View.class) { |
|
123 |
View vista = (View) f; |
|
124 |
IProjectView model = vista.getModel(); |
|
125 |
MapContext mapa = model.getMapContext(); |
|
126 |
if (mapa.getLayers().getLayersCount() > 0) { |
|
127 |
return true; |
|
128 |
} |
|
129 |
return false; |
|
130 |
} |
|
131 |
return false; |
|
132 |
} |
|
133 |
|
|
134 |
} |
branches/v2_0_0_prep/extensions/extCenterViewToPoint/pom.xml | ||
---|---|---|
6 | 6 |
|
7 | 7 |
<modelVersion>4.0.0</modelVersion> |
8 | 8 |
<groupId>org.gvsig</groupId> |
9 |
<artifactId>com.iver.gvsig.centerviewpoint |
|
10 |
</artifactId> |
|
9 |
<artifactId>org.gvsig.centerviewpoint</artifactId> |
|
11 | 10 |
<name>extCenterViewToPoint</name> |
12 | 11 |
<version>2.0-SNAPSHOT</version> |
13 | 12 |
<parent> |
14 |
<artifactId>gvsig-extension-base-pom |
|
15 |
</artifactId> |
|
13 |
<artifactId>gvsig-base-extension-pom</artifactId> |
|
16 | 14 |
<groupId>org.gvsig</groupId> |
17 | 15 |
<version>2.0-SNAPSHOT</version> |
18 | 16 |
</parent> |
... | ... | |
24 | 22 |
<dependencies> |
25 | 23 |
<dependency> |
26 | 24 |
<groupId>org.gvsig</groupId> |
27 |
<artifactId>com.iver.cit.gvsig</artifactId>
|
|
25 |
<artifactId>org.gvsig.app</artifactId>
|
|
28 | 26 |
<version>2.0-SNAPSHOT</version> |
29 | 27 |
</dependency> |
30 | 28 |
<dependency> |
branches/v2_0_0_prep/extensions/extCenterViewToPoint/distribution/distribution.xml | ||
---|---|---|
35 | 35 |
<outputDirectory>${extension-distribution}/${library-dir} |
36 | 36 |
</outputDirectory> |
37 | 37 |
<includes> |
38 |
<include>org.gvsig:com.iver.gvsig.centerviewpoint</include>
|
|
38 |
<include>org.gvsig:org.gvsig.centerviewpoint</include>
|
|
39 | 39 |
</includes> |
40 | 40 |
</dependencySet> |
41 | 41 |
<!-- |
branches/v2_0_0_prep/extensions/extCenterViewToPoint/.classpath | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="UTF-8"?> |
2 | 2 |
<classpath> |
3 |
<classpathentry kind="src" path="src"/> |
|
4 |
<classpathentry kind="src" output="target/test-classes" path="src-test"/> |
|
5 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> |
|
3 |
<classpathentry including="**/*.java" kind="src" output="target/test-classes" path="src-test"/> |
|
4 |
<classpathentry including="**/*.java" kind="src" path="src"/> |
|
5 |
<classpathentry kind="var" path="M2_REPO/javax/media/jai_codec/1.1.3/jai_codec-1.1.3.jar"/> |
|
6 |
<classpathentry kind="var" path="M2_REPO/javax/media/jai_core/1.1.3/jai_core-1.1.3.jar"/> |
|
6 | 7 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/batik/batik-anim/gvsig/batik-anim-gvsig.jar"/> |
7 | 8 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/batik/batik-awt-util/gvsig/batik-awt-util-gvsig.jar"/> |
8 | 9 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/batik/batik-bridge/gvsig/batik-bridge-gvsig.jar"/> |
... | ... | |
24 | 25 |
<classpathentry kind="var" path="M2_REPO/bouncycastle/bcmail-jdk14/138/bcmail-jdk14-138.jar"/> |
25 | 26 |
<classpathentry kind="var" path="M2_REPO/bouncycastle/bcprov-jdk14/138/bcprov-jdk14-138.jar"/> |
26 | 27 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/castor/gvsig/castor-gvsig.jar"/> |
27 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/com.iver.cit.gvsig/2.0-SNAPSHOT/com.iver.cit.gvsig-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/com.iver.cit.gvsig/2.0-SNAPSHOT/com.iver.cit.gvsig-2.0-SNAPSHOT-sources.jar"> |
|
28 |
<attributes> |
|
29 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/com.iver.cit.gvsig/2.0-SNAPSHOT/com.iver.cit.gvsig-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
30 |
</attributes> |
|
31 |
</classpathentry> |
|
32 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/com.iver.core/2.0-SNAPSHOT/com.iver.core-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/com.iver.core/2.0-SNAPSHOT/com.iver.core-2.0-SNAPSHOT-sources.jar"> |
|
33 |
<attributes> |
|
34 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/com.iver.core/2.0-SNAPSHOT/com.iver.core-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
35 |
</attributes> |
|
36 |
</classpathentry> |
|
37 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/com.iver.utiles/2.0-SNAPSHOT/com.iver.utiles-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/com.iver.utiles/2.0-SNAPSHOT/com.iver.utiles-2.0-SNAPSHOT-sources.jar"> |
|
38 |
<attributes> |
|
39 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/com.iver.utiles/2.0-SNAPSHOT/com.iver.utiles-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
40 |
</attributes> |
|
41 |
</classpathentry> |
|
42 | 28 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/geoapi/gvsig/geoapi-gvsig.jar"/> |
43 | 29 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/geojava/gvsig/geojava-gvsig.jar"/> |
44 | 30 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/gt2-legacy/gvsig/gt2-legacy-gvsig.jar"/> |
... | ... | |
47 | 33 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/gt2sidx/gvsig/gt2sidx-gvsig.jar"/> |
48 | 34 |
<classpathentry kind="var" path="M2_REPO/com/lowagie/itext/2.1.4/itext-2.1.4.jar" sourcepath="M2_REPO/com/lowagie/itext/2.1.4/itext-2.1.4-sources.jar"> |
49 | 35 |
<attributes> |
50 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/com/lowagie/itext/2.1.4/itext-2.1.4-javadoc.jar!/"/>
|
|
36 |
<attribute name="javadoc_location" value="jar:file:/home/jpiera/.m2/repository/com/lowagie/itext/2.1.4/itext-2.1.4-javadoc.jar!/"/>
|
|
51 | 37 |
</attributes> |
52 | 38 |
</classpathentry> |
53 |
<classpathentry kind="var" path="M2_REPO/javax/media/jai_codec/1.1.3/jai_codec-1.1.3.jar"/> |
|
54 |
<classpathentry kind="var" path="M2_REPO/javax/media/jai_core/1.1.3/jai_core-1.1.3.jar"/> |
|
55 | 39 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/javaws/gvsig/javaws-gvsig.jar"/> |
56 | 40 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/jcalendar/gvsig/jcalendar-gvsig.jar"/> |
57 | 41 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/jcommon/gvsig/jcommon-gvsig.jar"/> |
58 |
<classpathentry kind="var" path="M2_REPO/jecw/jecw/0.0.5/jecw-0.0.5.jar"/> |
|
59 | 42 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/jfreechart/gvsig/jfreechart-gvsig.jar"/> |
60 | 43 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/jh/gvsig/jh-gvsig.jar"/> |
61 | 44 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/JimiProClasses/gvsig/JimiProClasses-gvsig.jar"/> |
62 |
<classpathentry kind="var" path="M2_REPO/jmrsid/jmrsid/0.0.6/jmrsid-0.0.6.jar"/> |
|
63 | 45 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/jpedalSTD/gvsig/jpedalSTD-gvsig.jar"/> |
64 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/jpotrace/0.0.1/jpotrace-0.0.1.jar"/> |
|
65 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/units/gvsig/units-gvsig.jar"/> |
|
66 | 46 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/jts/gvsig/jts-gvsig.jar"/> |
67 | 47 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/JUF/gvsig/JUF-gvsig.jar"/> |
68 | 48 |
<classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar" sourcepath="M2_REPO/junit/junit/3.8.1/junit-3.8.1-sources.jar"/> |
... | ... | |
70 | 50 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/kxml2/gvsig/kxml2-gvsig.jar"/> |
71 | 51 |
<classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14.jar" sourcepath="M2_REPO/log4j/log4j/1.2.14/log4j-1.2.14-sources.jar"/> |
72 | 52 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/looks/gvsig/looks-gvsig.jar"/> |
73 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.cresques.dxf/2.0-SNAPSHOT/org.cresques.dxf-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.cresques.dxf/2.0-SNAPSHOT/org.cresques.dxf-2.0-SNAPSHOT-sources.jar"> |
|
74 |
<attributes> |
|
75 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.cresques.dxf/2.0-SNAPSHOT/org.cresques.dxf-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
76 |
</attributes> |
|
77 |
</classpathentry> |
|
78 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.andami/2.0-SNAPSHOT/org.gvsig.andami-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.andami/2.0-SNAPSHOT/org.gvsig.andami-2.0-SNAPSHOT-sources.jar"> |
|
79 |
<attributes> |
|
80 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.andami/2.0-SNAPSHOT/org.gvsig.andami-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
81 |
</attributes> |
|
82 |
</classpathentry> |
|
83 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.compat/2.0-SNAPSHOT/org.gvsig.compat-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.compat/2.0-SNAPSHOT/org.gvsig.compat-2.0-SNAPSHOT-sources.jar"> |
|
84 |
<attributes> |
|
85 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.compat/2.0-SNAPSHOT/org.gvsig.compat-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
86 |
</attributes> |
|
87 |
</classpathentry> |
|
88 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.compat/2.0-SNAPSHOT/org.gvsig.compat-2.0-SNAPSHOT-se.jar"/> |
|
89 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.control/2.0-SNAPSHOT/org.gvsig.fmap.control-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.fmap.control/2.0-SNAPSHOT/org.gvsig.fmap.control-2.0-SNAPSHOT-sources.jar"> |
|
90 |
<attributes> |
|
91 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.fmap.control/2.0-SNAPSHOT/org.gvsig.fmap.control-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
92 |
</attributes> |
|
93 |
</classpathentry> |
|
94 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal/2.0-SNAPSHOT/org.gvsig.fmap.dal-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.fmap.dal/2.0-SNAPSHOT/org.gvsig.fmap.dal-2.0-SNAPSHOT-sources.jar"> |
|
95 |
<attributes> |
|
96 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.fmap.dal/2.0-SNAPSHOT/org.gvsig.fmap.dal-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
97 |
</attributes> |
|
98 |
</classpathentry> |
|
99 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal/2.0-SNAPSHOT/org.gvsig.fmap.dal-2.0-SNAPSHOT-impl.jar"/> |
|
100 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal/2.0-SNAPSHOT/org.gvsig.fmap.dal-2.0-SNAPSHOT-spi.jar"/> |
|
101 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal.file/2.0-SNAPSHOT/org.gvsig.fmap.dal.file-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.fmap.dal.file/2.0-SNAPSHOT/org.gvsig.fmap.dal.file-2.0-SNAPSHOT-sources.jar"> |
|
102 |
<attributes> |
|
103 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.fmap.dal.file/2.0-SNAPSHOT/org.gvsig.fmap.dal.file-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
104 |
</attributes> |
|
105 |
</classpathentry> |
|
106 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal.file/2.0-SNAPSHOT/org.gvsig.fmap.dal.file-2.0-SNAPSHOT-store.dbf.jar"/> |
|
107 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal.file/2.0-SNAPSHOT/org.gvsig.fmap.dal.file-2.0-SNAPSHOT-store.dxf.jar"/> |
|
108 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal.file/2.0-SNAPSHOT/org.gvsig.fmap.dal.file-2.0-SNAPSHOT-store.shp.jar"/> |
|
109 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal.index.spatial/2.0-SNAPSHOT/org.gvsig.fmap.dal.index.spatial-2.0-SNAPSHOT-gt2.jar"/> |
|
110 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal.index.spatial/2.0-SNAPSHOT/org.gvsig.fmap.dal.index.spatial-2.0-SNAPSHOT-jsi.jar"/> |
|
111 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.dal.index.spatial/2.0-SNAPSHOT/org.gvsig.fmap.dal.index.spatial-2.0-SNAPSHOT-jts.jar"/> |
|
112 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.geometry/2.0-SNAPSHOT/org.gvsig.fmap.geometry-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.fmap.geometry/2.0-SNAPSHOT/org.gvsig.fmap.geometry-2.0-SNAPSHOT-sources.jar"> |
|
113 |
<attributes> |
|
114 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.fmap.geometry/2.0-SNAPSHOT/org.gvsig.fmap.geometry-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
115 |
</attributes> |
|
116 |
</classpathentry> |
|
117 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.geometry/2.0-SNAPSHOT/org.gvsig.fmap.geometry-2.0-SNAPSHOT-impl.jar"/> |
|
118 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.geometry/2.0-SNAPSHOT/org.gvsig.fmap.geometry-2.0-SNAPSHOT-operation.jar"/> |
|
119 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.mapcontext/2.0-SNAPSHOT/org.gvsig.fmap.mapcontext-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.fmap.mapcontext/2.0-SNAPSHOT/org.gvsig.fmap.mapcontext-2.0-SNAPSHOT-sources.jar"> |
|
120 |
<attributes> |
|
121 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.fmap.mapcontext/2.0-SNAPSHOT/org.gvsig.fmap.mapcontext-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
122 |
</attributes> |
|
123 |
</classpathentry> |
|
124 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.fmap.mapcontext/2.0-SNAPSHOT/org.gvsig.fmap.mapcontext-2.0-SNAPSHOT-operation.jar"/> |
|
125 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.i18n/2.0-SNAPSHOT/org.gvsig.i18n-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.i18n/2.0-SNAPSHOT/org.gvsig.i18n-2.0-SNAPSHOT-sources.jar"> |
|
126 |
<attributes> |
|
127 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.i18n/2.0-SNAPSHOT/org.gvsig.i18n-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
128 |
</attributes> |
|
129 |
</classpathentry> |
|
130 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.jgdal/2.0/org.gvsig.jgdal-2.0.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.jgdal/2.0/org.gvsig.jgdal-2.0-sources.jar"> |
|
131 |
<attributes> |
|
132 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.jgdal/2.0/org.gvsig.jgdal-2.0-javadoc.jar!/"/> |
|
133 |
</attributes> |
|
134 |
</classpathentry> |
|
135 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.metadata/2.0-SNAPSHOT/org.gvsig.metadata-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.metadata/2.0-SNAPSHOT/org.gvsig.metadata-2.0-SNAPSHOT-sources.jar"> |
|
136 |
<attributes> |
|
137 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.metadata/2.0-SNAPSHOT/org.gvsig.metadata-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
138 |
</attributes> |
|
139 |
</classpathentry> |
|
140 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.projection/2.0-SNAPSHOT/org.gvsig.projection-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.projection/2.0-SNAPSHOT/org.gvsig.projection-2.0-SNAPSHOT-sources.jar"> |
|
141 |
<attributes> |
|
142 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.projection/2.0-SNAPSHOT/org.gvsig.projection-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
143 |
</attributes> |
|
144 |
</classpathentry> |
|
145 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.projection/2.0-SNAPSHOT/org.gvsig.projection-2.0-SNAPSHOT-cresques-impl.jar"/> |
|
146 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.projection/2.0-SNAPSHOT/org.gvsig.projection-2.0-SNAPSHOT-cresques-ui.jar"/> |
|
147 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.raster/2.0-SNAPSHOT/org.gvsig.raster-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.raster/2.0-SNAPSHOT/org.gvsig.raster-2.0-SNAPSHOT-sources.jar"> |
|
148 |
<attributes> |
|
149 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.raster/2.0-SNAPSHOT/org.gvsig.raster-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
150 |
</attributes> |
|
151 |
</classpathentry> |
|
152 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.tools/2.0-SNAPSHOT/org.gvsig.tools-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.tools/2.0-SNAPSHOT/org.gvsig.tools-2.0-SNAPSHOT-sources.jar"> |
|
153 |
<attributes> |
|
154 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.tools/2.0-SNAPSHOT/org.gvsig.tools-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
155 |
</attributes> |
|
156 |
</classpathentry> |
|
157 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.tools.evaluator.sqljep/2.0-SNAPSHOT/org.gvsig.tools.evaluator.sqljep-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.tools.evaluator.sqljep/2.0-SNAPSHOT/org.gvsig.tools.evaluator.sqljep-2.0-SNAPSHOT-sources.jar"> |
|
158 |
<attributes> |
|
159 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.tools.evaluator.sqljep/2.0-SNAPSHOT/org.gvsig.tools.evaluator.sqljep-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
160 |
</attributes> |
|
161 |
</classpathentry> |
|
162 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/org.gvsig.ui/2.0-SNAPSHOT/org.gvsig.ui-2.0-SNAPSHOT.jar" sourcepath="M2_REPO/org/gvsig/org.gvsig.ui/2.0-SNAPSHOT/org.gvsig.ui-2.0-SNAPSHOT-sources.jar"> |
|
163 |
<attributes> |
|
164 |
<attribute name="javadoc_location" value="jar:file:/home/cordin/.m2/repository/org/gvsig/org.gvsig.ui/2.0-SNAPSHOT/org.gvsig.ui-2.0-SNAPSHOT-javadoc.jar!/"/> |
|
165 |
</attributes> |
|
166 |
</classpathentry> |
|
53 |
<classpathentry kind="src" path="/_fwAndami"/> |
|
54 |
<classpathentry kind="src" path="/appgvSIG"/> |
|
55 |
<classpathentry kind="src" path="/libCompat"/> |
|
56 |
<classpathentry kind="src" path="/libCorePlugin"/> |
|
57 |
<classpathentry kind="src" path="/libDXF"/> |
|
58 |
<classpathentry kind="src" path="/libFMap_controls"/> |
|
59 |
<classpathentry kind="src" path="/libFMap_dal"/> |
|
60 |
<classpathentry kind="src" path="/libFMap_dalfile"/> |
|
61 |
<classpathentry kind="src" path="/libFMap_dalindex"/> |
|
62 |
<classpathentry kind="src" path="/libFMap_geometries"/> |
|
63 |
<classpathentry kind="src" path="/libFMap_mapcontext"/> |
|
64 |
<classpathentry kind="src" path="/libInternationalization"/> |
|
65 |
<classpathentry kind="src" path="/libjni-gdal"/> |
|
66 |
<classpathentry kind="src" path="/libMetadata"/> |
|
67 |
<classpathentry kind="src" path="/libProjection"/> |
|
68 |
<classpathentry kind="src" path="/libRaster"/> |
|
69 |
<classpathentry kind="src" path="/libTools"/> |
|
70 |
<classpathentry kind="src" path="/libEvaluator_SQLJEP"/> |
|
71 |
<classpathentry kind="src" path="/libUIComponent"/> |
|
72 |
<classpathentry kind="src" path="/libIverUtiles"/> |
|
167 | 73 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/pdf-transcoder/gvsig/pdf-transcoder-gvsig.jar"/> |
168 | 74 |
<classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.5.5/slf4j-api-1.5.5.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.5.5/slf4j-api-1.5.5-sources.jar"/> |
169 | 75 |
<classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-log4j12/1.5.5/slf4j-log4j12-1.5.5.jar" sourcepath="M2_REPO/org/slf4j/slf4j-log4j12/1.5.5/slf4j-log4j12-1.5.5-sources.jar"/> |
170 | 76 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/spatialindex/gvsig/spatialindex-gvsig.jar"/> |
171 | 77 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/sqljep/gvsig/sqljep-gvsig.jar"/> |
172 | 78 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/tempFileManager/gvsig/tempFileManager-gvsig.jar"/> |
79 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/units/gvsig/units-gvsig.jar"/> |
|
173 | 80 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/vecmath/gvsig/vecmath-gvsig.jar"/> |
174 | 81 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/xerces/gvsig/xerces-gvsig.jar"/> |
175 | 82 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/xml-apis/gvsig/xml-apis-gvsig.jar"/> |
176 | 83 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/xml-apis-ext/gvsig/xml-apis-ext-gvsig.jar"/> |
177 | 84 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/xmlrpc/gvsig/xmlrpc-gvsig.jar"/> |
178 | 85 |
<classpathentry kind="var" path="M2_REPO/org/gvsig/legacy/zql/gvsig/zql-gvsig.jar"/> |
86 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> |
|
87 |
<classpathentry combineaccessrules="false" kind="src" path="/libjni-potrace"/> |
|
179 | 88 |
<classpathentry kind="output" path="target/classes"/> |
180 | 89 |
</classpath> |
branches/v2_0_0_prep/extensions/extCenterViewToPoint/.project | ||
---|---|---|
2 | 2 |
<name>extCenterViewToPoint</name> |
3 | 3 |
<comment>Base POM for all GvSIG extension projects. This pom knows |
4 | 4 |
how to build and made an extension for GvSIG. The property |
5 |
"gvsig-path" must be set up correctly.</comment> |
|
6 |
<projects/> |
|
5 |
"build-dir" must be set up correctly.</comment> |
|
6 |
<projects> |
|
7 |
<project>_fwAndami</project> |
|
8 |
<project>appgvSIG</project> |
|
9 |
<project>libCompat</project> |
|
10 |
<project>libCorePlugin</project> |
|
11 |
<project>libDXF</project> |
|
12 |
<project>libFMap_controls</project> |
|
13 |
<project>libFMap_dal</project> |
|
14 |
<project>libFMap_dalfile</project> |
|
15 |
<project>libFMap_dalindex</project> |
|
16 |
<project>libFMap_geometries</project> |
|
17 |
<project>libFMap_mapcontext</project> |
|
18 |
<project>libInternationalization</project> |
|
19 |
<project>libjni-gdal</project> |
|
20 |
<project>libjni-potrace Library</project> |
|
21 |
<project>libMetadata</project> |
|
22 |
<project>libProjection</project> |
|
23 |
<project>libRaster</project> |
|
24 |
<project>libTools</project> |
|
25 |
<project>libEvaluator_SQLJEP</project> |
|
26 |
<project>libUIComponent</project> |
|
27 |
<project>libIverUtiles</project> |
|
28 |
</projects> |
|
7 | 29 |
<buildSpec> |
8 | 30 |
<buildCommand> |
9 | 31 |
<name>org.eclipse.jdt.core.javabuilder</name> |
branches/v2_0_0_prep/extensions/extCenterViewToPoint/src-test/org/gvsig/centerviewpoint/AllTests.java | ||
---|---|---|
1 |
package org.gvsig.centerviewpoint; |
|
2 |
|
|
3 |
import junit.framework.Test; |
|
4 |
import junit.framework.TestSuite; |
|
5 |
|
|
6 |
public class AllTests { |
|
7 |
|
|
8 |
public static Test suite() { |
|
9 |
TestSuite suite = new TestSuite( |
|
10 |
"Test for com.iver.gvsig.centerviewpoint"); |
|
11 |
//$JUnit-BEGIN$ |
|
12 |
|
|
13 |
//$JUnit-END$ |
|
14 |
return suite; |
|
15 |
} |
|
16 |
|
|
17 |
} |
branches/v2_0_0_prep/extensions/extCenterViewToPoint/config/config.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
2 | 2 |
<plugin-config> |
3 | 3 |
<libraries library-dir="lib"/> |
4 |
<depends plugin-name="com.iver.cit.gvsig"/>
|
|
4 |
<depends plugin-name="org.gvsig.app"/>
|
|
5 | 5 |
<resourceBundle name="text"/> |
6 | 6 |
<extensions> |
7 |
<extension class-name="com.iver.gvsig.centerviewpoint.CenterViewToPointExtension"
|
|
7 |
<extension class-name="org.gvsig.centerviewpoint.CenterViewToPointExtension"
|
|
8 | 8 |
description="CenterViewToPoint 0.1RC1 Extensi?n que permite hacer zooms en funci?n de un par de coordenadas introducidas por el usuario." |
9 | 9 |
active="true"> |
10 | 10 |
<menu text="Vista/Centrar_la_Vista_sobre_un_punto" tooltip="Centrar_la_Vista_sobre_un_punto" |
11 | 11 |
action-command="CENTERVIEWTOPOINT" |
12 | 12 |
icon="view-center-to-point" /> |
13 |
<tool-bar name="com.iver.cit.gvsig.Herramientas">
|
|
13 |
<tool-bar name="Herramientas"> |
|
14 | 14 |
<action-tool icon="view-center-to-point" |
15 | 15 |
action-command="CENTERVIEWTOPOINT" tooltip="Centrar_la_Vista_sobre_un_punto" |
16 | 16 |
enable-text="deber?a de estar activada" last="true"/> |
Also available in: Unified diff