Statistics
| Revision:

root / branches / piloto3d / libraries / libCq CMS for java.old / src / org / cresques / io / data / ICutRaster.java @ 9523

History | View | Annotate | Download (1.94 KB)

1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2006 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
package org.cresques.io.data;
20

    
21

    
22

    
23
/**
24
 * Interfaz que debe implemetar la clase que instancie un TailRasterProcess.
25
 * 
26
 * @author Nacho Brodin (nachobrodin@gmail.com)
27
 */
28
public interface ICutRaster{
29
        
30
        /**
31
         * M?todo en el que deben escribirse las acciones a realizar cuando un proceso
32
         * de recortado finaliza. Esto es necesario ya que el proceso es un hilo de 
33
         * ejecuci?n que al finalizar debe comunicar que los raster creados ya est?n
34
         * listos para ser tratados. Las acciones comunes a implemetar son , el
35
         * cerrado de la ventana que llama y la carga de estas capas que ya est?n listas.
36
         */
37
        public void cutFinalize(String[] fileNames);
38
        
39
        /**
40
         * M?todo que es llamado al pulsar el bot?n de seleccionar herramienta. El que implemente
41
         * este interfaz debe definir una acci?n para dicho bot?n. En el caso de gvSIG deber?
42
         * realizar las acciones para seleccionar la tool cutRaster del MapTool.
43
         */
44
        public void selectToolButton();
45
        
46
        /**
47
         * Asigna el valor inicial del recorte en pixeles
48
         * @param w Ancho del recorte
49
         * @param h Alto del recorte
50
         */
51
        public void setInitValuesToSize(double w, double h);
52
}