1 /*******************************************************************************
\r
2 * Copyright (c) 2007- VTT Technical Research Centre of Finland.
\r
3 * All rights reserved. This program and the accompanying materials
\r
4 * are made available under the terms of the Eclipse Public License v1.0
\r
5 * which accompanies this distribution, and is available at
\r
6 * http://www.eclipse.org/legal/epl-v10.html
\r
9 * VTT Technical Research Centre of Finland - initial API and implementation
\r
10 *******************************************************************************/
\r
11 package org.simantics.proconf.g3d.csg;
\r
13 import org.eclipse.ui.plugin.AbstractUIPlugin;
\r
14 import org.osgi.framework.BundleContext;
\r
17 * The activator class controls the plug-in life cycle
\r
19 public class Activator extends AbstractUIPlugin {
\r
22 public static final String PLUGIN_ID = "fi.vtt.simantics.proconf.g3d.csg";
\r
24 // The shared instance
\r
25 private static Activator plugin;
\r
30 public Activator() {
\r
35 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
\r
37 public void start(BundleContext context) throws Exception {
\r
38 super.start(context);
\r
44 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
\r
46 public void stop(BundleContext context) throws Exception {
\r
48 super.stop(context);
\r
52 * Returns the shared instance
\r
54 * @return the shared instance
\r
56 public static Activator getDefault() {
\r