A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse.xml.ui / src / net / sourceforge / phpeclipse / xml / ui / XMLPlugin.java
index bbbf329..d886c5a 100644 (file)
@@ -8,7 +8,7 @@
  * Contributors:
  *     Igor Malinin - initial contribution
  *
- * $Id: XMLPlugin.java,v 1.1 2004-09-02 18:28:04 jsurfer Exp $
+ * $Id: XMLPlugin.java,v 1.2 2006-10-21 23:14:13 pombredanne Exp $
  */
 
 package net.sourceforge.phpeclipse.xml.ui;
@@ -30,7 +30,7 @@ import org.osgi.framework.BundleContext;
  */
 public class XMLPlugin extends AbstractUIPlugin {
        public static final String ICON_ELEMENT = "element_obj.gif"; //$NON-NLS-1$
-       
+
        // The shared instance.
        private static XMLPlugin plugin;
 
@@ -38,6 +38,7 @@ public class XMLPlugin extends AbstractUIPlugin {
        private ResourceBundle resources;
 
        private XMLTextTools xmlTextTools;
+
        private DTDTextTools dtdTextTools;
 
        /**
@@ -47,8 +48,8 @@ public class XMLPlugin extends AbstractUIPlugin {
                plugin = this;
 
                try {
-                       resources = ResourceBundle.getBundle(
-                               "net.sourceforge.phpeclipse.xml.ui.XMLPluginResources"); //$NON-NLS-1$
+                       resources = ResourceBundle
+                                       .getBundle("net.sourceforge.phpeclipse.xml.ui.XMLPluginResources"); //$NON-NLS-1$
                } catch (MissingResourceException x) {
                }
        }
@@ -130,8 +131,9 @@ public class XMLPlugin extends AbstractUIPlugin {
         * Returns an image descriptor for the image corresponding to the specified
         * key (which is the name of the image file).
         * 
-        * @param key The key of the image
-        * @return The descriptor for the requested image, or <code>null</code> if 
+        * @param key
+        *            The key of the image
+        * @return The descriptor for the requested image, or <code>null</code> if
         *         the image could not be found
         */
        private ImageDescriptor getImageDescriptor(String key) {
@@ -142,7 +144,5 @@ public class XMLPlugin extends AbstractUIPlugin {
                        return null;
                }
        }
-       
-       
 
 }