Revision 111

View differences:

org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/buildNumber.properties
1
#maven.buildNumber.plugin properties file
2
#Thu Jan 12 19:11:52 CET 2012
3
buildNumber=1
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/org.gvsig.educa.batovi.app.skin/buildNumber.properties
1
#maven.buildNumber.plugin properties file
2
#Thu Jan 26 09:28:57 CET 2012
3
buildNumber=1
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/org.gvsig.educa.batovi.app.skin/src/main/resources/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<depends plugin-name="org.gvsig.coreplugin" />
4
	<libraries library-dir="lib" />
5
	<extensions>
6
		<extension class-name="org.gvsig.educa.batovi.app.skin.BatoviSkinExtension"
7
			description="Dummy extension required for the plugin config.xml file" active="false">
8
		</extension>
9
		<skin-extension class-name="org.gvsig.educa.batovi.app.skin.BatoviSkin" />
10
	</extensions>
11
</plugin-config>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/org.gvsig.educa.batovi.app.skin/src/main/java/org/gvsig/educa/batovi/app/skin/BatoviSkinExtension.java
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.educa.batovi.app.skin;
23

  
24
import org.gvsig.andami.plugins.Extension;
25

  
26
/**
27
 * Dummy extension required for the plugin config.xml file.
28
 * @author DiSiD Technologies
29
 * @version $Id$
30
 */
31
public class BatoviSkinExtension extends Extension {
32

  
33
    public void initialize() {
34
        // Nothing to do
35
        // TODO: add about related to the Batovi project
36
    }
37

  
38
    public void execute(String actionCommand) {
39
        // Nothing to do
40
    }
41

  
42
    public boolean isEnabled() {
43
        // Nothing to do
44
        return false;
45
    }
46

  
47
    public boolean isVisible() {
48
        // Nothing to do
49
        return false;
50
    }
51

  
52
}
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/org.gvsig.educa.batovi.app.skin/src/main/java/org/gvsig/educa/batovi/app/skin/BatoviSkin.java
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.educa.batovi.app.skin;
23

  
24
import java.awt.Frame;
25

  
26
import org.gvsig.andami.ui.mdiFrame.MDIFrame;
27
import org.gvsig.coreplugin.mdiManager.NewSkin;
28

  
29
/**
30
 * gvSIG Skin to be used in the Batovi project for the OLPC computers.
31
 * @author DiSiD Technologies
32
 * @version $Id$
33
 */
34
public class BatoviSkin extends NewSkin {
35
    
36
    @Override
37
    public void init(MDIFrame f) {
38
        super.init(f);
39
        f.setExtendedState(Frame.MAXIMIZED_BOTH);
40
        f.setUndecorated(true);
41
    }
42

  
43
}
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/org.gvsig.educa.batovi.app.skin/pom.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5
	<modelVersion>4.0.0</modelVersion>
6
	<artifactId>org.gvsig.educa.batovi.app.skin</artifactId>
7
	<packaging>jar</packaging>
8
	<name>Skin for OLPC</name>
9
	<description>Skin to be used in the gvSIG OLPC Activity</description>
10
	<parent>
11
		<artifactId>org.gvsig.educa.batovi.app</artifactId>
12
		<groupId>org.gvsig</groupId>
13
		<version>1.0.0-SNAPSHOT</version>
14
	</parent>
15
	<properties>
16
		<package.info.dependencies>required: org.gvsig.coreplugin -ge 2</package.info.dependencies>
17
	</properties>
18

  
19
	<dependencies>
20
		<dependency>
21
			<groupId>org.gvsig</groupId>
22
			<artifactId>org.gvsig.app</artifactId>
23
			<scope>compile</scope>
24
		</dependency>
25
		<dependency>
26
			<groupId>org.gvsig</groupId>
27
			<artifactId>org.gvsig.coreplugin</artifactId>
28
			<scope>compile</scope>
29
		</dependency>
30
	</dependencies>
31
	<profiles>
32
		<profile>
33
			<id>gvsig-install</id>
34
			<activation>
35
				<activeByDefault>true</activeByDefault>
36
			</activation>
37
			<properties>
38
				<!-- Default gvSIG installation folder relative to the current workspace -->
39
				<gvsig.install.dir>${basedir}/../../build/product</gvsig.install.dir>
40
			</properties>
41
		</profile>
42
	</profiles>
43
</project>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/org.gvsig.educa.batovi.app.skin/distribution/distribution.xml
1
<assembly>
2
	<id>distribution</id>
3
	<formats>
4
		<format>dir</format>
5
	</formats>
6
	<fileSets>
7
		<!-- Estructure for the extension -->
8
		<fileSet>
9
			<directory>src/main/resources</directory>
10
			<outputDirectory>${extension.install.dir.name}
11
			</outputDirectory>
12
		</fileSet>
13
	</fileSets>
14
    <files>
