felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r1538356 - /felix/trunk/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java
Date Sun, 03 Nov 2013 13:10:07 GMT
Author: fmeschbe
Date: Sun Nov  3 13:10:07 2013
New Revision: 1538356

URL: http://svn.apache.org/r1538356
Log:
FELIX-3861 Assign the plugin to the "OSGi" category

Modified:
    felix/trunk/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java

Modified: felix/trunk/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java?rev=1538356&r1=1538355&r2=1538356&view=diff
==============================================================================
--- felix/trunk/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java
(original)
+++ felix/trunk/webconsole-plugins/packageadmin/src/main/java/org/apache/felix/webconsole/plugins/packageadmin/internal/WebConsolePlugin.java
Sun Nov  3 13:10:07 2013
@@ -58,6 +58,7 @@ class WebConsolePlugin extends SimpleWeb
 
     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 @@ class WebConsolePlugin extends SimpleWeb
         TEMPLATE = readTemplateFile("/res/plugin.html"); //$NON-NLS-1$
     }
 
+    
+    public String getCategory()
+    {
+        return CATEGORY;
+    }
+
+    
     /**
      * @see org.apache.felix.webconsole.AbstractWebConsolePlugin#renderContent(HttpServletRequest,
HttpServletResponse)
      */



Mime
View raw message