Statistics
| Revision:

root / trunk / extensions / extRasterTools-SE / src / org / gvsig / rastertools / properties / dialog / IRegistrablePanel.java @ 12154

History | View | Annotate | Download (1.68 KB)

1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2007 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.gvsig.rastertools.properties.dialog;
20

    
21
import com.iver.cit.gvsig.fmap.layers.FLayer;
22
/**
23
 * Interfaz que implementan los paneles que se registran en el cuadro de
24
 * propiedades de raster.
25
 * 
26
 * @author Nacho Brodin (nachobrodin@gmail.com)
27
 */
28
public interface IRegistrablePanel extends IResizable {
29
        /**
30
         * Asigna la capa 
31
         * @param lyr
32
         */
33
        public void setLayer(FLayer lyr);
34

    
35
        /**
36
         * Acciones a ejecutar cuando se acepta
37
         */
38
        public void accept();
39

    
40
        /**
41
         * Acciones a ejecutar cuando se aplica
42
         */
43
        public void apply();
44

    
45
        /**
46
         * Acciones a ejecutar cuando se cancela
47
         */
48
        public void cancel();
49

    
50
        /**
51
         * Acci?n al ejecutar un tab con el id especificado en el par?metro
52
         * @param id identificador del tab.
53
         */
54
        public void selectTab(String id);
55

    
56
        /**
57
         * Cadena que identifica el panel.
58
         * @return identificador
59
         */
60
        public String getID();
61
}