15
        <file>
16
            <source>package.info</source>
17
            <outputDirectory>${extension.install.dir.name}</outputDirectory>
18
        </file>
19
    </files>
20
	<dependencySets>
21
		<dependencySet>
22
			<outputDirectory>${extension.install.dir.name}/${library-dir}
23
			</outputDirectory>
24
			<includes>
25
				<include>org.gvsig:org.gvsig.educa.batovi.app.skin</include>
26
			</includes>
27
		</dependencySet>
28
	</dependencySets>
29
</assembly>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/pom.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
	<modelVersion>4.0.0</modelVersion>
6
	<artifactId>org.gvsig.educa.batovi.app</artifactId>
7
	<packaging>pom</packaging>
8
	<version>1.0.0-SNAPSHOT</version>
9
	<name>org.gvsig.educa.batovi.app</name>
10
	<description>gvSIG Batovi project related plugins</description>
11
	<parent>
12
		<groupId>org.gvsig</groupId>
13
		<artifactId>org.gvsig.maven.base.extension.pom</artifactId>
14
		<version>1.0.8-SNAPSHOT</version>
15
	</parent>
16
	<properties>
17
		<!-- package.info -->
18
		<package.info.owner>gvSIG Association</package.info.owner>
19
		<package.info.official>true</package.info.official>
20
		<package.info.webURL>http://www.gvsig.org/web/projects/contrib/gvsig-educa</package.info.webURL>
21
	</properties>
22
	<scm>
23
		<connection>scm:svn:https://devel.gvsig.org/svn/gvsig-educa/org.gvsig.educa.batovi.app/trunk/org.gvsig.educa.batovi.app</connection>
24
		<developerConnection>scm:svn:https://devel.gvsig.org/svn/gvsig-educa/org.gvsig.educa.batovi.app/trunk/org.gvsig.educa.batovi.app</developerConnection>
25
		<url>https://devel.gvsig.org/redmine/projects/gvsig-educa/repository/show/org.gvsig.educa.batovi.app/trunk/org.gvsig.educa.batovi.app</url>
26
	</scm>
27
	<developers>
28
		<developer>
29
			<id>cordinyana</id>
30
			<name>C?sar Ordi?ana</name>
31
			<email>cordinyana@gvsig.com</email>
32
			<roles>
33
				<role>Architect</role>
34
				<role>Developer</role>
35
			</roles>
36
		</developer>
37
		<developer>
38
			<id>jmvivo</id>
39
			<name>Jose Manuel Viv? Arnal</name>
40
			<email>jmvivo@disid.com</email>
41
			<roles>
42
				<role>Analyst</role>
43
				<role>Developer</role>
44
			</roles>
45
		</developer>
46
	</developers>
47
	<repositories>
48
		<repository>
49
			<id>gvsig-public-http-repository</id>
50
			<name>gvSIG maven public HTTP repository</name>
51
			<url>http://devel.gvsig.org/m2repo/j2se</url>
52
			<releases>
53
				<enabled>true</enabled>
54
				<updatePolicy>daily</updatePolicy>
55
				<checksumPolicy>warn</checksumPolicy>
56
			</releases>
57
			<snapshots>
58
				<enabled>true</enabled>
59
				<updatePolicy>daily</updatePolicy>
60
				<checksumPolicy>warn</checksumPolicy>
61
			</snapshots>
62
		</repository>
63
	</repositories>
64
	<build>
65
		<plugins>
66
			<plugin>
67
				<groupId>org.apache.maven.plugins</groupId>
68
				<artifactId>maven-release-plugin</artifactId>
69
				<configuration>
70
					<tagBase>https://devel.gvsig.org/svn/gvsig-educa/org.gvsig.educa.batovi.app/tags</tagBase>
71
				</configuration>
72
			</plugin>
73
		</plugins>
74
	</build>
75
	<dependencyManagement>
76
		<dependencies>
77
			<dependency>
78
				<groupId>org.gvsig</groupId>
79
				<artifactId>org.gvsig.app</artifactId>
80
				<version>2.0-SNAPSHOT</version>
81
			</dependency>
82
			<dependency>
83
				<groupId>org.gvsig</groupId>
84
				<artifactId>org.gvsig.coreplugin</artifactId>
85
				<version>2.0-SNAPSHOT</version>
86
			</dependency>
87
		</dependencies>
88
	</dependencyManagement>
89

  
90
	<dependencies>
91
		<dependency>
92
			<groupId>org.slf4j</groupId>
93
			<artifactId>slf4j-api</artifactId>
94
			<scope>compile</scope>
95
		</dependency>
96
	</dependencies>
97

  
98
	<modules>
99
		<module>org.gvsig.educa.batovi.app.skin</module>
100
	</modules>
101

  
102
</project>
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/distribution/distribution.xml
1
<assembly>
2
</assembly>
0 3

  

Also available in: Unified diff