Revision 20192
trunk/extensions/extAnimation2D/src/main/java/com/iver/cit/gvsig/animation/ExtensionAnimacion2D.java | ||
---|---|---|
1 |
package com.iver.cit.gvsig.animation; |
|
2 |
|
|
3 |
import com.iver.andami.plugins.Extension; |
|
4 |
import com.iver.cit.gvsig.animation.animationType.AnimationTypeFactoryLayer2D; |
|
5 |
import com.iver.cit.gvsig.animation.interpolator.Interpolator2D; |
|
6 |
import com.iver.cit.gvsig.animation.keyFrame.AnimationKeyFrame2DFactory; |
|
7 |
import com.iver.cit.gvsig.animation.keyframe.interpolator.InterpolatorFactory; |
|
8 |
|
|
9 |
//import com.iver.ai2.gvsig3d.gui.AnimationContol3D; |
|
10 |
|
|
11 |
/** |
|
12 |
* @author |
|
13 |
* @since 1.1 |
|
14 |
* |
|
15 |
* Menu of animation toolbar's options. |
|
16 |
*/ |
|
17 |
|
|
18 |
public class ExtensionAnimacion2D extends Extension { |
|
19 |
|
|
20 |
public void execute(String actionCommand) { |
|
21 |
|
|
22 |
} |
|
23 |
|
|
24 |
public void initialize() { |
|
25 |
|
|
26 |
// registering the animation types |
|
27 |
AnimationTypeFactoryLayer2D.register(); |
|
28 |
AnimationKeyFrame2DFactory.register(); |
|
29 |
// Registering the interpolation. |
|
30 |
InterpolatorFactory.register("Interpolator2D", new Interpolator2D()); |
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
} |
|
35 |
|
|
36 |
public boolean isEnabled() { |
|
37 |
// TODO Auto-generated method stub |
|
38 |
return true; |
|
39 |
} |
|
40 |
|
|
41 |
public boolean isVisible() { |
|
42 |
|
|
43 |
return false; |
|
44 |
} |
|
45 |
|
|
46 |
} |
trunk/extensions/extAnimation2D/pom.xml | ||
---|---|---|
2 | 2 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | 3 |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
4 | 4 |
<modelVersion>4.0.0</modelVersion> |
5 |
<groupId>com.iver.cit.gvsig.animation</groupId>
|
|
5 |
<groupId>org.gvsig</groupId>
|
|
6 | 6 |
<artifactId>extAnimation2D</artifactId> |
7 | 7 |
<packaging>jar</packaging> |
8 | 8 |
<version>1.0-SNAPSHOT</version> |
9 | 9 |
<name>extAnimation2D</name> |
10 | 10 |
<url>http://maven.apache.org</url> |
11 |
|
|
12 | 11 |
<parent> |
13 |
<groupId>com.iver.cit.gvsig</groupId>
|
|
14 |
<artifactId>animation</artifactId>
|
|
12 |
<groupId>org.gvsig</groupId>
|
|
13 |
<artifactId>gvsig-extension-base-pom</artifactId>
|
|
15 | 14 |
<version>1.0-SNAPSHOT</version> |
16 |
<!-- Esto se puede usar tambien una URL --> |
|
17 |
<relativePath>../binaries/maven/pom.xml</relativePath> |
|
18 | 15 |
</parent> |
19 | 16 |
|
20 | 17 |
<dependencies> |
21 | 18 |
<dependency> |
22 |
<groupId>com.iver.cit.gvsig.animation</groupId>
|
|
19 |
<groupId>org.gvsig</groupId>
|
|
23 | 20 |
<artifactId>libAnimation2D</artifactId> |
24 |
<version>1.0-SNAPSHOT</version> |
|
21 |
<version>1.0-SNAPSHOTS</version>
|
|
25 | 22 |
</dependency> |
26 | 23 |
</dependencies> |
27 | 24 |
<properties> |
... | ... | |
29 | 26 |
<plugin-name> |
30 | 27 |
${project.groupId}.${project.artifactId} |
31 | 28 |
</plugin-name> |
32 |
<extension-dir>../_fwAndami/gvSIG/extensiones</extension-dir> |
|
33 | 29 |
<temporaly-build> |
34 | 30 |
${project.build.directory}/${plugin-name} |
35 | 31 |
</temporaly-build> |
36 | 32 |
<extension-lib-dir> |
37 | 33 |
${extension-dir}/${plugin-name}/lib |
38 | 34 |
</extension-lib-dir> |
35 |
<build-dir>${basedir}/../build</build-dir> |
|
39 | 36 |
</properties> |
40 | 37 |
<build> |
41 | 38 |
<plugins> |
... | ... | |
60 | 57 |
<configuration> |
61 | 58 |
<artifactItems> |
62 | 59 |
<artifactItem> |
63 |
<groupId> |
|
64 |
com.iver.cit.gvsig.animation |
|
65 |
</groupId> |
|
60 |
<groupId>org.gvsig</groupId> |
|
66 | 61 |
<artifactId> |
67 | 62 |
libAnimation2D |
68 | 63 |
</artifactId> |
Also available in: Unified diff