svn-gvsig-desktop / trunk / extensions / extRasterTools-SE / src / org / gvsig / fmap / raster / layers / IRasterLayerActions.java @ 25706
History | View | Annotate | Download (2.35 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.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 |
public static int ZOOM_PIXEL_RESOLUTION = 0; |
30 |
public static int CLIPPING = 1; |
31 |
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 |
public static int GEOLOCATION = 15; |
45 |
public static int CREATEOVERVIEWS = 16; |
46 |
public static int REPROJECT = 17; |
47 |
public static int SELECT_LAYER = 18; |
48 |
|
49 |
|
50 |
/**
|
51 |
* Controla si una acci?n est? activa o no para una determinada capa. De esta
|
52 |
* forma una determinada capa puede desactivar una entrada del TOC que no le
|
53 |
* interese que aparezca.
|
54 |
* @param action Acci?n definida en LayerActionSupported
|
55 |
* @return true si est? activa y false si no lo est?.
|
56 |
*/
|
57 |
public boolean isActionEnabled(int action); |
58 |
} |