update nuget tab into proper place
authorEugene Petrenko <eugene.petrenko@gmail.com>
Tue, 16 Aug 2011 23:22:44 +0000 (03:22 +0400)
committerEugene Petrenko <eugene.petrenko@gmail.com>
Tue, 16 Aug 2011 23:22:44 +0000 (03:22 +0400)
nuget-server/src/jetbrains/buildServer/nuget/server/toolRegistry/tab/ServerSettingsTab.java

index 6efd6465347fc5db196b9abd139a659839ffc76f..721d5c95827303f96ceeb6921d3f37122cba303b 100644 (file)
@@ -19,6 +19,8 @@ package jetbrains.buildServer.nuget.server.toolRegistry.tab;
 import jetbrains.buildServer.web.openapi.*;\r
 import org.jetbrains.annotations.NotNull;\r
 \r
+import java.util.Arrays;\r
+\r
 /**\r
  * Created by Eugene Petrenko (eugene.petrenko@gmail.com)\r
  * Date: 10.08.11 20:35\r
@@ -37,7 +39,7 @@ public class ServerSettingsTab extends SimpleCustomTab {
             controller.getPath(),\r
             "NuGet");\r
     myChecker = checker;\r
-    setPosition(PositionConstraint.last());\r
+    setPosition(PositionConstraint.between(Arrays.asList("pluginsTab"), Arrays.asList("toolLoadTab", "usage-statistics")));\r
     addCssFile(descriptor.getPluginResourcesPath("tool/tools.css"));\r
     addJsFile(descriptor.getPluginResourcesPath("tool/tools.js"));\r
     register();\r