- 시작하는 제품에 따라 제품이 보여지고 관리되도록 수정.
[Tadpole.git] / com.hangum.tadpole.commons.libs / src / com / hangum / tadpole / commons / libs / core / Activator.java
blob7e86e86f9688dac9b611f6a5e382f44e25c5485c
1 /*******************************************************************************
2 * Copyright (c) 2013 hangum.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the GNU Lesser Public License v2.1
5 * which accompanies this distribution, and is available at
6 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
7 *
8 * Contributors:
9 * hangum - initial API and implementation
10 ******************************************************************************/
11 package com.hangum.tadpole.commons.libs.core;
13 import org.eclipse.ui.plugin.AbstractUIPlugin;
14 import org.osgi.framework.BundleContext;
16 public class Activator extends AbstractUIPlugin {
17 public static String ID = "com.hangum.tadpole.commons.libs";
19 // The shared instance
20 private static Activator plugin;
22 /**
23 * The constructor
25 public Activator() {
29 * (non-Javadoc)
31 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.
32 * BundleContext)
34 public void start(BundleContext context) throws Exception {
35 super.start(context);
36 plugin = this;
41 * (non-Javadoc)
43 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.
44 * BundleContext)
46 public void stop(BundleContext context) throws Exception {
47 plugin = null;
48 super.stop(context);
51 /**
52 * Returns the shared instance
54 * @return the shared instance
56 public static Activator getDefault() {
57 return plugin;