From 944fdfddc7ccf32e873cbc17af5dffebc8d72f53 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Fri, 11 Apr 2014 09:59:06 +0200 Subject: [PATCH] SONAR-3113 Apply David feedback --- .../core/widgets/measures/MeasureFilterAsCloudWidget.java | 2 +- .../src/main/resources/org/sonar/l10n/core.properties | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java index cff7bd88926..c8b956bb28f 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java @@ -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") }) diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index 075afab7bdb..2aedcd44299 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -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. -- 2.39.5