01: /**
02: * <copyright>
03: * </copyright>
04: *
05: * $Id: PageEditPlugin.java 12510 2005-03-21 19:26:01Z jeichar $
06: */package net.refractions.udig.printing.model.provider;
07:
08: import net.refractions.udig.project.internal.provider.ProjectEditPlugin;
09:
10: import org.eclipse.emf.common.EMFPlugin;
11: import org.eclipse.emf.common.util.ResourceLocator;
12:
13: /**
14: * This is the central singleton for the page edit plugin.
15: * <!-- begin-user-doc -->
16: * <!-- end-user-doc -->
17: * @generated
18: */
19: public final class PageEditPlugin extends EMFPlugin {
20: /**
21: * Keep track of the singleton.
22: * <!-- begin-user-doc -->
23: * <!-- end-user-doc -->
24: * @generated
25: */
26: public static final PageEditPlugin INSTANCE = new PageEditPlugin();
27:
28: /**
29: * Keep track of the singleton.
30: * <!-- begin-user-doc -->
31: * <!-- end-user-doc -->
32: * @generated
33: */
34: private static Implementation plugin;
35:
36: /**
37: * Create the instance.
38: * <!-- begin-user-doc -->
39: * <!-- end-user-doc -->
40: * @generated
41: */
42: public PageEditPlugin() {
43: super (new ResourceLocator[] { ProjectEditPlugin.INSTANCE, });
44: }
45:
46: /**
47: * Returns the singleton instance of the Eclipse plugin.
48: * <!-- begin-user-doc -->
49: * <!-- end-user-doc -->
50: * @return the singleton instance.
51: * @generated
52: */
53: public ResourceLocator getPluginResourceLocator() {
54: return plugin;
55: }
56:
57: /**
58: * Returns the singleton instance of the Eclipse plugin.
59: * <!-- begin-user-doc -->
60: * <!-- end-user-doc -->
61: * @return the singleton instance.
62: * @generated
63: */
64: public static Implementation getPlugin() {
65: return plugin;
66: }
67:
68: /**
69: * The actual implementation of the Eclipse <b>Plugin</b>.
70: * <!-- begin-user-doc -->
71: * <!-- end-user-doc -->
72: * @generated
73: */
74: public static class Implementation extends EclipsePlugin {
75: /**
76: * Creates an instance.
77: * <!-- begin-user-doc -->
78: * <!-- end-user-doc -->
79: * @generated
80: */
81: public Implementation() {
82: super ();
83:
84: // Remember the static instance.
85: //
86: plugin = this;
87: }
88: }
89:
90: }
|