commit | 32acaa4af539a0dc23dcca44373191503db926a5 | [log] [tgz] |
---|---|---|
author | Felix Meschberger <fmeschbe@apache.org> | Mon Jan 21 21:28:17 2013 +0000 |
committer | Felix Meschberger <fmeschbe@apache.org> | Mon Jan 21 21:28:17 2013 +0000 |
tree | 7ed69b3f5eb26353e7245d4c5280bfd339f660be | |
parent | 680086457e9c88424c921bb9f82b65a04384dd7e [diff] |
FELIX-3861 Define Plugin Category git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1436630 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/ds/src/main/java/org/apache/felix/webconsole/plugins/ds/internal/WebConsolePlugin.java b/webconsole-plugins/ds/src/main/java/org/apache/felix/webconsole/plugins/ds/internal/WebConsolePlugin.java index 0e9439a..822718a 100644 --- a/webconsole-plugins/ds/src/main/java/org/apache/felix/webconsole/plugins/ds/internal/WebConsolePlugin.java +++ b/webconsole-plugins/ds/src/main/java/org/apache/felix/webconsole/plugins/ds/internal/WebConsolePlugin.java
@@ -57,6 +57,7 @@ private static final String LABEL = "components"; //$NON-NLS-1$ private static final String TITLE = "%components.pluginTitle"; //$NON-NLS-1$ + private static final String CATEGORY = "OSGi"; //$NON-NLS-1$ private static final String CSS[] = { "/res/ui/bundles.css" }; // yes, it's correct! //$NON-NLS-1$ private static final String RES = "/" + LABEL + "/res/"; //$NON-NLS-1$ //$NON-NLS-2$ @@ -83,6 +84,11 @@ TEMPLATE = readTemplateFile("/res/plugin.html"); //$NON-NLS-1$ } + public String getCategory() + { + return CATEGORY; + } + /** * @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) */