Statistics
| Revision:

gvsig-raster / org.gvsig.raster.tools / trunk / org.gvsig.raster.tools / org.gvsig.raster.tools.app / org.gvsig.raster.tools.app.multifile / src / main / java / org / gvsig / raster / tools / app / multifile / MultifileClientExtension.java @ 1174

History | View | Annotate | Download (2.02 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.tools.app.multifile;
23

    
24
import org.gvsig.andami.plugins.Extension;
25
import org.gvsig.raster.tools.app.basic.raster.gui.preference.RasterPreferences;
26
import org.gvsig.raster.tools.app.multifile.panel.BandSelectorPanel;
27
import org.gvsig.tools.ToolsLocator;
28
import org.gvsig.tools.extensionpoint.ExtensionPoint;
29
import org.gvsig.tools.extensionpoint.ExtensionPointManager;
30

    
31
/**
32
 * Extension for adding grid netcdf support to gvSIG.
33
 * @author Nacho Brodin (nachobrodin@gmail.com)
34
 */
35
public class MultifileClientExtension extends Extension {
36

    
37
        public void initialize() {
38
                // A?adimos la configuracion de Raster a gvSIG
39

    
40
                ExtensionPointManager extensionPoints = ToolsLocator.getExtensionPointManager();
41

    
42
                ExtensionPoint point = extensionPoints.add("AplicationPreferences");
43
                point.append("RasterPreferences", "", RasterPreferences.class);
44

    
45
                // A?adimos paneles al cuadro de propiedades.
46
                point = extensionPoints.add("RasterSEPropertiesDialog");
47
                point.append("Bandas", "", BandSelectorPanel.class);
48

    
49
        }
50

    
51
        public void execute(String actionCommand) {
52
        }
53

    
54
        public boolean isEnabled() {
55
                return true;
56
        }
57

    
58
        public boolean isVisible() {
59
                return false;
60
        }
61
}