source: trunk/org.modelica.uml.sysml/src/org/modelica/uml/sysml/SysmlPlugin.java @ 492

Last change on this file since 492 was 492, checked in by adrpo, 17 years ago
  • ModelicaML UML/SysML part of mdt
File size: 1.8 KB
Line 
1/**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7package org.modelica.uml.sysml;
8
9import org.eclipse.emf.common.EMFPlugin;
10
11import org.eclipse.emf.common.util.ResourceLocator;
12
13/**
14 * This is the central singleton for the Sysml model plugin.
15 * <!-- begin-user-doc -->
16 * <!-- end-user-doc -->
17 * @generated
18 */
19public final class SysmlPlugin extends EMFPlugin {
20    /**
21     * Keep track of the singleton.
22     * <!-- begin-user-doc -->
23     * <!-- end-user-doc -->
24     * @generated
25     */
26    public static final SysmlPlugin INSTANCE = new SysmlPlugin();
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 SysmlPlugin() {
43        super(new ResourceLocator [] {});
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}
Note: See TracBrowser for help on using the repository browser.