diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-08 11:09:13 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-11-08 11:09:13 +0000 |
commit | a63e179df85ab27ef18ac4623853b06d3c4f8ed2 (patch) | |
tree | a9e1653bd8caf2b63be07ccc01fd658d6b932cd0 /plugins/sonar-design-plugin/src | |
parent | 9ff5c49c5cb537d0cc8ef04f5c450451e0cc5d7b (diff) | |
download | sonarqube-a63e179df85ab27ef18ac4623853b06d3c4f8ed2.tar.gz sonarqube-a63e179df85ab27ef18ac4623853b06d3c4f8ed2.zip |
VIEWS-56 do not display the Design page on views
Diffstat (limited to 'plugins/sonar-design-plugin/src')
-rw-r--r-- | plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/page/GwtDesignPage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/page/GwtDesignPage.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/page/GwtDesignPage.java index 54e8140fcef..cbd9e31a443 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/page/GwtDesignPage.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/page/GwtDesignPage.java @@ -26,7 +26,7 @@ import org.sonar.api.web.*; import org.sonar.plugins.design.ui.page.client.DesignPage; @ResourceLanguage(Java.KEY) -@ResourceScope({Resource.SCOPE_SET, Resource.SCOPE_SPACE}) +@ResourceQualifier({Resource.QUALIFIER_PROJECT, Resource.QUALIFIER_MODULE, Resource.QUALIFIER_PACKAGE, Resource.QUALIFIER_DIRECTORY}) @DefaultTab(metrics={CoreMetrics.DEPENDENCY_MATRIX_KEY, CoreMetrics.PACKAGE_FEEDBACK_EDGES_KEY, CoreMetrics.PACKAGE_CYCLES_KEY, CoreMetrics.PACKAGE_TANGLE_INDEX_KEY, CoreMetrics.PACKAGE_TANGLES_KEY, CoreMetrics.FILE_CYCLES_KEY, CoreMetrics.FILE_TANGLE_INDEX_KEY, CoreMetrics.FILE_TANGLES_KEY, CoreMetrics.FILE_FEEDBACK_EDGES_KEY}) @NavigationSection({NavigationSection.RESOURCE, NavigationSection.RESOURCE_TAB}) @UserRole(UserRole.USER) |