1 /*
2 WSMO Studio - a Semantic Web Service Editor
3 Copyright (c) 2004-2006, OntoText Lab. / SIRMA Group
4
5 This library is free software; you can redistribute it and/or modify it under
6 the terms of the GNU Lesser General Public License as published by the Free
7 Software Foundation; either version 2.1 of the License, or (at your option)
8 any later version.
9 This library is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12 details.
13 You should have received a copy of the GNU Lesser General Public License along
14 with this library; if not, write to the Free Software Foundation, Inc.,
15 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 */
17
18 /***
19 * <p>Title: WSMO Studio</p>
20 * <p>Description: Semantic Web Service Editor</p>
21 * <p>Copyright: Copyright (c) 2004-2006</p>
22 * <p>Company: OntoText Lab. / SIRMA </p>
23 */
24
25 package org.wsmostudio.repository.ordi;
26
27 import org.eclipse.ui.plugin.*;
28 import org.osgi.framework.BundleContext;
29
30 /***
31 * The main plugin class to be used in the desktop.
32 */
33 public class ORDIRepositoryPlugin extends AbstractUIPlugin {
34
35 //The shared instance.
36 private static ORDIRepositoryPlugin plugin;
37
38 /***
39 * The constructor.
40 */
41 public ORDIRepositoryPlugin() {
42 plugin = this;
43 }
44
45 /***
46 * This method is called upon plug-in activation
47 */
48 public void start(BundleContext context) throws Exception {
49 super.start(context);
50 }
51
52 /***
53 * This method is called when the plug-in is stopped
54 */
55 public void stop(BundleContext context) throws Exception {
56 super.stop(context);
57 plugin = null;
58 }
59
60 /***
61 * Returns the shared instance.
62 */
63 public static ORDIRepositoryPlugin getDefault() {
64 return plugin;
65 }
66 }
67
68 /*
69 * $Log$
70 * Revision 1.2 2006/01/09 12:51:12 alex_simov
71 * Copyright message in header updated
72 *
73 * Revision 1.1 2005/11/30 14:51:12 alex_simov
74 * ORDI repository plugin
75 *
76 */