Revision 166
org.gvsig.sextante/tags/sextante-0.6/org.gvsig.sextante.app/org.gvsig.sextante.app.geoprocess.extension/src/main/resources/config/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<plugin-config> |
|
3 |
<depends plugin-name="org.gvsig.sextante.app.extension" /> |
|
4 |
<resourceBundle name="text" /> |
|
5 |
<libraries library-dir="lib" /> |
|
6 |
<extensions> |
|
7 |
<extension class-name="org.gvsig.sextante.app.geoprocess.extension.GeoprocessModule" |
|
8 |
active="true" |
|
9 |
priority="1"> |
|
10 |
</extension> |
|
11 |
</extensions> |
|
12 |
</plugin-config> |
|
0 | 13 |
org.gvsig.sextante/tags/sextante-0.6/org.gvsig.sextante.app/org.gvsig.sextante.app.geoprocess.extension/src/main/java/org/gvsig/sextante/app/geoprocess/extension/GeoprocessModule.java | ||
---|---|---|
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.sextante.app.geoprocess.extension; |
|
20 |
|
|
21 |
import javax.swing.Icon; |
|
22 |
|
|
23 |
import org.gvsig.andami.plugins.Extension; |
|
24 |
import org.gvsig.app.project.documents.view.toc.ITocItem; |
|
25 |
import org.gvsig.fmap.mapcontext.layers.FLayer; |
|
26 |
|
|
27 |
|
|
28 |
/** |
|
29 |
* |
|
30 |
* 05/02/2008 |
|
31 |
* @author Nacho Brodin nachobrodin@gmail.com |
|
32 |
*/ |
|
33 |
public class GeoprocessModule extends Extension { |
|
34 |
//private ExtensionPointManager extensionPoints =ToolsLocator.getExtensionPointManager(); |
|
35 |
|
|
36 |
/* |
|
37 |
* (non-Javadoc) |
|
38 |
* @see com.iver.andami.plugins.IExtension#execute(java.lang.String) |
|
39 |
*/ |
|
40 |
public void execute(String actionCommand) { |
|
41 |
|
|
42 |
} |
|
43 |
|
|
44 |
/* |
|
45 |
* (non-Javadoc) |
|
46 |
* @see com.iver.andami.plugins.IExtension#initialize() |
|
47 |
*/ |
|
48 |
public void initialize() { |
|
49 |
} |
|
50 |
|
|
51 |
/* |
|
52 |
* (non-Javadoc) |
|
53 |
* @see com.iver.andami.plugins.IExtension#isEnabled() |
|
54 |
*/ |
|
55 |
public boolean isEnabled() { |
|
56 |
return true; |
|
57 |
} |
|
58 |
|
|
59 |
/* |
|
60 |
* (non-Javadoc) |
|
61 |
* @see com.iver.andami.plugins.IExtension#isVisible() |
|
62 |
*/ |
|
63 |
public boolean isVisible() { |
|
64 |
return true; |
|
65 |
} |
|
66 |
|
|
67 |
/* |
|
68 |
* (non-Javadoc) |
|
69 |
* @see org.gvsig.raster.gui.IGenericToolBarMenuItem#execute(com.iver.cit.gvsig.project.documents.view.toc.ITocItem, com.iver.cit.gvsig.fmap.layers.FLayer[]) |
|
70 |
*/ |
|
71 |
public void execute(ITocItem item, FLayer[] selectedItems) { |
|
72 |
|
|
73 |
} |
|
74 |
|
|
75 |
/* |
|
76 |
* (non-Javadoc) |
|
77 |
* @see org.gvsig.raster.gui.IGenericToolBarMenuItem#getGroup() |
|
78 |
*/ |
|
79 |
public String getGroup() { |
|
80 |
return null; |
|
81 |
} |
|
82 |
|
|
83 |
/* |
|
84 |
* (non-Javadoc) |
|
85 |
* @see org.gvsig.raster.gui.IGenericToolBarMenuItem#getIcon() |
|
86 |
*/ |
|
87 |
public Icon getIcon() { |
|
88 |
return null; |
|
89 |
} |
|
90 |
|
|
91 |
/* |
|
92 |
* (non-Javadoc) |
|
93 |
* @see org.gvsig.raster.gui.IGenericToolBarMenuItem#getOrder() |
|
94 |
*/ |
|
95 |
public int getOrder() { |
|
96 |
return 0; |
|
97 |
} |
|
98 |
|
|
99 |
/* |
|
100 |
* (non-Javadoc) |
|
101 |
* @see org.gvsig.raster.gui.IGenericToolBarMenuItem#getText() |
|
102 |
*/ |
|
103 |
public String getText() { |
|
104 |
return null; |
|
105 |
} |
|
106 |
|
|
107 |
/* |
|
108 |
* (non-Javadoc) |
|
109 |
* @see org.gvsig.raster.gui.IGenericToolBarMenuItem#isEnabled(com.iver.cit.gvsig.project.documents.view.toc.ITocItem, com.iver.cit.gvsig.fmap.layers.FLayer[]) |
|
110 |
*/ |
|
111 |
public boolean isEnabled(ITocItem item, FLayer[] selectedItems) { |
|
112 |
return this.isEnabled(); |
|
113 |
} |
|
114 |
|
|
115 |
/* |
|
116 |
* (non-Javadoc) |
|
117 |
* @see org.gvsig.raster.gui.IGenericToolBarMenuItem#isVisible(com.iver.cit.gvsig.project.documents.view.toc.ITocItem, com.iver.cit.gvsig.fmap.layers.FLayer[]) |
|
118 |
*/ |
|
119 |
public boolean isVisible(ITocItem item, FLayer[] selectedItems) { |
|
120 |
return this.isVisible(); |
|
121 |
} |
|
122 |
|
|
123 |
/* |
|
124 |
* (non-Javadoc) |
|
125 |
* @see org.gvsig.raster.gui.IGenericToolBarMenuItem#getGroupOrder() |
|
126 |
*/ |
|
127 |
public int getGroupOrder() { |
|
128 |
return 0; |
|
129 |
} |
|
130 |
} |
|
0 | 131 |
org.gvsig.sextante/tags/sextante-0.6/org.gvsig.sextante.app/org.gvsig.sextante.app.geoprocess.extension/pom.xml | ||
---|---|---|
1 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
|
2 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
|
3 |
<modelVersion>4.0.0</modelVersion> |
|
4 |
<artifactId>org.gvsig.sextante.app.geoprocess.extension</artifactId> |
|
5 |
<packaging>jar</packaging> |
|
6 |
<name>org.gvsig.sextante.app.geoprocess.extension</name> |
|
7 |
<description>gvSIG Geoprocess</description> |
|
8 |
|
|
9 |
<parent> |
|
10 |
<groupId>org.gvsig</groupId> |
|
11 |
<artifactId>org.gvsig.sextante.app</artifactId> |
|
12 |
<version>0.6.0-SNAPSHOT</version> |
|
13 |
</parent> |
|
14 |
|
|
15 |
<dependencies> |
|
16 |
<dependency> |
|
17 |
<groupId>org.gvsig</groupId> |
|
18 |
<artifactId>org.gvsig.sextante.app.algorithm.buffer</artifactId> |
|
19 |
<version>0.6.0-SNAPSHOT</version> |
|
20 |
<scope>compile</scope> |
|
21 |
</dependency> |
|
22 |
<dependency> |
|
23 |
<groupId>org.gvsig</groupId> |
|
24 |
<artifactId>org.gvsig.sextante.app.algorithm.clip</artifactId> |
|
25 |
<version>0.6.0-SNAPSHOT</version> |
|
26 |
<scope>compile</scope> |
|
27 |
</dependency> |
|
28 |
<dependency> |
|
29 |
<groupId>org.gvsig</groupId> |
|
30 |
<artifactId>org.gvsig.sextante.app.algorithm.convexhull</artifactId> |
|
31 |
<version>0.6.0-SNAPSHOT</version> |
|
32 |
<scope>compile</scope> |
|
33 |
</dependency> |
|
34 |
<dependency> |
|
35 |
<groupId>org.gvsig</groupId> |
|
36 |
<artifactId>org.gvsig.sextante.app.algorithm.difference</artifactId> |
|
37 |
<version>0.6.0-SNAPSHOT</version> |
|
38 |
<scope>compile</scope> |
|
39 |
</dependency> |
|
40 |
<dependency> |
|
41 |
<groupId>org.gvsig</groupId> |
|
42 |
<artifactId>org.gvsig.sextante.app.algorithm.dissolve</artifactId> |
|
43 |
<version>0.6.0-SNAPSHOT</version> |
|
44 |
<scope>compile</scope> |
|
45 |
</dependency> |
|
46 |
<dependency> |
|
47 |
<groupId>org.gvsig</groupId> |
|
48 |
<artifactId>org.gvsig.sextante.app.algorithm.intersection</artifactId> |
|
49 |
<version>0.6.0-SNAPSHOT</version> |
|
50 |
<scope>compile</scope> |
|
51 |
</dependency> |
|
52 |
<dependency> |
|
53 |
<groupId>org.gvsig</groupId> |
|
54 |
<artifactId>org.gvsig.sextante.app.algorithm.merge</artifactId> |
|
55 |
<version>0.6.0-SNAPSHOT</version> |
|
56 |
<scope>compile</scope> |
|
57 |
</dependency> |
|
58 |
<dependency> |
|
59 |
<groupId>org.gvsig</groupId> |
|
60 |
<artifactId>org.gvsig.sextante.app.algorithm.reproject</artifactId> |
|
61 |
<version>0.6.0-SNAPSHOT</version> |
|
62 |
<scope>compile</scope> |
|
63 |
</dependency> |
|
64 |
<dependency> |
|
65 |
<groupId>org.gvsig</groupId> |
|
66 |
<artifactId>org.gvsig.sextante.app.algorithm.spatialjoin</artifactId> |
|
67 |
<version>0.6.0-SNAPSHOT</version> |
|
68 |
<scope>compile</scope> |
|
69 |
</dependency> |
|
70 |
<dependency> |
|
71 |
<groupId>org.gvsig</groupId> |
|
72 |
<artifactId>org.gvsig.sextante.app.algorithm.union</artifactId> |
|
73 |
<version>0.6.0-SNAPSHOT</version> |
|
74 |
<scope>compile</scope> |
|
75 |
</dependency> |
|
76 |
<dependency> |
|
77 |
<groupId>org.gvsig</groupId> |
|
78 |
<artifactId>org.gvsig.sextante.app.algorithm.xyshift</artifactId> |
|
79 |
<version>0.6.0-SNAPSHOT</version> |
|
80 |
<scope>compile</scope> |
|
81 |
</dependency> |
|
82 |
</dependencies> |
|
83 |
|
|
84 |
<profiles> |
|
85 |
<profile> |
|
86 |
<id>gvsig-install</id> |
|
87 |
<activation> |
|
88 |
<activeByDefault>true</activeByDefault> |
|
89 |
</activation> |
|
90 |
<properties> |
|
91 |
<!-- gvSIG installation folder --> |
|
92 |
<gvsig.install.dir>${basedir}/../../build/product</gvsig.install.dir> |
|
93 |
</properties> |
|
94 |
</profile> |
|
95 |
</profiles> |
|
96 |
<properties> |
|
97 |
<package.info.dependencies>required: org.gvsig.sextante.app.extension -ge 0.6</package.info.dependencies> |
|
98 |
</properties> |
|
99 |
</project> |
|
0 | 100 |
org.gvsig.sextante/tags/sextante-0.6/org.gvsig.sextante.app/org.gvsig.sextante.app.geoprocess.extension/distribution/distribution.xml | ||
---|---|---|
1 |
<assembly> |
|
2 |
<id>distribution</id> |
|
3 |
|
|
4 |
<formats> |
|
5 |
<format>dir</format> |
|
6 |
</formats> |
|
7 |
|
|
8 |
<fileSets> |
|
9 |
<fileSet> |
|
10 |
<directory>src/main/resources/config</directory> |
|
11 |
<outputDirectory>${extension.install.dir.name}</outputDirectory> |
|
12 |
</fileSet> |
|
13 |
</fileSets> |
|
14 |
|
|
15 |
<files> |
|
16 |
<file> |
|
17 |
<source>package.info</source> |
|
18 |
<outputDirectory>${extension.install.dir.name}</outputDirectory> |
|
19 |
</file> |
|
20 |
</files> |
|
21 |
|
|
22 |
<dependencySets> |
|
23 |
<dependencySet> |
|
24 |
<outputDirectory>./gvSIG/extensiones/org.gvsig.sextante.app.geoprocess.extension/lib</outputDirectory> |
|
25 |
<includes> |
|
26 |
<include>org.gvsig:org.gvsig.sextante.app.geoprocess.extension</include> |
|
27 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.base</include> |
|
28 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.buffer</include> |
|
29 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.clip</include> |
|
30 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.convexhull</include> |
|
31 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.difference</include> |
|
32 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.dissolve</include> |
|
33 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.intersection</include> |
|
34 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.merge</include> |
|
35 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.reproject</include> |
|
36 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.spatialjoin</include> |
|
37 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.union</include> |
|
38 |
<include>org.gvsig:org.gvsig.sextante.app.algorithm.xyshift</include> |
|
39 |
</includes> |
|
40 |
</dependencySet> |
|
41 |
</dependencySets> |
|
42 |
</assembly> |
|
0 | 43 |
org.gvsig.sextante/tags/sextante-0.6/org.gvsig.sextante.app/org.gvsig.sextante.app.geoprocess.extension/buildNumber.properties | ||
---|---|---|
1 |
#maven.buildNumber.plugin properties file |
|
2 |
#Thu Aug 18 10:21:58 CEST 2011 |
|
3 |
buildNumber=2040 |
|
0 | 4 |
Also available in: Unified diff