aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-04-11 09:59:06 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-04-11 09:59:06 +0200
commit944fdfddc7ccf32e873cbc17af5dffebc8d72f53 (patch)
treea366782f1391c66fe37432b562be6bbf912038a2 /plugins
parente6cea47c725b858ee8a619306dee6d70eed73e06 (diff)
downloadsonarqube-944fdfddc7ccf32e873cbc17af5dffebc8d72f53.tar.gz
sonarqube-944fdfddc7ccf32e873cbc17af5dffebc8d72f53.zip
SONAR-3113 Apply David feedback
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/widgets/measures/MeasureFilterAsCloudWidget.java2
-rw-r--r--plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties6
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.