Adds tests to load UML profile in NotLoadingResourceSet.
[EMFCompare2.git] / plugins / org.eclipse.emf.compare.uml2.ide.tests / src / org / eclipse / emf / compare / uml2 / ide / tests / Activator.java
blob59891f04838d30d12cf1ccb880250ff9790b1475
1 /*******************************************************************************
2 * Copyright (c) 2014 Obeo.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Obeo - initial API and implementation
10 *******************************************************************************/
11 package org.eclipse.emf.compare.uml2.ide.tests;
13 import org.eclipse.ui.plugin.AbstractUIPlugin;
14 import org.osgi.framework.BundleContext;
16 /**
17 * The activator class controls the plug-in life cycle
19 public class Activator extends AbstractUIPlugin {
21 // The plug-in ID
22 public static final String PLUGIN_ID = "org.eclipse.emf.compare.uml2.ide.tests"; //$NON-NLS-1$
24 // The shared instance
25 private static Activator plugin;
27 /**
28 * The constructor
30 public Activator() {
34 * (non-Javadoc)
35 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
37 @Override
38 public void start(BundleContext context) throws Exception {
39 super.start(context);
40 plugin = this;
44 * (non-Javadoc)
45 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
47 @Override
48 public void stop(BundleContext context) throws Exception {
49 plugin = null;
50 super.stop(context);
53 /**
54 * Returns the shared instance
56 * @return the shared instance
58 public static Activator getDefault() {
59 return plugin;