01: /*******************************************************************************
02: * Copyright (c) 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.examples.views.properties.tabbed.hockeyleague;
11:
12: import org.eclipse.emf.common.EMFPlugin;
13:
14: import org.eclipse.emf.common.util.ResourceLocator;
15:
16: /**
17: * This is the central singleton for the Hockeyleague edit plugin.
18: * <!-- begin-user-doc -->
19: * <!-- end-user-doc -->
20: * @generated
21: */
22: public final class HockeyleaguePlugin extends EMFPlugin {
23: /**
24: * Keep track of the singleton.
25: * <!-- begin-user-doc -->
26: * <!-- end-user-doc -->
27: * @generated
28: */
29: public static final HockeyleaguePlugin INSTANCE = new HockeyleaguePlugin();
30:
31: /**
32: * Keep track of the singleton.
33: * <!-- begin-user-doc -->
34: * <!-- end-user-doc -->
35: * @generated
36: */
37: private static Implementation plugin;
38:
39: /**
40: * Create the instance.
41: * <!-- begin-user-doc -->
42: * <!-- end-user-doc -->
43: * @generated
44: */
45: public HockeyleaguePlugin() {
46: super (new ResourceLocator[] {});
47: }
48:
49: /**
50: * Returns the singleton instance of the Eclipse plugin.
51: * <!-- begin-user-doc -->
52: * <!-- end-user-doc -->
53: * @return the singleton instance.
54: * @generated
55: */
56: public ResourceLocator getPluginResourceLocator() {
57: return plugin;
58: }
59:
60: /**
61: * Returns the singleton instance of the Eclipse plugin.
62: * <!-- begin-user-doc -->
63: * <!-- end-user-doc -->
64: * @return the singleton instance.
65: * @generated
66: */
67: public static Implementation getPlugin() {
68: return plugin;
69: }
70:
71: /**
72: * The actual implementation of the Eclipse <b>Plugin</b>.
73: * <!-- begin-user-doc -->
74: * <!-- end-user-doc -->
75: * @generated
76: */
77: public static class Implementation extends EclipsePlugin {
78: /**
79: * Creates an instance.
80: * <!-- begin-user-doc -->
81: * <!-- end-user-doc -->
82: * @generated
83: */
84: public Implementation() {
85: super ();
86:
87: // Remember the static instance.
88: //
89: plugin = this;
90: }
91: }
92:
93: }
|