svn-gvsig-desktop / trunk / extensions / extAnimation2D / src / main / java / com / iver / cit / gvsig / animation / ExtensionAnimacion2D.java @ 20192
History | View | Annotate | Download (1.04 KB)
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 |
} |