You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by fm...@apache.org on 2013/11/03 14:21:56 UTC
svn commit: r1538358 -
/felix/trunk/webconsole-plugins/shell/src/main/java/org/apache/felix/webconsole/plugins/shell/internal/WebConsolePlugin.java
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)
*/