diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-05 13:28:08 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-05 13:28:08 +0000 |
commit | 08ccd27af288390ae9da2c8161bc608f04b470b3 (patch) | |
tree | 118b0578c9ae22a05560e357ae14a6dfe6ede429 /archetypes | |
parent | 916199c23653ae732c6c7346412659495859de8b (diff) | |
download | sonarqube-08ccd27af288390ae9da2c8161bc608f04b470b3.tar.gz sonarqube-08ccd27af288390ae9da2c8161bc608f04b470b3.zip |
minor improvement of widget sample in sonar-basic-archetype
Diffstat (limited to 'archetypes')
2 files changed, 0 insertions, 3 deletions
diff --git a/archetypes/sonar-basic-plugin/project/src/main/java/org/sonar/plugins/sample/SampleDashboardWidget.java b/archetypes/sonar-basic-plugin/project/src/main/java/org/sonar/plugins/sample/SampleDashboardWidget.java index 0bc7ba1cc55..1b5d5e2f2b9 100644 --- a/archetypes/sonar-basic-plugin/project/src/main/java/org/sonar/plugins/sample/SampleDashboardWidget.java +++ b/archetypes/sonar-basic-plugin/project/src/main/java/org/sonar/plugins/sample/SampleDashboardWidget.java @@ -2,7 +2,6 @@ package org.sonar.plugins.sample; import org.sonar.api.web.*; -@NavigationSection(NavigationSection.RESOURCE) @UserRole(UserRole.USER) @Description("Show how to use Ruby Widget API") @WidgetProperties({ @@ -29,7 +28,6 @@ public class SampleDashboardWidget extends AbstractRubyTemplate implements RubyR } public String getTitle() { - // not used for the moment by widgets. return "Sample"; } diff --git a/archetypes/sonar-basic-plugin/src/main/resources/archetype-resources/src/main/java/SampleDashboardWidget.java b/archetypes/sonar-basic-plugin/src/main/resources/archetype-resources/src/main/java/SampleDashboardWidget.java index 05789347804..f368bdadae9 100644 --- a/archetypes/sonar-basic-plugin/src/main/resources/archetype-resources/src/main/java/SampleDashboardWidget.java +++ b/archetypes/sonar-basic-plugin/src/main/resources/archetype-resources/src/main/java/SampleDashboardWidget.java @@ -5,7 +5,6 @@ package ${package}; import org.sonar.api.web.*; -@NavigationSection(NavigationSection.RESOURCE) @UserRole(UserRole.USER) @Description("Show how to use Ruby Widget API") @WidgetProperties({ |