felix-commits mailing list archives

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

URL: http://svn.apache.org/r1538358
Log:
FELIX-3861 Assign the plugin to the "Web Console" category

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

Modified: felix/trunk/webconsole-plugins/shell/src/main/java/org/apache/felix/webconsole/plugins/shell/internal/WebConsolePlugin.java
URL: http://svn.apache.org/viewvc/felix/trunk/webconsole-plugins/shell/src/main/java/org/apache/felix/webconsole/plugins/shell/internal/WebConsolePlugin.java?rev=1538358&r1=1538357&r2=1538358&view=diff
==============================================================================
--- felix/trunk/webconsole-plugins/shell/src/main/java/org/apache/felix/webconsole/plugins/shell/internal/WebConsolePlugin.java
(original)
+++ felix/trunk/webconsole-plugins/shell/src/main/java/org/apache/felix/webconsole/plugins/shell/internal/WebConsolePlugin.java
Sun Nov  3 13:21:56 2013
@@ -43,6 +43,7 @@ class WebConsolePlugin extends SimpleWeb
 
     private static final String LABEL = "shell"; //$NON-NLS-1$
     private static final String TITLE = "%shell.pluginTitle"; //$NON-NLS-1$
+    private static final String CATEGORY = "Web Console";
     private static final String CSS[] = { "/" + LABEL + "/res/plugin.css" }; //$NON-NLS-1$
//$NON-NLS-2$
 
     private final ServiceTracker tracker;
@@ -59,6 +60,12 @@ class WebConsolePlugin extends SimpleWeb
         this.tracker = tracker;
     }
 
+
+    public String getCategory()
+    {
+        return CATEGORY;
+    }
+
     /**
      * @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
      */



Mime
View raw message