최신버전에 맞는 타겟플렛폼 설정.
[Tadpole.git] / com.hangum.tadpole.preference / src / com / hangum / tadpole / preference / Activator.java
blob3bad211675979a773ff7eae67df5d69343c17f29
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.preference;
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 = "com.hangum.tadpole.preference"; //$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 public void start(BundleContext context) throws Exception {
38 super.start(context);
39 plugin = this;
43 * (non-Javadoc)
44 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.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;