FELIX-3861 Assign the plugin to the "OSGi" category

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1538356 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java b/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java
index d0a903d..d6af0d6 100644
--- a/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java
+++ b/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java
@@ -58,6 +58,7 @@
 

     private static final String LABEL = "depfinder"; //$NON-NLS-1$

     private static final String TITLE = "%pluginTitle"; //$NON-NLS-1$

+    private static final String CATEGORY = "OSGi"; //$NON-NLS-1$

     private static final String CSS[] = { "/" + LABEL + "/res/plugin.css" }; //$NON-NLS-1$ //$NON-NLS-2$

 

     private static final Comparator/*<ExportedPackage>*/EXPORT_PACKAGE_COMPARATOR = new ExportedPackageComparator();

@@ -79,6 +80,13 @@
         TEMPLATE = readTemplateFile("/res/plugin.html"); //$NON-NLS-1$

     }

 

+    

+    public String getCategory()

+    {

+        return CATEGORY;

+    }

+

+    

     /**

      * @see org.apache.felix.webconsole.AbstractWebConsolePlugin#renderContent(HttpServletRequest, HttpServletResponse)

      */