Statistics
| Revision:

gvsig-3d / 2.0 / trunk / org.gvsig.gvsig3d.app / org.gvsig.gvsig3d.app.extension / src / main / java / org / gvsig / gvsig3d / app / layout / fframe / FFrameView3DFactory.java @ 380

History | View | Annotate | Download (2.2 KB)

1
/* gvSIG 3D extension for gvSIG
2
 *
3
 * Copyright (C) 2012 Prodevelop.
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 *
19
 * For more information, contact:
20
 *
21
 *   Prodevelop, S.L.
22
 *   Pza. Don Juan de Villarrasa, 14 - 5
23
 *   46001 Valencia
24
 *   Spain
25
 *
26
 *   +34 963 510 612
27
 *   +34 963 510 968
28
 *   prode@prodevelop.es
29
 *   http://www.prodevelop.es
30
 */
31
/*
32
 * AUTHORS:
33
 * 2012 AI2 - Instituto Universitario de Automatica e Informatica Industrial.
34
 * Universitat Politecnica de Valencia (UPV)
35
 * http://www.ai2.upv.es
36
 */
37

    
38

    
39
package org.gvsig.gvsig3d.app.layout.fframe;
40

    
41
import org.gvsig.andami.PluginServices;
42
import org.gvsig.app.project.documents.layout.fframes.FrameFactory;
43
import org.gvsig.app.project.documents.layout.fframes.IFFrame;
44

    
45

    
46
/**
47
 * @author Jesus Zarzoso- jzarzoso@ai2.upv.es
48
 * @version $Id$
49
 * 
50
 */
51
public class FFrameView3DFactory extends FrameFactory {
52
        public static String registerName = "FFrameView3D";
53

    
54
        @Override
55
        public IFFrame createFrame() {
56
                FFrameView3D ffView3D = new FFrameView3D();
57
                ffView3D.setFrameFactory(this);
58
                return ffView3D;
59
        }
60

    
61
        @Override
62
        public String getRegisterName() {
63
                // TODO Auto-generated method stub
64
                return registerName;
65
        }
66

    
67
        /**
68
         * Returns the name of IFFrame.
69
         * 
70
         * @return Name of IFFrame.
71
         */
72
        public String getNameType() {
73
                return PluginServices.getText(this, "FFrameView3D");
74
        }
75

    
76
        /**
77
         * Registers in the points of extension the Factory with alias.
78
         * 
79
         */
80
//        public static void register() {
81
//                register(registerName, new FFrameView3DFactory(),
82
//                                "org.gvsig.gvsig3dgui.layout.FFrameView3D");
83
//
84
//        }
85

    
86
}