]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-1927 Add 'Global' qualifier to all core global widgets
authorDavid Gageot <david@gageot.net>
Wed, 9 May 2012 09:25:45 +0000 (11:25 +0200)
committerDavid Gageot <david@gageot.net>
Wed, 9 May 2012 09:25:45 +0000 (11:25 +0200)
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/FilterWidget.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/GlobalWidget.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/ImageWidget.java
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/TestComplexityWidget.java

index 95bf442625c74914e8bef5b045784a7775831621..535cca92c7d96a4b45123c4dd78900fb61f554a7 100644 (file)
@@ -28,7 +28,7 @@ import org.sonar.api.web.WidgetProperties;
 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")
index 8f940ec04f60d16f9563664298a009dbe060b08c..2a7d3fd8d92f11148adbf90c22f0d7d807b6c3b2 100644 (file)
@@ -24,7 +24,7 @@ import org.sonar.api.web.RubyRailsWidget;
 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 {
 
index 574b004924db19b381f25b1b5a09c3fa4a56f3c9..c92c9af89ddf22052ff99dbace18b8437185029f 100644 (file)
@@ -27,7 +27,7 @@ import org.sonar.api.web.WidgetProperties;
 import org.sonar.api.web.WidgetProperty;
 import org.sonar.api.web.WidgetPropertyType;
 
-@WidgetCategory("Misc")
+@WidgetCategory({"Global", "Misc"})
 @WidgetGlobal
 @WidgetProperties(
 {
index 1a5865a9e0d960e27c9bf00006c746e41a590269..28164e7130e7061658920ac45a34d08bf66960d9 100644 (file)
@@ -19,6 +19,8 @@
  */
 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;
@@ -26,6 +28,7 @@ import org.sonar.api.web.WidgetProperties;
 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")