Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / extensions / extRasterTools-SE / src / org / gvsig / fmap / raster / layers / IRasterLayerActions.java @ 28995

History | View | Annotate | Download (2.4 KB)

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