]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3113 Apply David feedback
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 11 Apr 2014 07:59:06 +0000 (09:59 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 11 Apr 2014 07:59:06 +0000 (09:59 +0200)
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java
plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties

index cff7bd889269be99ea064b2a65c737fbe153734a..c8b956bb28fdd55bdd7702a25d2f52a78cc1fb0a 100644 (file)
@@ -31,9 +31,9 @@ import static org.sonar.api.web.WidgetScope.GLOBAL;
 @WidgetProperties({
   @WidgetProperty(key = "chartTitle", type = WidgetPropertyType.STRING),
   @WidgetProperty(key = "filter", type = WidgetPropertyType.FILTER, optional = false),
+  @WidgetProperty(key = "sizeMetric", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.COMPLEXITY_KEY, options = {WidgetConstants.FILTER_OUT_NEW_METRICS}),
   @WidgetProperty(key = "colorMetric", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.COVERAGE_KEY,
     options = { WidgetConstants.FILTER_OUT_NEW_METRICS, "type:PERCENT" }),
-  @WidgetProperty(key = "sizeMetric", type = WidgetPropertyType.METRIC, defaultValue = CoreMetrics.COMPLEXITY_KEY, options = {WidgetConstants.FILTER_OUT_NEW_METRICS}),
   @WidgetProperty(key = "maxItems", type = WidgetPropertyType.INTEGER, defaultValue = "100"),
   @WidgetProperty(key = "reverseColor", type = WidgetPropertyType.BOOLEAN, defaultValue = "false")
 })
index 075afab7bdb96b684f537c1dda6013287336e27c..2aedcd4429955736cb9c58631271361da49b76f1 100644 (file)
@@ -1124,9 +1124,9 @@ widget.measure_filter_cloud.property.chartTitle.name=Chart Title
 widget.measure_filter_cloud.property.filter.name=Filter
 widget.measure_filter_cloud.property.colorMetric.name=Color Metric
 widget.measure_filter_cloud.property.sizeMetric.name=Size Metric
-widget.measure_filter_cloud.property.maxItems.name=Max components
+widget.measure_filter_cloud.property.maxItems.name=Max Components
 widget.measure_filter_cloud.property.maxItems.desc=Maximum number of components to show
-widget.measure_filter_cloud.property.reverseColor.name=Reverse order on color
+widget.measure_filter_cloud.property.reverseColor.name=Reverse Order on Color
 
 widget.measure_filter_histogram.name=Measure Filter as Histogram
 widget.measure_filter_histogram.description=Displays the result of a pre-configured measure filter as a histogram.
@@ -1163,7 +1163,7 @@ widget.project_file_cloud.property.colorMetric.name=Color Metric
 widget.project_file_cloud.property.sizeMetric.name=Size Metric
 widget.project_file_cloud.property.maxItems.name=Max components
 widget.project_file_cloud.property.maxItems.desc=Maximum number of components to show
-widget.project_file_cloud.property.reverseColor.name=Reverse order on color
+widget.project_file_cloud.property.reverseColor.name=Reverse Order on Color
 
 widget.time_machine.name=History Table
 widget.time_machine.description=Displays up to 10 metrics in a table, showing their value for a specified number of past snapshots.