intial source from ttp://www.sf.net/projects/wdte
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.html.ui / src / net / sourceforge / phpeclipse / html / ui / HTMLUI.java
diff --git a/archive/net.sourceforge.phpeclipse.html.ui/src/net/sourceforge/phpeclipse/html/ui/HTMLUI.java b/archive/net.sourceforge.phpeclipse.html.ui/src/net/sourceforge/phpeclipse/html/ui/HTMLUI.java
new file mode 100644 (file)
index 0000000..06576ad
--- /dev/null
@@ -0,0 +1,45 @@
+/*
+ * Copyright (c) 2004 Christopher Lenz and others.
+ * All rights reserved. This program and the accompanying materials 
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ * 
+ * Contributors:
+ *     Christopher Lenz - initial API and implementation
+ * 
+ * $Id: HTMLUI.java,v 1.1 2004-09-02 18:13:31 jsurfer Exp $
+ */
+
+package net.sourceforge.phpeclipse.html.ui;
+
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+
+/**
+ * The main plugin class to be used in the desktop.
+ */
+public class HTMLUI extends AbstractUIPlugin {
+
+       // Class Variables ---------------------------------------------------------
+
+       /** The shared instance. */
+       private static HTMLUI plugin;
+
+       // Constructors ------------------------------------------------------------
+
+       /**
+        * The constructor.
+        */
+       public HTMLUI() {
+               plugin = this;
+       }
+
+       // Public Methods ----------------------------------------------------------
+
+       /**
+        * Returns the shared instance.
+        */
+       public static HTMLUI getDefault() {
+               return plugin;
+       }
+}