intial source from htp://www.sf.net/projects/wdte
[phpeclipse.git] / net.sourceforge.phpeclipse.smarty.ui / src / net / sourceforge / phpdt / smarty / ui / HTMLUI.java
1 /*
2  * Copyright (c) 2004 Christopher Lenz and others.
3  * All rights reserved. This program and the accompanying materials 
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     Christopher Lenz - initial API and implementation
10  * 
11  * $Id: HTMLUI.java,v 1.1 2004-09-02 18:25:04 jsurfer Exp $
12  */
13
14 package net.sourceforge.phpdt.smarty.ui;
15
16 import org.eclipse.ui.plugin.AbstractUIPlugin;
17
18 /**
19  * The main plugin class to be used in the desktop.
20  */
21 public class HTMLUI extends AbstractUIPlugin {
22
23         // Class Variables ---------------------------------------------------------
24
25         /** The shared instance. */
26         private static HTMLUI plugin;
27
28         // Constructors ------------------------------------------------------------
29
30         /**
31          * The constructor.
32          */
33         public HTMLUI() {
34                 plugin = this;
35         }
36
37         // Public Methods ----------------------------------------------------------
38
39         /**
40          * Returns the shared instance.
41          */
42         public static HTMLUI getDefault() {
43                 return plugin;
44         }
45 }