diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-11-29 11:28:02 +0100 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2012-11-29 13:46:38 +0100 |
commit | c0449e0a612fc44c4a4bff06a35c1f744c898608 (patch) | |
tree | 322fce23a111977b4c27933c6f67576e0553998a /plugins | |
parent | 9322b252de6c294af1b54377c9df3a7c737771f8 (diff) | |
download | sonarqube-c0449e0a612fc44c4a4bff06a35c1f744c898608.tar.gz sonarqube-c0449e0a612fc44c4a4bff06a35c1f744c898608.zip |
SONAR-37 & SONAR-2911 Add comparison tool
- To compare projects to each others (SONAR-37)
- To compare X versions of a project (SONAR-2911)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java | 23 | ||||
-rw-r--r-- | plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties | 19 |
2 files changed, 31 insertions, 11 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java index bc3125b2d07..72bd2cb244e 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/DefaultResourceTypes.java @@ -39,27 +39,28 @@ public final class DefaultResourceTypes extends ExtensionProvider implements Bat .setProperty("hasRolePolicy", true) .setProperty("updatable_key", true) .setProperty("supports_measure_filters", true) + .setProperty("comparable", true) .build()) .addType(ResourceType.builder(Qualifiers.MODULE) .setProperty("updatable_key", true) .setProperty("supports_measure_filters", true) .build()) .addType(ResourceType.builder(Qualifiers.DIRECTORY) - .setProperty("supports_measure_filters", true) - .build()) + .setProperty("supports_measure_filters", true) + .build()) .addType(ResourceType.builder(Qualifiers.PACKAGE) - .build()) + .build()) .addType(ResourceType.builder(Qualifiers.FILE) - .hasSourceCode() - .setProperty("supports_measure_filters", true) - .build()) + .hasSourceCode() + .setProperty("supports_measure_filters", true) + .build()) .addType(ResourceType.builder(Qualifiers.CLASS) - .hasSourceCode() - .build()) + .hasSourceCode() + .build()) .addType(ResourceType.builder(Qualifiers.UNIT_TEST_FILE) - .hasSourceCode() - .setProperty("supports_measure_filters", true) - .build()) + .hasSourceCode() + .setProperty("supports_measure_filters", true) + .build()) .addRelations(Qualifiers.PROJECT, Qualifiers.MODULE) .addRelations(Qualifiers.MODULE, Qualifiers.DIRECTORY, Qualifiers.PACKAGE) 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 c882eef8435..8becc0439de 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 @@ -354,6 +354,7 @@ update_key.page=Update Key project_quality_profiles.page=Quality Profiles bulk_deletion.page=Bulk Deletion system_measure_filters.page=System Measure Filters +comparison.page=Comparison # GWT pages @@ -513,6 +514,24 @@ reviews.filtered_by.to=To date #------------------------------------------------------------------------------ # +# COMPARISON +# +#------------------------------------------------------------------------------ + +comparison.compare=Compare +comparison.add_a_new_metric=Add a new metric +comparison.select_resource_to_compare=Select a resource to compare +comparison.select_version=Select a version +comparison.remove_resource=Remove resource +comparison.remove_metric=Remove metric +comparison.move_left=Move left +comparison.move_right=Move right +comparison.move_down=Move down +comparison.move_up=Move up + + +#------------------------------------------------------------------------------ +# # ACTION PLANS # #------------------------------------------------------------------------------ |