Statistics
| Revision:

svn-gvsig-desktop / import / ext3D / branches / ext3D_v1.1 / ExtAnimation2D / src / com / iver / cit / gvsig / animation / AnimationTypeFactoryLayer2D.java @ 15437

History | View | Annotate | Download (935 Bytes)

1
package com.iver.cit.gvsig.animation;
2

    
3
import com.iver.cit.gvsig.animation.AnimationFactory;
4

    
5
public class AnimationTypeFactoryLayer2D extends AnimationFactory {
6

    
7
        public static String registerName = "AnimationLayer2D";
8
        
9
        
10
        public static AnimationLayer2D animationLayer2D;
11
        
12
        static {
13
                if (animationLayer2D == null) {
14
                        animationLayer2D = new AnimationLayer2D();
15
                        animationLayer2D.setClassName("AnimtionLayer2D");
16
                        animationLayer2D.setName("AnimationLayer2D");
17
                        animationLayer2D.setDescription("Hola caracola");
18
                }
19
        }
20
        
21

    
22
        
23
        public Object create() {
24
                
25
       return animationLayer2D;
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 AnimationTypeFactoryLayer2D(), "com.iver.cit.gvsig.animation.test.AnimationLayer2D");
34
        }
35

    
36
        public String getRegisterName() {
37
                return registerName;
38
        }
39

    
40
}