svn-gvsig-desktop / tags / v1_0_2_Build_898 / applications / appgvSIG / src / com / iver / cit / gvsig / gui / panels / IRasterPropertiesRegistrable.java @ 10513
History | View | Annotate | Download (2.63 KB)
1 | 6117 | jaume | /*
|
---|---|---|---|
2 | * Created on 23-mar-2006
|
||
3 | *
|
||
4 | * gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
||
5 | *
|
||
6 | * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
||
7 | *
|
||
8 | * This program is free software; you can redistribute it and/or
|
||
9 | * modify it under the terms of the GNU General Public License
|
||
10 | * as published by the Free Software Foundation; either version 2
|
||
11 | * of the License, or (at your option) any later version.
|
||
12 | *
|
||
13 | * This program is distributed in the hope that it will be useful,
|
||
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
16 | * GNU General Public License for more details.
|
||
17 | *
|
||
18 | * You should have received a copy of the GNU General Public License
|
||
19 | * along with this program; if not, write to the Free Software
|
||
20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
||
21 | *
|
||
22 | */
|
||
23 | package com.iver.cit.gvsig.gui.panels; |
||
24 | |||
25 | import org.cresques.filter.IStackManager; |
||
26 | import org.cresques.filter.RasterFilterStackManager; |
||
27 | |||
28 | import com.iver.cit.gvsig.fmap.layers.FLyrRaster; |
||
29 | 8765 | jjdelcerro | import com.iver.cit.gvsig.project.documents.view.toc.gui.FLyrRasterAdjustPropertiesTocMenuEntry; |
30 | 6117 | jaume | |
31 | /**
|
||
32 | * Este interface lo implementaran las clases que quieran registrar
|
||
33 | * paneles en la propiedades de raster.Las clases que deben implementarlo
|
||
34 | * son el panel a registrar y la clase que donde van las acciones del
|
||
35 | * menu contextual del TOC. Cuando un usuario seleccione propiedades
|
||
36 | * de raster buscar? todos los paneles registrados (se registran cuando se
|
||
37 | * carga la extensi?n)y ejecutar? el addTabPanel para a?adirlo y el
|
||
38 | * actionPerformed del listener para cargar las propiedades que deben
|
||
39 | * aparecer.
|
||
40 | * @author Nacho Brodin (brodin_ign@gva.es)
|
||
41 | *
|
||
42 | */
|
||
43 | public interface IRasterPropertiesRegistrable{ |
||
44 | |||
45 | /**
|
||
46 | * M?todo que es ejecutado desde PropertiesRasterDialog
|
||
47 | * en todas los paneles que tiene a?adidos.
|
||
48 | * @param stackManager RasterFilterStackManager
|
||
49 | * @param propsDialog PropertiesRasterDialog
|
||
50 | * @param fLayer FLyrRaster
|
||
51 | */
|
||
52 | public void actionPerformed(RasterFilterStackManager stackManager, PropertiesRasterDialog propsDialog, FLyrRaster fLayer); |
||
53 | |||
54 | /**
|
||
55 | * Asigna el gestor de pila de filtros generico al gestor de pila de pansharpening
|
||
56 | * @param stackManager RasterFilterStackManager
|
||
57 | */
|
||
58 | public void setStackManager(RasterFilterStackManager stackManager); |
||
59 | |||
60 | /**
|
||
61 | * A?ade el panel al cuadro de dialogo de propiedades de raster
|
||
62 | * @param menu FLyrRasterAdjustPropertiesTocMenuEntry
|
||
63 | */
|
||
64 | public void addTabPanel(FLyrRasterAdjustPropertiesTocMenuEntry menu); |
||
65 | |||
66 | /**
|
||
67 | * Obtiene el stackManger para este filtro
|
||
68 | * @return IStackManager
|
||
69 | */
|
||
70 | public IStackManager getStackManager();
|
||
71 | } |