Revision 1911
branches/gvSIG_03_SLD/applications/appgvSIG/text_ca.properties | ||
---|---|---|
1 |
(escala_m?xima)=(escala m?xima) |
|
2 |
(escala_m?nima)=(escala m?nima) |
|
3 |
A0=A0 |
|
4 |
A1=A1 |
|
5 |
A2=A2 |
|
6 |
A3=A3 |
|
7 |
A4=A4 |
|
8 |
A5=A5 |
|
9 |
A6=A6 |
|
10 |
abajo=Avall |
|
11 |
abrir=Obrir |
|
12 |
Abrir_Imagen=Obrir Imatge |
|
13 |
abrir_proyecto=Obrir projecte |
|
14 |
abrir_tooltip=Obri un projecte existent |
|
15 |
Abrir_una_capa=Afegir capa |
|
16 |
Accion_Predefinida=Acci? Predefinida |
|
17 |
Aceptar=Acceptar |
|
18 |
acerca_de=Sobre... |
|
19 |
activar_regla=Activar regla |
|
20 |
activos=Actius |
|
21 |
adjust_transparency=Ajustar transpar?ncia |
|
22 |
agrupar=Agrupar |
|
23 |
agrupar_graficos=Agrupar gr?fics |
|
24 |
agrupar_linea=Agrupar l?nia gr?fica amb gr?fics |
|
25 |
Ajustar_transparencia=Ajustar Transpar?ncia |
|
26 |
ajustes_linea_grafica=Ajustos de l?nia gr?fica |
|
27 |
alias=?lies |
|
28 |
alineamiento=Alineament: |
|
29 |
alinear=Alinear |
|
30 |
alinear_graficos=Alinear gr?fics |
|
31 |
alta=Alta |
|
32 |
alto=Alt |
|
33 |
altura=Altura: |
|
34 |
Altura_fija_de_texto=Altura fixa de text |
|
35 |
Anadir=Afegir |
|
36 |
Anadir=Afegir |
|
37 |
Anadir_al_conjunto=Afegir al conjunt |
|
38 |
Anadir_Capa=Afegir Capa |
|
39 |
Anadir_capa=Afegir Capa |
|
40 |
Anadir_todos=Afegir Tots |
|
41 |
Anadir_todos=Afegir tots |
|
42 |
ancho=Ample |
|
43 |
Ancho_Contorno=Ample Contorn |
|
44 |
Ancho_de_l?nea=Ample de l?nia |
|
45 |
anchura=Ampl?ria: |
|
46 |
angulo_rotacion=Angle de rotaci?: |
|
47 |
Anterior=Anterior |
|
48 |
anterior=Anterior |
|
49 |
Aplicar=Aplicar |
|
50 |
Aplicar=Aplicar |
|
51 |
Archivo=Fitxer |
|
52 |
Archivos_de_Disco=Fitxers de disc |
|
53 |
arriba=Amunt |
|
54 |
automatico=Autom?tic |
|
55 |
Ayuda=Ajuda |
|
56 |
background_color=Color de fons |
|
57 |
baja=Baixa |
|
58 |
Bajar_capa=Baixar capa |
|
59 |
bmp=Fitxers de tipus bmp |
|
60 |
Bold=Bold |
|
61 |
borra_seleccion=Esborrar selecci? |
|
62 |
borrador=Esborrany |
|
63 |
borrar=Esborrar |
|
64 |
Calcular_intervalos=Calcular intervals |
|
65 |
calidad=Qualitat |
|
66 |
Cambios_de_estilo=Canvis d'estil |
|
67 |
Cambio_Color=Canvi Color |
|
68 |
Cambio_de_estilo=Canvi d'estil |
|
69 |
Cambio_Estilo=Canvi Estil |
|
70 |
Campo=Camp |
|
71 |
campo=Camp |
|
72 |
Campos=Camps |
|
73 |
campo_altura_texto=Camp d'altura de text: |
|
74 |
Campo_clasifica=Camp de Classificaci? |
|
75 |
Campo_de_clasificacion=Camp de classificaci? |
|
76 |
Campo_de_etiquetado=Camp d'etiquetat |
|
77 |
cancel=Cancel?lar |
|
78 |
Cancelar=Cancel?lar |
|
79 |
Cancelar=Cancel?lar |
|
80 |
Capas=Capes |
|
81 |
Capas=Capes |
|
82 |
Capas_del_localizador=Capes del localitzador |
|
83 |
capaWMS=CapaWMS |
|
84 |
cargar_leyenda=Carregar llegenda |
|
85 |
Centimetros=Cent?metres |
|
86 |
Cerrar=Tancar |
|
87 |
Circulo=Cercle |
|
88 |
circulo=Cercle |
|
89 |
coincidir_tama?o=Coincidir Dimensi?: |
|
90 |
colocar_alrededor_seleccionados=Col?locar al voltant dels gr?fics seleccionats. |
|
91 |
colocar_alrededor_todos=Col?locar al voltant de tots els gr?fics. |
|
92 |
colocar_a_margenes=Col?locar amb refer?ncia a m?rgens. |
|
93 |
colocar_delante=Col?locar davant |
|
94 |
colocar_detras=Col?locar darrere |
|
95 |
color=Color: |
|
96 |
Color_Contorno=Color Contorn |
|
97 |
Color_de_la_L?nea=Color de la L?nia: |
|
98 |
Color_de_Relleno=Color de Farciment |
|
99 |
Color_final=Color final: |
|
100 |
Color_final=Color final: |
|
101 |
Color_inicial=Color inicial: |
|
102 |
Color_inicio=Color d'inici |
|
103 |
color_texto=Color del text: |
|
104 |
comentarios=Comentaris |
|
105 |
configurar=Configurar |
|
106 |
configurar_localizador=Configurar localitzador |
|
107 |
Configurar_localizador=Configurar Localitzador ... |
|
108 |
confirmar_borrar=Est? segur que desitja esborrar l'element? |
|
109 |
conservar_escala_visualizacion=Conservar escala de visualitzaci? |
|
110 |
creation_date=Data de creaci? |
|
111 |
Cruz=Creu |
|
112 |
Cuadrado=Quadrat |
|
113 |
cuando_activo=Si est? Actiu |
|
114 |
Derecha=Dreta |
|
115 |
Derecho=Dret |
|
116 |
desagrupar=Desagrupar |
|
117 |
desagrupar_graficos=Desagrupar gr?fics |
|
118 |
Descripcion=Descripci? |
|
119 |
descripcion=Descripci? |
|
120 |
desde_arriba=Des de Dalt: |
|
121 |
desde_izquierda=Des de l'Esquerra: |
|
122 |
Desplazamiento=Despla?ament |
|
123 |
Detalles=Detalls |
|
124 |
detalles=Detalls |
|
125 |
DGNFiles=Fitxers .DGN |
|
126 |
DGNFiles=Fitxers .DGN |
|
127 |
distance_units=Unitats de mesura |
|
128 |
distribuir=Distribuir: |
|
129 |
divisiones_izquierda=Divisions a l'esquerra |
|
130 |
documentos_existentes=Documents existents |
|
131 |
Dxffiles=Fitxers .DXF |
|
132 |
Editar_leyenda=Editar Llegenda |
|
133 |
editar_propiedades=editar propietats |
|
134 |
Elegir_Color=Elegir Color |
|
135 |
Elegir_Fuente=Elegir Font |
|
136 |
Eliminar=Eliminar |
|
137 |
eliminar_capa=Eliminar Capa |
|
138 |
Encuadre=Enquadre |
|
139 |
Encuadre_Vista=Enquadre sobre la Vista |
|
140 |
enlace_vivo=Enlla? viu |
|
141 |
Enlazar_a_ficheros_de_imagen=Enlla?ar a fitxers d'imatge |
|
142 |
Enlazar_a_fichero_de_texto=Enlla?ar a fitxer de text |
|
143 |
en_el_mapa=En el mapa: |
|
144 |
En_metros=En metres |
|
145 |
En_pixels=En pixels |
|
146 |
Error_abriendo_el_fichero=Error obrint el fitxer |
|
147 |
error_escritura=No s'ha pogut guardar el projecte |
|
148 |
error_lectura=No s'ha pogut obrir el projecte |
|
149 |
Escala=Escala |
|
150 |
escala=Escala |
|
151 |
Escala_Maxima=Escala M?xima |
|
152 |
Escala_Minima=Escala M?nima |
|
153 |
escala_usuario=Escala especificada per l'usuari |
|
154 |
espaciado_horizontal=Espaiat horitzontal de la malla |
|
155 |
espaciado_vertical=Espaiat vertical de la malla |
|
156 |
espacio=Espai: |
|
157 |
Estilo=Estil: |
|
158 |
Etiqueta=Etiqueta |
|
159 |
Etiqueta=Etiqueta |
|
160 |
Etiquetado=Etiquetat |
|
161 |
Examinar=Examinar |
|
162 |
exportar=Exportar |
|
163 |
exportar_a=Exportar a... |
|
164 |
extension=Extensi? |
|
165 |
Fichero=Fitxer |
|
166 |
filtro=Filtre |
|
167 |
finalizar=Finalitzar |
|
168 |
Font=Font |
|
169 |
Fuente=Font |
|
170 |
fuente=Font |
|
171 |
General=General |
|
172 |
Generar_Intervalos=Generar Intervals |
|
173 |
gestion_encuadre=Gesti? d'Enquadres |
|
174 |
grados=graus |
|
175 |
Grosor_de_linea=Gruix de l?nia |
|
176 |
grosor_linea=Gruix de l?nia: |
|
177 |
Gr?ficos=Gr?fics |
|
178 |
guardado=Guardat en |
|
179 |
Guardar=Guardar |
|
180 |
Guardar=Guardar |
|
181 |
guardar_cambios=Vol guardar els canvis? |
|
182 |
guardar_como=Guardar com a... |
|
183 |
Guardar_el_zoom_actual=Guardar el zoom |
|
184 |
guardar_leyenda=Guardar llegenda |
|
185 |
Guardar_leyenda=Guardar llegenda |
|
186 |
guardar_proyecto=Guardar projecte |
|
187 |
guardar_tooltip=Guarda els canvis del projecte |
|
188 |
Habilitar_etiquetado=Habilitar etiquetat |
|
189 |
hasta=fins a |
|
190 |
Herramientas=Ferramentes |
|
191 |
Herramientas_vista=Ferramentes de la Vista |
|
192 |
Hiperenlace=Hiperenlla? |
|
193 |
horizontal=Horitzontal |
|
194 |
Identificar_Resultados=Identificar Resultats |
|
195 |
Igual_que_la_impresora=Igual que la impressora |
|
196 |
igual_todos_lados=Despla?ament igual per tots els costats. |
|
197 |
Imagen=Imatge |
|
198 |
imagen=Imatge |
|
199 |
importar=Importar |
|
200 |
Imprimir=Imprimir |
|
201 |
Inferior=Inferior |
|
202 |
infobreak=Mostra els elements de la capa usant una gamma de colors. |
|
203 |
infodef=Mostra tots els elements d'una capa usant el mateix s?mbol. |
|
204 |
informacion=Informaci? |
|
205 |
Informaci?n=Informaci? |
|
206 |
infovalue=Mostra elements de la capa usant un s?mbol per cada valor. |
|
207 |
Inicializando=Inicialitzant |
|
208 |
Insertar=Insertar |
|
209 |
insertar_circulo=Insertar Cercle |
|
210 |
insertar_escala=Insertar Escala |
|
211 |
insertar_imagen=Insertar Imatge |
|
212 |
insertar_leyenda=Insertar Llegenda |
|
213 |
insertar_linea=Insertar L?nia |
|
214 |
insertar_poligono=Insertar Pol?gon |
|
215 |
insertar_punto=Insertar Punt |
|
216 |
insertar_recta=Insertar Recta |
|
217 |
insertar_rectangulo=Insertar Rectangle |
|
218 |
insertar_texto=Insertar Text |
|
219 |
insertar_vista=Insertar Vista |
|
220 |
Intervalo=Interval |
|
221 |
Intervalos=Interval |
|
222 |
Intervalos=Intervals |
|
223 |
Intervalos_equidistantes=Intervals equidistants. |
|
224 |
Intervalos_por_rupturas_naturales=Intervals per trencaments naturals. |
|
225 |
introduce_nombre=Introdu?x el nou nom |
|
226 |
Italic=Italic |
|
227 |
Izquierda=Esquerra |
|
228 |
Izquierdo=Esquerre |
|
229 |
jpg=Fitxers JPEG |
|
230 |
Kilometros=Kil?metres |
|
231 |
kilometros=Kil?metres |
|
232 |
leyenda=Llegenda |
|
233 |
Linea=L?nia |
|
234 |
linea=L?nia |
|
235 |
linea_grafica=L?nia gr?fica |
|
236 |
Link=Enlla? |
|
237 |
malla_activada=Malla activada |
|
238 |
mantener_intervalo=Mantindre interval |
|
239 |
Mapa=Mapa |
|
240 |
mapas=Mapes |
|
241 |
map_units=Unitats de mapa |
|
242 |
marco_vista=Marc de la Vista |
|
243 |
marco_vista=Marc de la vista |
|
244 |
margenes=M?rgens: |
|
245 |
medir_area=Mesurar ?rea |
|
246 |
medir_distancias=Mesurar dist?ncies |
|
247 |
Metros=Metres |
|
248 |
metros=Metres |
|
249 |
Milimetros=Mil?l?metres |
|
250 |
Millas=Milles |
|
251 |
modification_date=?ltima data de modificaci? |
|
252 |
Mostrar_Contorno=Mostrar Contorn |
|
253 |
Mostrar_siempre=Mostrar sempre |
|
254 |
Muestra_atributos=Mostra els atributs de les capes seleccionades. |
|
255 |
Muestra_los_atributos_de_las_capas_seleccionadas=Mostra els atributs de les capes seleccionades |
|
256 |
M?s_100="El nombre de valors ?s superior a 100, i no aporta informaci?" |
|
257 |
Nivel_de_transparencia=Nivell de transpar?ncia |
|
258 |
nombre=Nom |
|
259 |
Nombres=Noms |
|
260 |
nombre_capa=Nom de la capa |
|
261 |
nombre_existente=*** |
|
262 |
Nombre_que_se_le_dara_al_zoom=Nom que se li donar? al zoom |
|
263 |
nombre_sesion=Nom de la sessi? |
|
264 |
normal=Normal |
|
265 |
no_activos=No actius |
|
266 |
No_de_intervalos=Nr. d'intervals |
|
267 |
No_mostrar=No mostrar la capa quan l'escala |
|
268 |
No_reconocido=No reconegut |
|
269 |
No_Shape=Este Layer no ?s de tipus Shape |
|
270 |
no_visibles=No visibles |
|
271 |
Nueva_tabla=Nova Taula |
|
272 |
nuevo=Nou |
|
273 |
Nuevo_conjunto=Nou conjunt |
|
274 |
nuevo_proyecto=Nou projecte |
|
275 |
nuevo_tamano_fuente=Nova Dimensi? de font: |
|
276 |
nuevo_tooltip=Crea un nou projecte |
|
277 |
N?m_intervalos=Nr. intervals |
|
278 |
ok=Ok |
|
279 |
orientacion=Orientaci?: |
|
280 |
Origen_de_Datos=Origen de les Dades: |
|
281 |
Otros=Altres |
|
282 |
owner=Propietari |
|
283 |
path=Ruta |
|
284 |
Perimetro=Per?metre |
|
285 |
Personalizado=Personalitzat |
|
286 |
Pies=Peus |
|
287 |
Plain=Plain |
|
288 |
png=Fitxers png |
|
289 |
poligono=Pol?gon |
|
290 |
poner_temas_a=Posar capes a... |
|
291 |
por_debajo_de =per davall de: |
|
292 |
por_encima_de=per damunt de: |
|
293 |
Por_favor_active_el_tema=Per favor active el tema |
|
294 |
posicion_linea=Posici? de la l?nia |
|
295 |
Preparar_pagina=Preparar p?gina |
|
296 |
preparar_pagina=Preparar p?gina |
|
297 |
presentacion=Presentaci? |
|
298 |
Previsualizacion=Previsualitzaci? |
|
299 |
Previsualizacion_de_simbolo=Previsualitzaci? de s?mbol |
|
300 |
propiedades=Propietats |
|
301 |
Propiedades_del_Tema=Propietats del tema |
|
302 |
Propiedades_de_la_Capa=Propietats de la Capa |
|
303 |
Propiedades_escala_grafica=Propietats de l'escala gr?fica |
|
304 |
propiedades_grafico=Propietats Gr?fic |
|
305 |
propiedades_mapa=Propietats del mapa |
|
306 |
propiedades_marco_imagenes=Propietats del marc d'im?tgens |
|
307 |
propiedades_marco_leyenda=Propietats del marc de la llegenda |
|
308 |
propiedades_marco_vista=Propietats del marc de la vista |
|
309 |
propiedades_sesion=Propietats de la sessi? |
|
310 |
propiedades_tabla=Propietats de la taula |
|
311 |
Propiedades_texto=Propietats del text |
|
312 |
propiedades_tema=Propietats del Tema |
|
313 |
propiedades_vista=Propietats de la vista |
|
314 |
Pulgadas=Polsades |
|
315 |
punto=Punt |
|
316 |
Quitar=Llevar |
|
317 |
Quitar=Llevar |
|
318 |
Quitar_capa=Llevar capa |
|
319 |
Quitar_Todos=Llevar Tots |
|
320 |
Quitar_todos=Llevar tots |
|
321 |
Rango_de_escalas=Rang d'escales |
|
322 |
Rasterfiles=Fitxers raster |
|
323 |
recorte_vista=Retall a vista |
|
324 |
recta=Recta |
|
325 |
rectangulo=Rectangle |
|
326 |
Recuperar_leyenda=Recuperar llegenda |
|
327 |
Recuperar_y_eliminar_otros_zoom=Recuperar i eliminar altres zooms |
|
328 |
refrescar=Refrescar |
|
329 |
registros=registres |
|
330 |
rellenar_marco_vista=Reomplir marc de la vista |
|
331 |
relleno=Farciment: |
|
332 |
renombrar=Renomenar |
|
333 |
resolucion_resultado=Resoluci? del resultat: |
|
334 |
Sample=Exemple |
|
335 |
Seleccionar=Seleccionar |
|
336 |
seleccionar_capas=Seleccionar Capes |
|
337 |
Seleccionar_del_conjunto=Seleccionar del conjunt |
|
338 |
Seleccionar_fichero=Seleccionar fitxer |
|
339 |
seleccionar_formato=Seleccionar Format |
|
340 |
seleccionar_por_punto=Seleccionar per punt |
|
341 |
seleccionar_por_rectangulo=Seleccionar per rectangle |
|
342 |
seleccionar_todos=Seleccionar tots |
|
343 |
seleccione_fecha=Seleccione una data... |
|
344 |
seleccion_fuente=Selecci? de font |
|
345 |
Seleccion_por_tema=Selecci? per tema |
|
346 |
selection_color=Color de la selecci? |
|
347 |
Servidor=Servidor |
|
348 |
servidor=Servidor |
|
349 |
Se_va_a_tener_en_cuenta_para_borrar_los_registros_desde=Es tindr? en compte per a esborrar els registres des de |
|
350 |
shape_seleccion=Exportar la selecci? |
|
351 |
Shapefile=Shapefile |
|
352 |
Shapefiles=Fitxers .SHP |
|
353 |
siempre=Sempre |
|
354 |
Siguiente=Seg?ent |
|
355 |
siguiente=Seg?ent |
|
356 |
Simbolo=S?mbol |
|
357 |
Simbolog?a=Simbologia |
|
358 |
Simbolo_unico=S?mbol ?nic |
|
359 |
simplificar=Simplificar |
|
360 |
sin_titulo=Sense t?tol |
|
361 |
sincronizar_color_borde_relleno=Sincronitzar el color de la vora amb el del Farciment: |
|
362 |
Size=Size |
|
363 |
Solo_para_capas_vectoriales=Sols per a capes vectorials |
|
364 |
Style=Style |
|
365 |
Subir_capa=Pujar capa |
|
366 |
Superior=Superior |
|
367 |
S?mbolo=S?mbol |
|
368 |
S?mbolo_?nico=S?mbol ?nic |
|
369 |
Tabla=Taula |
|
370 |
Tabla=Taula |
|
371 |
tablas=Taules |
|
372 |
Tabla_de_Atributos=Taula d'Atributs |
|
373 |
Tabla_de_prueba=Taula de prova |
|
374 |
tamano=Dimensi?: |
|
375 |
tamano_metros=Dimensi? en metres |
|
376 |
tama?o_pagina=Dimensi? de p?gina: |
|
377 |
tama?o_posicion=Dimensi? i posici? |
|
378 |
Tema=Capa |
|
379 |
texto=Text |
|
380 |
tipos_de_documentos=Tipus de documents |
|
381 |
Tipo_de_intervalos=Tipus d'intervals |
|
382 |
Tipo_de_leyenda=Tipus de llegenda |
|
383 |
Tipo_de_linea=Tipus de l?nia |
|
384 |
tipo_fichero_proyecto=Fitxer de projecte gvSIG (*.GVP) |
|
385 |
tipo_leyenda=Fitxers de tipus llegenda (*.GVL) |
|
386 |
tipo_linea=Tipus de L?nia: |
|
387 |
Tipo_no_reconocido=Tipus no reconegut |
|
388 |
tipo_relleno=Tipus de Farciment: |
|
389 |
tipo_simbolo=Tipus de s?mbol: |
|
390 |
titulo=Gestor de projectes |
|
391 |
titulo_confirmar=Confirmaci? |
|
392 |
Transparencia=Transpar?ncia |
|
393 |
transparencia=Transpar?ncia |
|
394 |
Triangulo=Triangle |
|
395 |
Unidades=Unitats: |
|
396 |
unidades=Units |
|
397 |
untitled=Sense t?tol |
|
398 |
Un_Layer=Ha de seleccionar almenys una capa. |
|
399 |
utilizar_margenes_impresora=Utilitzar m?rgens de la impressora. |
|
400 |
vacia=Buida |
|
401 |
Valor=Valor |
|
402 |
Valor=Valor |
|
403 |
Valores=Valors |
|
404 |
Valores_unicos=Valors ?nics |
|
405 |
Valores_?nicos=Valors ?nics |
|
406 |
ventana_proyecto=Finestra de projecte |
|
407 |
Ver=Veure |
|
408 |
vertical=Vertical |
|
409 |
ver_tabla_atributos=Veure Taula d'atributs |
|
410 |
ver_tooltip=Mostra la finestra de projecte |
|
411 |
visible=Visible |
|
412 |
visibles=Visible |
|
413 |
Vista=Vista |
|
414 |
vistas=Vistas |
|
415 |
visualizacion=Visualitzaci? |
|
416 |
Visualizacion=Visualitzaci? |
|
417 |
visualizar_cuadricula=Visualitzeu malla |
|
418 |
WMS=WMS |
|
419 |
Yardas=Iardes |
|
420 |
Zoom_al_Tema=Zoom al Tema |
|
421 |
Zoom_Completo=Zoom Complet |
|
422 |
Zoom_Completo_Vista=Zoom Complet sobre la Vista |
|
423 |
Zoom_Menos=Zoom Menys |
|
424 |
Zoom_Menos_Vista=Zoom Menys sobre la Vista |
|
425 |
Zoom_M?s=Zoom M?s |
|
426 |
Zoom_M?s_Vista=Zoom M?s sobre la Vista |
|
427 |
Zoom_Previo=Zoom Previ |
|
428 |
Zoom_Real=Zoom 1:1 |
|
429 |
Zoom_Select=Zoom a la part seleccionada |
|
430 |
reproyectar_aviso="La projecci? de la capa no ?s igual que la de la vista.\nAVISO: pot ser inexacte amb algunes transformaciones.\nPor favor, llija la documentaci?" |
|
431 |
reproyectar_pregunta=Vol reprojectar-la? |
|
432 |
__espacio_vertical=Espai vertical: |
|
433 |
__lineas=l?nies |
|
434 |
__redimensionar_texto_escala=Redimensione el text a escala amb la vista |
|
435 |
__seleccion_de_fuente=Selecci? de font |
|
436 |
__proyeccion_actual=Projecci? actual: |
|
0 | 437 |
branches/gvSIG_03_SLD/applications/appgvSIG/.project | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<projectDescription> |
|
3 |
<name>GVSIG</name> |
|
4 |
<comment></comment> |
|
5 |
<projects> |
|
6 |
</projects> |
|
7 |
<buildSpec> |
|
8 |
<buildCommand> |
|
9 |
<name>org.eclipse.jdt.core.javabuilder</name> |
|
10 |
<arguments> |
|
11 |
</arguments> |
|
12 |
</buildCommand> |
|
13 |
</buildSpec> |
|
14 |
<natures> |
|
15 |
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature> |
|
16 |
<nature>org.eclipse.jdt.core.javanature</nature> |
|
17 |
<nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature> |
|
18 |
</natures> |
|
19 |
</projectDescription> |
|
0 | 20 |
branches/gvSIG_03_SLD/applications/appgvSIG/distFiles/LEEME.txt | ||
---|---|---|
1 |
gvSIG v 0.2.0 beta. |
|
2 |
|
|
3 |
Prerequisitos: |
|
4 |
- Java instalado (JRE 1.4.2 o superior) (http://java.sun.com) |
|
5 |
- JAI + JAI image I/O (http://java.sun.com) |
|
6 |
- librer?as din?micas para los ECW: vienen con cualquier |
|
7 |
producto de ERMAPPER y son gratuitas (Actualmente solo hay disponibles para |
|
8 |
MS windows)(http://www.ermapper.com) |
|
9 |
|
|
10 |
Instalaci?n: |
|
11 |
|
|
12 |
Descomprimir el archivo zip completo en el directorio deseado |
|
13 |
|
|
14 |
Ejecuci?n |
|
15 |
En windows: gvSIG.bat |
|
16 |
En linux: gvSIG.sh |
|
17 |
|
|
18 |
M?s informaci?n: |
|
19 |
gvsig@gva.es |
|
0 | 20 |
branches/gvSIG_03_SLD/applications/appgvSIG/build.number | ||
---|---|---|
1 |
#Build Number for ANT. Do not edit! |
|
2 |
#Thu Apr 21 11:01:14 CEST 2005 |
|
3 |
build.number=307 |
|
0 | 4 |
branches/gvSIG_03_SLD/applications/appgvSIG/VCN | ||
---|---|---|
1 |
REALIZADOS: |
|
2 |
|
|
3 |
- Al a?adir un nuevo fframe se debe de quedar ese como seleccionado |
|
4 |
y todos los dem?s hay que dejarlos como no seleccionados. |
|
5 |
|
|
6 |
- Implementar el FFrameLegend con todos los nombres de capas |
|
7 |
como textLayout y los s?mbolos. |
|
8 |
|
|
9 |
-Meterle un m?todo que cambie cada uno de los nombres y s?mbolos |
|
10 |
del fframe en un fframe por separado. |
|
11 |
(Simplificar)A partir de un FFrameLegend crear FFrameText y FFrameSymbol. |
|
12 |
|
|
13 |
-Introducir dentro FGraphicsUtilities la parte del m?todo paintcomponent |
|
14 |
de FPreviewSymbol que sea com?n dibujar sobre el mapa de forma est?tica. |
|
15 |
Se dibuja por la posici?n del shape y no del rect?ngulo. |
|
16 |
|
|
17 |
-Crear una clase FLayoutUtilities, con los m?todos est?ticos fromSheet y toSheet. |
|
18 |
|
|
19 |
-Crear grupos de fframes unidos, Agrupar y para Desagrupar, |
|
20 |
de forma que cuando se agrupan se crea un FframeGroup que contenga dentro |
|
21 |
todos los fframes seleccionados previamente, y cuando se desagrupa |
|
22 |
se elimina el fframegroup y se vuelve a crear un fframe |
|
23 |
de cada uno de los fframe que contenia dentro el fframegroup. |
|
24 |
|
|
25 |
-Alinear como lo hace arcView o como lo hace el visual editor en funci?n |
|
26 |
de los fframes seleccionados o en funci?n del Layout. |
|
27 |
|
|
28 |
-Colocar detr?s y delante fframes seleccionados respecto de los dem?s. |
|
29 |
|
|
30 |
-El FConstanstLayout debe de desaparecer y a?adir las |
|
31 |
constantes que contiene en las clases que las necesiten. |
|
32 |
|
|
33 |
- Crear las barras de escala y modificar la escala en vez de en metros en cent?metros. |
|
34 |
|
|
35 |
-Cuando se muestra una escala que no es fija, y se modifica la escala de la vista, |
|
36 |
la escala que lo representa no varia. |
|
37 |
|
|
38 |
- Se pueda abrir el di?logo de propiedades de cada uno de los fframes a?adidos al Layout, |
|
39 |
con la informaci?n que necesita. |
|
40 |
|
|
41 |
- Cuando se alinea un solo elemento no se hace como deber?a. |
|
42 |
|
|
43 |
-L?nea gr?fica. |
|
44 |
|
|
45 |
-FullExtent. |
|
46 |
|
|
47 |
- El di?logo de FPanelDefault no tiene la posibilidad p?blica de modificar |
|
48 |
que no contenga relleno. |
|
49 |
-Los puntos se deben de poder cambiar su tama?o al cambiar su tama?o arrastrando con |
|
50 |
el rat?n en el Layout y no solo desde el di?logo de propiedades de este. |
|
51 |
|
|
52 |
- El Fshape se crea cada vez que se dibuja y por lo tanto no hay que guardarlo. |
|
53 |
|
|
54 |
- FSymbol tiene que guardarse en XML utilizando la XMLEntity.La forma separar el modelo del Layout. |
|
55 |
|
|
56 |
-Al cambiar de tama?o un fframe por encima de su posicion x e y, se distorsiona. |
|
57 |
|
|
58 |
-Al modificar la escala de una vista en el Layout la escala gr?fica debe de cambiar su tama?o |
|
59 |
de acuerdo al cambio en la escala de la vista. |
|
60 |
|
|
61 |
-Haciendo un doble click se acceda al dialogo de propiedades de cada uno de los fframes. |
|
62 |
|
|
63 |
-FFrameText: Falta poder posicionar las l?neas a la izquierda, centro o derecha. |
|
64 |
|
|
65 |
-Hacer el entramado que sea transparente totalmente en vez de blanco y que se pueda controlar su transparencia en las l?neas que lo componen. |
|
66 |
|
|
67 |
- La propiedad de poder a?adir una vista, una imagen o una leyenda en forma de borrador o presentaci?n. |
|
68 |
|
|
69 |
- Popupmenu en el Layout que se abre pulsando el bot?n derecho del rat?n. |
|
70 |
|
|
71 |
- En FFrameViewDialog si no se selecciona ninguna vista y se acepta salta una excepci?n. |
|
72 |
|
|
73 |
- Al cambiar el zoom y posicionar alg?n elemento detr?s o delante respecto de los dem?s |
|
74 |
cambia el zoom y se coloca siempre en mismo lugar. |
|
75 |
|
|
76 |
- Teniendo seleccionada la herramienta de selecci?n y desplazar un fframe cambia su tama?o, ahora lo sigue cambiando pero solo cuando |
|
77 |
se desplaza de su posici?n, el desplazamiento y cambio de tama?o de un rect?ngulo |
|
78 |
con el grid seleccionado no funciona del todo bien, cambia |
|
79 |
el tama?o de forma anormal, pero no siempre. |
|
80 |
|
|
81 |
- Separar el drawLayout para imprimir del drawLayout para visualizar en pantalla. |
|
82 |
|
|
83 |
-En FBorderDialog, falta a?adir propiedades al rect?ngulo que se a?ade, |
|
84 |
por ejemplo elegir el color, grosor, textura,de momento es un rect?ngulo simple. |
|
85 |
|
|
86 |
|
|
87 |
- FFramePicture se debe cambiar, ya que crea un bufferedimage tan grande como el zoom que se hace y salta la excepci?n de out of memory. |
|
88 |
|
|
89 |
PENDIENTES: |
|
90 |
|
|
91 |
- Rematar el a?adir una vista al Layout, |
|
92 |
y su actualizaci?n. |
|
93 |
|
|
94 |
- El Di?logo FLegendManagerWindow, |
|
95 |
para que pueda funcionar igual que en arcView |
|
96 |
debe ser ?nico implementando SingletonView y que se pueda cambiar su modelo |
|
97 |
por el de otra vista que lo requiera. |
|
98 |
Ahora mismo lo he dejado como modal y que implementa View. |
|
99 |
|
|
100 |
-Al a?adir una misma vista dos veces al Layout sigue cambiando su extent, cada repaint. |
|
101 |
Tambi?n al tocar la vista y refrescar en el Layout, que debe ser por lo mismo ya que la |
|
102 |
escala que calcula es diferente cada vez y eso cambia el extent. |
|
103 |
Supongo que es la forma de calcular el extent respecto de la anchura y altura del |
|
104 |
fframe que lo contiene y al ser dos se reajusta sin parar. Para corregir esto hay que: |
|
105 |
El extent del Fmap debe de quedarse fuera de este, |
|
106 |
de esta forma no se necesitara clonar fmap cuando el extent |
|
107 |
de la vista a a?adir al Layout no tiene que ser la misma. |
|
108 |
|
|
109 |
-A?adir el insertar un rect?ngulo a cada uno de los fframes seleccionados |
|
110 |
dentro de fframeGraphics contener FShapes con el rect?ngulo dentro en este caso y |
|
111 |
pensando en poder a?adir tambi?n de otras formas los rect?ngulos y l?neas que queramos. |
|
112 |
fshape + symbol==graphics. |
|
113 |
|
|
114 |
- No corren prisa: deshacer, escala real, |
|
115 |
zoom a lo seleccionado. |
|
116 |
|
|
117 |
-Revisar los di?logos de los fframes para ver posibles fallos. |
|
118 |
|
|
119 |
- Hay que tener en cuenta que di?logos abrir cuando hay varios fframes seleccionados |
|
120 |
cuando se quiere abrir el di?logo de propiedades. En FLayoutGraphics,openFFrameDialog(), |
|
121 |
hay que abrir el di?logo de propiedades cuando hayan m?s de uno seleccionado, |
|
122 |
incluido cuando son de tipos diferentes. |
|
123 |
|
|
124 |
- Cuando se deslinka el extent de una vista a?adidar al Layout del extent original, se clona el FMap. |
|
125 |
|
|
126 |
-FFrameView: Falta recortar a la vista y lo de los eventos de cuando se tiene que actualizar el Layout respecto de los cambios de la vista. |
|
127 |
Enlace vivo: Se debe guardar el extent actual de la vista y quedarse con ese extent. |
|
128 |
|
|
129 |
-FFramePicture: Falta lo de los eventos. |
|
130 |
-FFrameScaleBar: Visualizar solo las vistas que esten a?adidas al Layout y no todas. |
|
131 |
-FFrameLegend: Eventos .Y visualizar en la lista de selecci?n, si se quiere, las vistas a?adidas solamente y no todas. |
|
132 |
|
|
133 |
|
|
134 |
-Preparar p?gina: FConfigLayoutDialog muestra una apariencia que no es la del Look and feel elegida. |
|
135 |
Puede que sea porque es un MODALDIALOG. |
|
136 |
|
|
137 |
- Cuando se posiciona delante o detr?s una barra de escala, se cambia el tipo de fuente. |
|
138 |
Pero el tama?o es el mismo, el color del graphics tambi?n y el tipo de fuente. |
|
139 |
- El area imprimible hay que conseguir que sea la misma para |
|
140 |
los attributes, PageFormat y para guardarla en un atributo |
|
141 |
de la clase Attributes. Imprimir de acuerdo a los m?rgenes establecidos, no funciona bien todav?a. Es un tema delicado. |
|
142 |
|
|
143 |
- m_name de FFrame solo lo utilizan tres fframes de momento. |
|
144 |
|
|
145 |
- Mirar el por que una vista tarda tanto en dibujar un trocillo peque?o en el Layout. |
|
146 |
|
|
147 |
- La leyenda que se introduzca con tama?o adecuado, mirar arcView. |
|
148 |
|
|
149 |
DUDAS: |
|
150 |
|
|
151 |
- El simplificar un fframe, como por ejemplo la leyenda esta ya hecho pero el arcView |
|
152 |
tambi?n simplifica una vista por cada uno de sus shapes.(Esto no). |
|
153 |
-------------------------------------------------------------------------------------- |
|
154 |
______________________________ |
|
155 |
VERSION 0.3: |
|
156 |
______________________________ |
|
157 |
|
|
158 |
- Los botones del Layout que se apliquen sobre la vista a?adida se deben de poner a enables |
|
159 |
cuando se tenga seleccionada una vista. V |
|
160 |
|
|
161 |
- Cuando se abre las propiedades de una vista a?adida en el Layout en el di?logo no se queda |
|
162 |
esta seleccionada en la lista, pero si se rellena el di?ologo con los datos necesarios. V |
|
163 |
|
|
164 |
- Al imprimir un layout que est? en vertical tras haber guardado el proyecto y recuperado se |
|
165 |
visualiza en vertical pero la impresi?n es en horizontal. V |
|
166 |
|
|
167 |
- A?adir al di?logo de FFrameText la posibilidad de poner color a los textos a?adidos. V |
|
168 |
|
|
169 |
|
|
170 |
|
|
171 |
________________________________ |
|
172 |
CAD |
|
173 |
________________________________ |
|
174 |
|
|
175 |
|
|
0 | 176 |
branches/gvSIG_03_SLD/applications/appgvSIG/src/log4j.properties | ||
---|---|---|
1 |
log4j.rootLogger=info, stdout |
|
2 |
|
|
3 |
log4j.appender.stdout=org.apache.log4j.ConsoleAppender |
|
4 |
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout |
|
5 |
|
|
6 |
# Pattern to output the caller's file name and line number. |
|
7 |
log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n |
|
8 |
|
|
9 |
log4j.appender.R=org.apache.log4j.RollingFileAppender |
|
10 |
log4j.appender.R.File=application.log |
|
11 |
|
|
12 |
log4j.appender.R.MaxFileSize=100KB |
|
13 |
# Keep one backup file |
|
14 |
log4j.appender.R.MaxBackupIndex=1 |
|
15 |
|
|
16 |
log4j.appender.R.layout=org.apache.log4j.PatternLayout |
|
17 |
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n |
|
18 |
|
|
0 | 19 |
branches/gvSIG_03_SLD/applications/appgvSIG/src/com/iver/cit/gvsig/RemoveTableUnion.java | ||
---|---|---|
1 |
package com.iver.cit.gvsig; |
|
2 |
|
|
3 |
import com.iver.andami.PluginServices; |
|
4 |
import com.iver.andami.plugins.Extension; |
|
5 |
import com.iver.andami.ui.mdiManager.View; |
|
6 |
import com.iver.cit.gvsig.gui.Table; |
|
7 |
import com.iver.cit.gvsig.project.ProjectTable; |
|
8 |
|
|
9 |
/** |
|
10 |
* @author Fernando Gonz?lez Cort?s |
|
11 |
*/ |
|
12 |
public class RemoveTableUnion implements Extension{ |
|
13 |
|
|
14 |
/** |
|
15 |
* @see com.iver.andami.plugins.Extension#inicializar() |
|
16 |
*/ |
|
17 |
public void inicializar() { |
|
18 |
// TODO Auto-generated method stub |
|
19 |
|
|
20 |
} |
|
21 |
|
|
22 |
/** |
|
23 |
* @see com.iver.andami.plugins.Extension#execute(java.lang.String) |
|
24 |
*/ |
|
25 |
public void execute(String actionCommand) { |
|
26 |
Table t = (Table) PluginServices.getMDIManager().getActiveView(); |
|
27 |
ProjectTable pt = t.getModel(); |
|
28 |
pt.restoreDataSource(); |
|
29 |
} |
|
30 |
|
|
31 |
/** |
|
32 |
* @see com.iver.andami.plugins.Extension#isEnabled() |
|
33 |
*/ |
|
34 |
public boolean isEnabled() { |
|
35 |
View v = PluginServices.getMDIManager().getActiveView(); |
|
36 |
|
|
37 |
if (v == null) { |
|
38 |
return false; |
|
39 |
} |
|
40 |
|
|
41 |
if (v.getClass() == Table.class) { |
|
42 |
Table t = (Table) v; |
|
43 |
if (t.getModel().getOriginal() != null){ |
|
44 |
return true; |
|
45 |
} |
|
46 |
} |
|
47 |
return false; |
|
48 |
} |
|
49 |
|
|
50 |
/** |
|
51 |
* @see com.iver.andami.plugins.Extension#isVisible() |
|
52 |
*/ |
|
53 |
public boolean isVisible() { |
|
54 |
View v = PluginServices.getMDIManager().getActiveView(); |
|
55 |
|
|
56 |
if (v == null) { |
|
57 |
return false; |
|
58 |
} |
|
59 |
|
|
60 |
if (v.getClass() == Table.class) { |
|
61 |
return true; |
|
62 |
} else { |
|
63 |
return false; |
|
64 |
} |
|
65 |
|
|
66 |
} |
|
67 |
|
|
68 |
} |
|
0 | 69 |
branches/gvSIG_03_SLD/applications/appgvSIG/src/com/iver/cit/gvsig/ZoomPrev.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
2 |
* |
|
3 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
18 |
* |
|
19 |
* For more information, contact: |
|
20 |
* |
|
21 |
* Generalitat Valenciana |
|
22 |
* Conselleria d'Infraestructures i Transport |
|
23 |
* Av. Blasco Ib??ez, 50 |
|
24 |
* 46010 VALENCIA |
|
25 |
* SPAIN |
|
26 |
* |
|
27 |
* +34 963862235 |
|
28 |
* gvsig@gva.es |
|
29 |
* www.gvsig.gva.es |
|
30 |
* |
|
31 |
* or |
|
32 |
* |
|
33 |
* IVER T.I. S.A |
|
34 |
* Salamanca 50 |
|
35 |
* 46005 Valencia |
|
36 |
* Spain |
|
37 |
* |
|
38 |
* +34 963163400 |
|
39 |
* dac@iver.es |
|
40 |
*/ |
|
41 |
package com.iver.cit.gvsig; |
|
42 |
|
|
43 |
import com.iver.andami.PluginServices; |
|
44 |
import com.iver.andami.plugins.Extension; |
|
45 |
|
|
46 |
import com.iver.cit.gvsig.fmap.FMap; |
|
47 |
import com.iver.cit.gvsig.fmap.ViewPort; |
|
48 |
import com.iver.cit.gvsig.gui.View; |
|
49 |
|
|
50 |
|
|
51 |
/** |
|
52 |
* Extensi?n que cambia el extent de la vista al extent anterior. |
|
53 |
* |
|
54 |
* @author Vicente Caballero Navarro |
|
55 |
*/ |
|
56 |
public class ZoomPrev implements Extension { |
|
57 |
/** |
|
58 |
* @see com.iver.mdiApp.plugins.Extension#isEnabled() |
|
59 |
*/ |
|
60 |
public boolean isEnabled() { |
|
61 |
View vista = (View) PluginServices.getMDIManager().getActiveView(); |
|
62 |
ViewPort vp = vista.getModel().getMapContext().getViewPort(); |
|
63 |
|
|
64 |
return vp.getExtents().hasPrevious(); |
|
65 |
} |
|
66 |
|
|
67 |
/** |
|
68 |
* @see com.iver.mdiApp.plugins.Extension#isVisible() |
|
69 |
*/ |
|
70 |
public boolean isVisible() { |
|
71 |
com.iver.andami.ui.mdiManager.View f = PluginServices.getMDIManager() |
|
72 |
.getActiveView(); |
|
73 |
|
|
74 |
if (f == null) { |
|
75 |
return false; |
|
76 |
} |
|
77 |
|
|
78 |
if (f.getClass() == View.class) { |
|
79 |
View v = (View) f; |
|
80 |
|
|
81 |
FMap mapa = v.getModel().getMapContext(); |
|
82 |
|
|
83 |
return mapa.getLayers().getLayersCount() > 0; |
|
84 |
} else { |
|
85 |
return false; |
|
86 |
} |
|
87 |
} |
|
88 |
|
|
89 |
/** |
|
90 |
* @see com.iver.mdiApp.plugins.Extension#updateUI(java.lang.String) |
|
91 |
*/ |
|
92 |
public void execute(String arg0) { |
|
93 |
View vista = (View) PluginServices.getMDIManager().getActiveView(); |
|
94 |
ViewPort vp = vista.getModel().getMapContext().getViewPort(); |
|
95 |
vp.setPreviousExtent(); |
|
96 |
} |
|
97 |
|
|
98 |
/** |
|
99 |
* @see com.iver.andami.plugins.Extension#inicializar() |
|
100 |
*/ |
|
101 |
public void inicializar() { |
|
102 |
} |
|
103 |
} |
|
0 | 104 |
branches/gvSIG_03_SLD/applications/appgvSIG/src/com/iver/cit/gvsig/Export.java | ||
---|---|---|
1 |
/* |
|
2 |
* Created on 17-feb-2004 |
|
3 |
* |
|
4 |
* To change the template for this generated file go to |
|
5 |
* Window>Preferences>Java>Code Generation>Code and Comments |
|
6 |
*/ |
|
7 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
8 |
* |
|
9 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
10 |
* |
|
11 |
* This program is free software; you can redistribute it and/or |
|
12 |
* modify it under the terms of the GNU General Public License |
|
13 |
* as published by the Free Software Foundation; either version 2 |
|
14 |
* of the License, or (at your option) any later version. |
|
15 |
* |
|
16 |
* This program is distributed in the hope that it will be useful, |
|
17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
19 |
* GNU General Public License for more details. |
|
20 |
* |
|
21 |
* You should have received a copy of the GNU General Public License |
|
22 |
* along with this program; if not, write to the Free Software |
|
23 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
24 |
* |
|
25 |
* For more information, contact: |
|
26 |
* |
|
27 |
* Generalitat Valenciana |
|
28 |
* Conselleria d'Infraestructures i Transport |
|
29 |
* Av. Blasco Ib??ez, 50 |
|
30 |
* 46010 VALENCIA |
|
31 |
* SPAIN |
|
32 |
* |
|
33 |
* +34 963862235 |
|
34 |
* gvsig@gva.es |
|
35 |
* www.gvsig.gva.es |
|
36 |
* |
|
37 |
* or |
|
38 |
* |
|
39 |
* IVER T.I. S.A |
|
40 |
* Salamanca 50 |
|
41 |
* 46005 Valencia |
|
42 |
* Spain |
|
43 |
* |
|
44 |
* +34 963163400 |
|
45 |
* dac@iver.es |
|
46 |
*/ |
|
47 |
package com.iver.cit.gvsig; |
|
48 |
|
|
49 |
import com.iver.andami.PluginServices; |
|
50 |
import com.iver.andami.messages.NotificationManager; |
|
51 |
import com.iver.andami.plugins.Extension; |
|
52 |
|
|
53 |
import com.iver.cit.gvsig.gui.View; |
|
54 |
|
|
55 |
import com.iver.utiles.GenericFileFilter; |
|
56 |
|
|
57 |
import com.sun.jimi.core.Jimi; |
|
58 |
import com.sun.jimi.core.JimiException; |
|
59 |
import com.sun.jimi.core.raster.JimiRasterImage; |
|
60 |
|
|
61 |
import java.awt.Component; |
|
62 |
import java.awt.Image; |
|
63 |
|
|
64 |
import java.io.File; |
|
65 |
import java.io.FileNotFoundException; |
|
66 |
import java.io.FileOutputStream; |
|
67 |
import java.io.IOException; |
|
68 |
|
|
69 |
import javax.swing.JFileChooser; |
|
70 |
import javax.swing.filechooser.FileFilter; |
|
71 |
|
|
72 |
|
|
73 |
/** |
|
74 |
* Extensi?n para exportar en algunos formatos raster la vista actual. |
|
75 |
* |
|
76 |
* @author Fernando Gonz?lez Cort?s |
|
77 |
*/ |
|
78 |
public class Export implements Extension { |
|
79 |
/** |
|
80 |
* @see com.iver.andami.plugins.Extension#isEnabled() |
|
81 |
*/ |
|
82 |
public boolean isEnabled() { |
|
83 |
View f = (View) PluginServices.getMDIManager().getActiveView(); |
|
84 |
|
|
85 |
if (f == null) { |
|
86 |
return false; |
|
87 |
} |
|
88 |
|
|
89 |
return f.getModel().getMapContext().getLayers().getActives().length > 0; |
|
90 |
} |
|
91 |
|
|
92 |
/** |
|
93 |
* @see com.iver.mdiApp.plugins.Extension#isVisible() |
|
94 |
*/ |
|
95 |
public boolean isVisible() { |
|
96 |
com.iver.andami.ui.mdiManager.View f = (com.iver.andami.ui.mdiManager.View) PluginServices.getMDIManager() |
|
97 |
.getActiveView(); |
|
98 |
|
|
99 |
if (f == null) { |
|
100 |
return false; |
|
101 |
} |
|
102 |
|
|
103 |
return (f.getClass() == View.class); |
|
104 |
} |
|
105 |
|
|
106 |
/** |
|
107 |
* @see com.iver.andami.plugins.Extension#inicializar() |
|
108 |
*/ |
|
109 |
public void inicializar() { |
|
110 |
} |
|
111 |
|
|
112 |
/** |
|
113 |
* @see com.iver.andami.plugins.Extension#execute(java.lang.String) |
|
114 |
*/ |
|
115 |
public void execute(String actionCommand) { |
|
116 |
FileFilter pngFilter = new GenericFileFilter("png", |
|
117 |
PluginServices.getText(this, "png")); |
|
118 |
String[] s={"jpg","jpeg"}; |
|
119 |
FileFilter jpgFilter = new GenericFileFilter(s, |
|
120 |
PluginServices.getText(this, "jpg")); |
|
121 |
FileFilter bmpFilter = new GenericFileFilter("bmp", |
|
122 |
PluginServices.getText(this, "bmp")); |
|
123 |
|
|
124 |
JFileChooser jfc = new JFileChooser(); |
|
125 |
jfc.addChoosableFileFilter(pngFilter); |
|
126 |
jfc.addChoosableFileFilter(jpgFilter); |
|
127 |
jfc.addChoosableFileFilter(bmpFilter); |
|
128 |
jfc.setFileFilter(pngFilter); |
|
129 |
if (jfc.showSaveDialog((Component) PluginServices.getMainFrame()) == JFileChooser.APPROVE_OPTION) { |
|
130 |
Image tempImage; |
|
131 |
|
|
132 |
tempImage = ((View) PluginServices.getMDIManager().getActiveView()).getImage(); |
|
133 |
|
|
134 |
File f = jfc.getSelectedFile(); |
|
135 |
|
|
136 |
try { |
|
137 |
JimiRasterImage jrf = Jimi.createRasterImage(tempImage.getSource()); |
|
138 |
String tempName = f.getName().toUpperCase().trim(); |
|
139 |
if (jfc.getFileFilter().equals(pngFilter)){ |
|
140 |
System.out.println("pngFilter"); |
|
141 |
if (!(tempName.length()>3) || (!(tempName.substring(tempName.length()-4,tempName.length()).equalsIgnoreCase(".png")))){ |
|
142 |
f=new File(f.getPath()+".png"); |
|
143 |
} |
|
144 |
FileOutputStream fout = new FileOutputStream(f); |
|
145 |
Jimi.putImage("image/png", jrf, fout); |
|
146 |
fout.close(); |
|
147 |
} else if (jfc.getFileFilter().equals(bmpFilter)){ |
|
148 |
System.out.println("bmpFilter"); |
|
149 |
if (!(tempName.length()>3) || (!(tempName.substring(tempName.length()-4,tempName.length()).equalsIgnoreCase(".bmp")))){ |
|
150 |
f=new File(f.getPath()+".bmp"); |
|
151 |
} |
|
152 |
FileOutputStream fout = new FileOutputStream(f); |
|
153 |
Jimi.putImage("image/bmp", jrf, fout); |
|
154 |
fout.close(); |
|
155 |
}else if (jfc.getFileFilter().equals(jpgFilter)){ |
|
156 |
System.out.println("jpgFilter"); |
|
157 |
if (!(tempName.length()>3) || ((tempName.length()>3 && !(tempName.substring(tempName.length()-4,tempName.length()).equalsIgnoreCase(".jpg")) || (tempName.length()>4 &&tempName.substring(tempName.length()-5,tempName.length()).equalsIgnoreCase(".jpeg"))))){ |
|
158 |
f=new File(f.getPath()+".jpg"); |
|
159 |
} |
|
160 |
FileOutputStream fout = new FileOutputStream(f); |
|
161 |
Jimi.putImage("image/jpg", jrf, fout); |
|
162 |
fout.close(); |
|
163 |
|
|
164 |
} |
|
165 |
/*if (tempName.endsWith(".JPG")) { |
|
166 |
|
|
167 |
FileOutputStream fout = new FileOutputStream(f); |
|
168 |
Jimi.putImage("image/jpg", jrf, fout); |
|
169 |
fout.close(); |
|
170 |
} else if (tempName.endsWith(".PNG")) { |
|
171 |
FileOutputStream fout = new FileOutputStream(f); |
|
172 |
Jimi.putImage("image/png", jrf, fout); |
|
173 |
fout.close(); |
|
174 |
} else if (tempName.endsWith(".BMP")) { |
|
175 |
FileOutputStream fout = new FileOutputStream(f); |
|
176 |
Jimi.putImage("image/bmp", jrf, fout); |
|
177 |
fout.close(); |
|
178 |
} |
|
179 |
*/ |
|
180 |
} catch (JimiException e) { |
|
181 |
NotificationManager.addError("Error exportando la imagen", e); |
|
182 |
} catch (FileNotFoundException e) { |
|
183 |
NotificationManager.addError("No se encontr? el fichero", e); |
|
184 |
} catch (IOException e) { |
|
185 |
NotificationManager.addError("Error con el fichero", e); |
|
186 |
} |
|
187 |
} |
|
188 |
} |
|
189 |
} |
|
0 | 190 |
branches/gvSIG_03_SLD/applications/appgvSIG/src/com/iver/cit/gvsig/LinkControls.java | ||
---|---|---|
1 |
/* |
|
2 |
* Created on 01-jun-2004 |
|
3 |
* |
|
4 |
* To change the template for this generated file go to |
|
5 |
* Window>Preferences>Java>Code Generation>Code and Comments |
|
6 |
*/ |
|
7 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
8 |
* |
|
9 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
10 |
* |
|
11 |
* This program is free software; you can redistribute it and/or |
|
12 |
* modify it under the terms of the GNU General Public License |
|
13 |
* as published by the Free Software Foundation; either version 2 |
|
14 |
* of the License, or (at your option) any later version. |
|
15 |
* |
|
16 |
* This program is distributed in the hope that it will be useful, |
|
17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
19 |
* GNU General Public License for more details. |
|
20 |
* |
|
21 |
* You should have received a copy of the GNU General Public License |
|
22 |
* along with this program; if not, write to the Free Software |
|
23 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
24 |
* |
|
25 |
* For more information, contact: |
|
26 |
* |
|
27 |
* Generalitat Valenciana |
|
28 |
* Conselleria d'Infraestructures i Transport |
|
29 |
* Av. Blasco Ib??ez, 50 |
|
30 |
* 46010 VALENCIA |
|
31 |
* SPAIN |
|
32 |
* |
|
33 |
* +34 963862235 |
|
34 |
* gvsig@gva.es |
|
35 |
* www.gvsig.gva.es |
|
36 |
* |
|
37 |
* or |
|
38 |
* |
|
39 |
* IVER T.I. S.A |
|
40 |
* Salamanca 50 |
|
41 |
* 46005 Valencia |
|
42 |
* Spain |
|
43 |
* |
|
44 |
* +34 963163400 |
|
45 |
* dac@iver.es |
|
46 |
*/ |
|
47 |
package com.iver.cit.gvsig; |
|
48 |
|
|
49 |
import com.iver.andami.PluginServices; |
|
50 |
import com.iver.andami.plugins.Extension; |
|
51 |
|
|
52 |
import com.iver.cit.gvsig.fmap.FMap; |
|
53 |
import com.iver.cit.gvsig.fmap.MapControl; |
|
54 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
|
55 |
import com.iver.cit.gvsig.gui.View; |
|
56 |
import com.iver.cit.gvsig.project.ProjectView; |
|
57 |
|
|
58 |
import org.apache.log4j.Logger; |
|
59 |
|
|
60 |
|
|
61 |
/** |
|
62 |
* Extensi?n para gestionar los hiperlinks. |
|
63 |
* |
|
64 |
* @author Vicente Caballero Navarro |
|
65 |
*/ |
|
66 |
public class LinkControls implements Extension { |
|
67 |
private static Logger logger = Logger.getLogger(LinkControls.class.getName()); |
|
68 |
|
|
69 |
/** |
|
70 |
* @see com.iver.andami.plugins.Extension#execute(java.lang.String) |
|
71 |
*/ |
|
72 |
public void execute(String s) { |
|
73 |
View vista = (View) PluginServices.getMDIManager().getActiveView(); |
|
74 |
ProjectView model = vista.getModel(); |
|
75 |
FMap mapa = model.getMapContext(); |
|
76 |
MapControl mapCtrl = vista.getMapControl(); |
|
77 |
logger.debug("Comand : " + s); |
|
78 |
|
|
79 |
if (s.compareTo("LINK") == 0) { |
|
80 |
mapCtrl.setTool("link"); |
|
81 |
} |
|
82 |
} |
|
83 |
|
|
84 |
/** |
|
85 |
* @see com.iver.mdiApp.plugins.Extension#isVisible() |
|
86 |
*/ |
|
87 |
public boolean isVisible() { |
|
88 |
com.iver.andami.ui.mdiManager.View f = PluginServices.getMDIManager() |
|
89 |
.getActiveView(); |
|
90 |
|
|
91 |
if (f == null) { |
|
92 |
return false; |
|
93 |
} |
|
94 |
|
|
95 |
if (f.getClass() == View.class) { |
|
96 |
FMap mapa = ((View) f).getModel().getMapContext(); |
|
97 |
|
|
98 |
View v = (View) f; |
|
99 |
|
|
100 |
return mapa.getLayers().getLayersCount() > 0; |
|
101 |
} else { |
|
102 |
return false; |
|
103 |
} |
|
104 |
} |
|
105 |
|
|
106 |
/** |
|
107 |
* @see com.iver.andami.plugins.Extension#isEnabled() |
|
108 |
*/ |
|
109 |
public boolean isEnabled() { |
|
110 |
View f = (View) PluginServices.getMDIManager().getActiveView(); |
|
111 |
|
|
112 |
if (f == null) { |
|
113 |
return false; |
|
114 |
} |
|
115 |
|
|
116 |
FLayer[] selected = f.getModel().getMapContext().getLayers().getActives(); |
|
117 |
|
|
118 |
return selected.length > 0; |
|
119 |
} |
|
120 |
|
|
121 |
/** |
|
122 |
* @see com.iver.andami.plugins.Extension#inicializar() |
|
123 |
*/ |
|
124 |
public void inicializar() { |
|
125 |
} |
|
126 |
} |
|
0 | 127 |
branches/gvSIG_03_SLD/applications/appgvSIG/src/com/iver/cit/gvsig/Tabla.java | ||
---|---|---|
1 |
/* |
|
2 |
* Created on 02-mar-2004 |
|
3 |
* |
|
4 |
* To change the template for this generated file go to |
|
5 |
* Window>Preferences>Java>Code Generation>Code and Comments |
|
6 |
*/ |
|
7 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
8 |
* |
|
9 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
10 |
* |
|
11 |
* This program is free software; you can redistribute it and/or |
|
12 |
* modify it under the terms of the GNU General Public License |
|
13 |
* as published by the Free Software Foundation; either version 2 |
|
14 |
* of the License, or (at your option) any later version. |
|
15 |
* |
|
16 |
* This program is distributed in the hope that it will be useful, |
|
17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
19 |
* GNU General Public License for more details. |
|
20 |
* |
|
21 |
* You should have received a copy of the GNU General Public License |
|
22 |
* along with this program; if not, write to the Free Software |
|
23 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
24 |
* |
|
25 |
* For more information, contact: |
|
26 |
* |
|
27 |
* Generalitat Valenciana |
|
28 |
* Conselleria d'Infraestructures i Transport |
|
29 |
* Av. Blasco Ib??ez, 50 |
|
30 |
* 46010 VALENCIA |
|
31 |
* SPAIN |
|
32 |
* |
|
33 |
* +34 963862235 |
|
34 |
* gvsig@gva.es |
|
35 |
* www.gvsig.gva.es |
|
36 |
* |
|
37 |
* or |
|
38 |
* |
|
39 |
* IVER T.I. S.A |
|
40 |
* Salamanca 50 |
|
41 |
* 46005 Valencia |
|
42 |
* Spain |
|
43 |
* |
|
44 |
* +34 963163400 |
|
45 |
* dac@iver.es |
|
46 |
*/ |
|
47 |
package com.iver.cit.gvsig; |
|
48 |
|
|
49 |
import com.iver.andami.PluginServices; |
|
50 |
import com.iver.andami.messages.NotificationManager; |
|
51 |
import com.iver.andami.plugins.Extension; |
|
52 |
|
|
53 |
import com.iver.cit.gvsig.fmap.DriverException; |
|
54 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
|
55 |
import com.iver.cit.gvsig.fmap.layers.SelectableDataSource; |
|
56 |
import com.iver.cit.gvsig.fmap.layers.layerOperations.AlphanumericData; |
|
57 |
import com.iver.cit.gvsig.gui.Table; |
|
58 |
import com.iver.cit.gvsig.gui.View; |
|
59 |
import com.iver.cit.gvsig.project.ProjectFactory; |
|
60 |
import com.iver.cit.gvsig.project.ProjectTable; |
|
61 |
|
|
62 |
|
|
63 |
/** |
|
64 |
* Extensi?n que abre las tablas asociadas a las vistas. |
|
65 |
* |
|
66 |
* @author Vicente Caballero Navarro |
|
67 |
*/ |
|
68 |
public class Tabla implements Extension { |
|
69 |
/** |
|
70 |
* @see com.iver.andami.plugins.Extension#isEnabled() |
|
71 |
*/ |
|
72 |
public boolean isEnabled() { |
|
73 |
View f = (View) PluginServices.getMDIManager().getActiveView(); |
|
74 |
|
|
75 |
if (f == null) { |
|
76 |
return false; |
|
77 |
} |
|
78 |
|
|
79 |
FLayer[] selected = f.getModel().getMapContext().getLayers().getActives(); |
|
80 |
|
|
81 |
boolean algunaTabla = false; |
|
82 |
|
|
83 |
for (int i = 0; i < selected.length; i++) { |
|
84 |
if (selected[i] instanceof AlphanumericData) { |
|
85 |
AlphanumericData co = (AlphanumericData) selected[i]; |
|
86 |
|
|
87 |
try { |
|
88 |
if (co.getRecordset() != null) { |
|
89 |
algunaTabla = true; |
|
90 |
} |
|
91 |
} catch (DriverException e) { |
|
92 |
} |
|
93 |
} |
|
94 |
} |
|
95 |
|
|
96 |
return algunaTabla; |
|
97 |
} |
|
98 |
|
|
99 |
/** |
|
100 |
* @see com.iver.andami.plugins.Extension#isVisible() |
|
101 |
*/ |
|
102 |
public boolean isVisible() { |
|
103 |
com.iver.andami.ui.mdiManager.View f = PluginServices.getMDIManager() |
|
104 |
.getActiveView(); |
|
105 |
|
|
106 |
if (f == null) { |
|
107 |
return false; |
|
108 |
} |
|
109 |
|
|
110 |
return (f.getClass() == View.class); |
|
111 |
} |
|
112 |
|
|
113 |
/** |
|
114 |
* @see com.iver.mdiApp.plugins.Extension#updateUI(java.lang.String) |
|
115 |
*/ |
|
116 |
public void execute(String s) { |
|
117 |
View vista = (View) PluginServices.getMDIManager().getActiveView(); |
|
118 |
FLayer[] actives = ((View) vista).getModel().getMapContext().getLayers() |
|
119 |
.getActives(); |
|
120 |
|
|
121 |
try { |
|
122 |
for (int i = 0; i < actives.length; i++) { |
|
123 |
if (actives[i] instanceof AlphanumericData) { |
|
124 |
AlphanumericData co = (AlphanumericData) actives[i]; |
|
125 |
|
|
126 |
SelectableDataSource dataSource; |
|
127 |
dataSource = co.getRecordset(); |
|
128 |
|
|
129 |
ProjectExtension ext = (ProjectExtension) PluginServices.getExtension(ProjectExtension.class); |
|
130 |
|
|
131 |
ProjectTable projectTable = ext.getProject().getTable(co); |
|
132 |
|
|
133 |
if (projectTable == null) { |
|
134 |
projectTable = ProjectFactory.createTable(PluginServices.getText(this, "Tabla de Atributos") + ": " + actives[i].getName(), |
|
135 |
dataSource); |
|
136 |
projectTable.setAssociatedTable(co); |
|
137 |
ext.getProject().addTable(projectTable); |
|
138 |
} |
|
139 |
|
|
140 |
Table t = new Table(); |
|
141 |
t.setModel(projectTable); |
|
142 |
PluginServices.getMDIManager().addView(t); |
|
143 |
} |
|
144 |
} |
|
145 |
} catch (DriverException e) { |
|
146 |
NotificationManager.addError("No se pudo obtener la tabla del tema", e); |
|
147 |
} |
|
148 |
} |
|
149 |
|
|
150 |
/** |
|
151 |
* @see com.iver.andami.plugins.Extension#inicializar() |
|
152 |
*/ |
|
153 |
public void inicializar() { |
|
154 |
} |
|
155 |
} |
|
0 | 156 |
branches/gvSIG_03_SLD/applications/appgvSIG/src/com/iver/cit/gvsig/project/ProjectExtent.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
2 |
* |
|
3 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana. |
|
4 |
* |
|
5 |
* This program is free software; you can redistribute it and/or |
|
6 |
* modify it under the terms of the GNU General Public License |
|
7 |
* as published by the Free Software Foundation; either version 2 |
|
8 |
* of the License, or (at your option) any later version. |
|
9 |
* |
|
10 |
* This program is distributed in the hope that it will be useful, |
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
13 |
* GNU General Public License for more details. |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License |
|
16 |
* along with this program; if not, write to the Free Software |
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA. |
|
18 |
* |
|
19 |
* For more information, contact: |
|
20 |
* |
|
21 |
* Generalitat Valenciana |
Also available in: Unified diff