commit | f5ec0d281d4c633f5a4139e9f15450704ffdc1a3 | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Sun Nov 03 13:24:56 2013 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Sun Nov 03 13:24:56 2013 +0000 |
tree | ae2c273eff3f94727c4783cf63ab41b46bfb07e4 | |
parent | be76ce507228aafc4f1f4ad06f30ac869849f3fc [diff] |
FELIX-3861 Assign the plugin to the "OSGi" category git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1538359 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java b/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java index fdac46e..81c4e71 100644 --- a/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java +++ b/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/WebConsolePlugin.java
@@ -34,6 +34,7 @@ private static final String LABEL = "upnp"; private static final String TITLE = "%pluginTitle"; + private static final String CATEGORY = "OSGi"; private static final String CSS[] = { "/" + LABEL + "/res/upnp.css", // "/" + LABEL + "/res/jquery-treeview-1.4/jquery.treeview.css", // }; @@ -46,7 +47,7 @@ /** * Creates new plugin - * + * * @param tracker the UPnP Device tracker */ public WebConsolePlugin(ServiceTracker tracker) @@ -58,6 +59,12 @@ TEMPLATE = readTemplateFile("/res/upnp.html"); } + + public String getCategory() + { + return CATEGORY; + } + /** * @see org.apache.felix.webconsole.AbstractWebConsolePlugin#activate(org.osgi.framework.BundleContext) */