diff options
author | Ansgar Radermacher | 2016-01-16 23:21:13 +0000 |
---|---|---|
committer | Ansgar Radermacher | 2016-01-17 13:03:01 +0000 |
commit | 36b670f0a9f5dd59422a9f368dfe035d0b5f719c (patch) | |
tree | 7bb419a329ba5c568f5b3062b7661ed0b3e78d46 /extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.library.ui/src/org/eclipse/papyrus/cpp/library/ui/Activator.java | |
parent | 47dd8f8ebd64192956b097cb70f783d7446138ab (diff) | |
download | org.eclipse.papyrus-36b670f0a9f5dd59422a9f368dfe035d0b5f719c.tar.gz org.eclipse.papyrus-36b670f0a9f5dd59422a9f368dfe035d0b5f719c.tar.xz org.eclipse.papyrus-36b670f0a9f5dd59422a9f368dfe035d0b5f719c.zip |
Bug 484701 - [QDesigner] Refactoring - code generators, architecture exploration and component based design should be organised in common directory
Bug 478797 - [model library] Decide which model library to use for C++ primitive types
Change-Id: Idade4edfcf803da3528c0873aa04b754915866fd
Diffstat (limited to 'extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.library.ui/src/org/eclipse/papyrus/cpp/library/ui/Activator.java')
-rw-r--r-- | extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.library.ui/src/org/eclipse/papyrus/cpp/library/ui/Activator.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.library.ui/src/org/eclipse/papyrus/cpp/library/ui/Activator.java b/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.library.ui/src/org/eclipse/papyrus/cpp/library/ui/Activator.java new file mode 100644 index 00000000000..489c2549aeb --- /dev/null +++ b/extraplugins/qompass/codegen/cpp/org.eclipse.papyrus.cpp.library.ui/src/org/eclipse/papyrus/cpp/library/ui/Activator.java @@ -0,0 +1,50 @@ +package org.eclipse.papyrus.cpp.library.ui; + +import org.eclipse.ui.plugin.AbstractUIPlugin; +import org.osgi.framework.BundleContext; + +/** + * The activator class controls the plug-in life cycle + */ +public class Activator extends AbstractUIPlugin { + + // The plug-in ID + public static final String PLUGIN_ID = "org.eclipse.papyrus.cpp.library.ui"; //$NON-NLS-1$ + + // The shared instance + private static Activator plugin; + + /** + * The constructor + */ + public Activator() { + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) + */ + public void start(BundleContext context) throws Exception { + super.start(context); + plugin = this; + } + + /* + * (non-Javadoc) + * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) + */ + public void stop(BundleContext context) throws Exception { + plugin = null; + super.stop(context); + } + + /** + * Returns the shared instance + * + * @return the shared instance + */ + public static Activator getDefault() { + return plugin; + } + +} |