import org.sonar.api.web.WidgetProperty;
import org.sonar.api.web.WidgetPropertyType;
-@WidgetCategory("Filters")
+@WidgetCategory({"Filters", "Global"})
@WidgetGlobal
@WidgetProperties({
@WidgetProperty(key = "filter", type = WidgetPropertyType.FILTER, defaultValue = "1")
import org.sonar.api.web.WidgetCategory;
import org.sonar.api.web.WidgetGlobal;
-@WidgetCategory("Misc")
+@WidgetCategory({"Global", "Misc"})
@WidgetGlobal
public class GlobalWidget extends AbstractRubyTemplate implements RubyRailsWidget {
import org.sonar.api.web.WidgetProperty;
import org.sonar.api.web.WidgetPropertyType;
-@WidgetCategory("Misc")
+@WidgetCategory({"Global", "Misc"})
@WidgetGlobal
@WidgetProperties(
{
*/
package org.sonar.plugins.core.widgets;
+import org.sonar.api.web.WidgetCategory;
+
import org.sonar.api.web.AbstractRubyTemplate;
import org.sonar.api.web.RubyRailsWidget;
import org.sonar.api.web.WidgetGlobal;
import org.sonar.api.web.WidgetProperty;
import org.sonar.api.web.WidgetPropertyType;
+@WidgetCategory({"Global", "Complexity"})
@WidgetGlobal
@WidgetProperties({
@WidgetProperty(key = "project", type = WidgetPropertyType.PROJECT, defaultValue = "1")