How to change the Pinned mode of Maven panel Permanently deleted user 创建于 2014年04月23日 09:33 HiI'm developing plugin for IntelliJ and want to know how can I change the Pinned mode of the maven pannel or any other pannel in idea programatically.
com.intellij.openapi.wm.ToolWindow#setAutoHide
see http://confluence.jetbrains.com/display/IDEADEV/Creation+of+Tool+Windows for basic tutorial about Toolwindows
Thanks Yann for help
i manage to do it by the follwoing code
ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(myProject);
ToolWindow mavenToolWindow = toolWindowManager.getToolWindow("Maven Projects");
mavenToolWindow.setAutoHide(true);