root / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / project / documents / layout / fframes / FFrameNorthFactory.java @ 29596
History | View | Annotate | Download (1.14 KB)
1 | 29596 | jpiera | package org.gvsig.app.project.documents.layout.fframes; |
---|---|---|---|
2 | 9516 | caballero | |
3 | 29596 | jpiera | import org.gvsig.andami.PluginServices; |
4 | 9516 | caballero | |
5 | |||
6 | /**
|
||
7 | * Factory of FFrameNorth.
|
||
8 | *
|
||
9 | * @author Vicente Caballero Navarro
|
||
10 | */
|
||
11 | public class FFrameNorthFactory extends FrameFactory { |
||
12 | public static String registerName = "FFrameNorth"; |
||
13 | |||
14 | |||
15 | /**
|
||
16 | * Create a new IFFrame.
|
||
17 | *
|
||
18 | * @return IFFrame.
|
||
19 | */
|
||
20 | public IFFrame createFrame() {
|
||
21 | FFrameNorth north = new FFrameNorth();
|
||
22 | north.setFrameLayoutFactory(this);
|
||
23 | return north;
|
||
24 | } |
||
25 | |||
26 | /**
|
||
27 | * Returns the name of registration in the point of extension.
|
||
28 | *
|
||
29 | * @return Name of registration
|
||
30 | */
|
||
31 | public String getRegisterName() { |
||
32 | return registerName;
|
||
33 | } |
||
34 | |||
35 | /**
|
||
36 | * Returns the name of IFFrame.
|
||
37 | *
|
||
38 | * @return Name of IFFrame.
|
||
39 | */
|
||
40 | public String getNameType() { |
||
41 | return PluginServices.getText(this, "FFrameNorth"); |
||
42 | } |
||
43 | |||
44 | /**
|
||
45 | * Registers in the points of extension the Factory with alias.
|
||
46 | *
|
||
47 | */
|
||
48 | public static void register() { |
||
49 | register(registerName, new FFrameNorthFactory(),
|
||
50 | 29596 | jpiera | "org.gvsig.app.gui.layout.fframes.FFrameNorth");
|
51 | 9516 | caballero | |
52 | } |
||
53 | |||
54 | } |