Statistics
| Revision:

gvsig-raster / org.gvsig.raster / trunk / org.gvsig.raster / org.gvsig.raster.fmap / src / main / java / org / gvsig / raster / fmap / layers / IRasterLayerActions.java @ 1738

History | View | Annotate | Download (2.62 KB)

1
/* gvSIG. Geographic Information System of the Valencian Government
2
*
3
* Copyright (C) 2007-2008 Infrastructures and Transports Department
4
* of the Valencian Government (CIT)
5
* 
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* as published by the Free Software Foundation; either version 2
9
* of the License, or (at your option) any later version.
10
* 
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
* GNU General Public License for more details.
15
* 
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
19
* MA  02110-1301, USA.
20
* 
21
*/
22
package org.gvsig.raster.fmap.layers;
23

    
24
/**
25
 * Definici?n de acciones soportadas para una capa. Distintas capas que hereden de 
26
 * FLyrRasterSE pueden soportar distintos tipos de acciones.
27
 * @version 23/08/2007
28
 * @author Nacho Brodin (nachobrodin@gmail.com)
29
 *
30
 */
31
public interface IRasterLayerActions {
32
        public static int ZOOM_PIXEL_RESOLUTION = 0;
33
        public static int CLIPPING              = 1;
34
        public static int HISTOGRAM             = 2;
35
        public static int RASTER_PROPERTIES     = 3;
36
        public static int SAVEAS                = 4;
37
        public static int FILTER                = 5;
38
        public static int COLOR_TABLE           = 6;
39
        public static int FLYRASTER_BAR_TOOLS   = 7;
40
        public static int BANDS_FILE_LIST       = 8;
41
        public static int BANDS_RGB             = 9;
42
        public static int TRANSPARENCY          = 10;
43
        public static int OPACITY               = 11;
44
        public static int BRIGHTNESSCONTRAST    = 12;
45
        public static int ENHANCED              = 13;
46
        public static int PANSHARPENING         = 14;
47
        public static int GEOLOCATION           = 15;
48
        public static int CREATEOVERVIEWS       = 16;
49
        public static int REPROJECT             = 17;
50
        public static int SELECT_LAYER          = 18;
51
        public static int SAVE_COLORINTERP      = 19;
52
        public static int REMOTE_ACTIONS        = 20;
53
        public static int STATS                 = 21;
54
        public static int NODATA                = 22;
55
        public static int TAILTRIM              = 23;
56
        
57
        /**
58
   * Controla si una acci?n est? activa o no para una determinada capa. De esta
59
   * forma una determinada capa puede desactivar una entrada del TOC que no le
60
   * interese que aparezca.
61
   * @param action Acci?n definida en LayerActionSupported
62
   * @return true si est? activa y false si no lo est?.
63
   */
64
        public boolean isActionEnabled(int action);
65
}