commit | 2929e086a1ca629eda08364d6129a933cef6222a | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Sun Nov 03 13:10:07 2013 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Sun Nov 03 13:10:07 2013 +0000 |
tree | b6469a48f187e5e8781cb03de2cd4e06544a61cc | |
parent | 4a18dc1ba819289dd53c5e4cd039bde445cc8efa [diff] |
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) */