svn-gvsig-desktop / import / ext3D / branches / ext3D_v1.1 / extAnimation3D / src / com / iver / cit / gvsig / animation / date / AnimationTypeFactoryDate3D.java @ 15468
History | View | Annotate | Download (937 Bytes)
1 |
package com.iver.cit.gvsig.animation.date; |
---|---|
2 |
|
3 |
import com.iver.cit.gvsig.animation.AnimationFactory; |
4 |
|
5 |
public class AnimationTypeFactoryDate3D extends AnimationFactory { |
6 |
|
7 |
public static String registerName = "AnimationDate3D"; |
8 |
|
9 |
|
10 |
public static AnimationDate3D animationDate; |
11 |
|
12 |
static {
|
13 |
if (animationDate == null) { |
14 |
animationDate = new AnimationDate3D();
|
15 |
animationDate.setClassName("AnimationDate3D");
|
16 |
animationDate.setName("AnimationDate3D");
|
17 |
animationDate.setDescription("Animacion de tipo fecha sobre una capa");
|
18 |
} |
19 |
} |
20 |
|
21 |
|
22 |
|
23 |
public Object create() { |
24 |
|
25 |
return animationDate;
|
26 |
} |
27 |
|
28 |
/**
|
29 |
* Registers in the points of extension the Factory with alias.
|
30 |
*
|
31 |
*/
|
32 |
public static void register() { |
33 |
register(registerName, new AnimationTypeFactoryDate3D(), "com.iver.cit.gvsig.animation.date.AnimationDate3D"); |
34 |
} |
35 |
|
36 |
public String getRegisterName() { |
37 |
return registerName;
|
38 |
} |
39 |
|
40 |
} |