Example usage for com.intellij.openapi.wm ToolWindow setSplitMode

List of usage examples for com.intellij.openapi.wm ToolWindow setSplitMode

Introduction

In this page you can find the example usage for com.intellij.openapi.wm ToolWindow setSplitMode.

Prototype

void setSplitMode(boolean split, @Nullable Runnable runnable);

Source Link

Document

There are four base ToolWindowAnchor anchors for Tool Window: TOP, LEFT, BOTTOM, RIGHT.

Usage

From source file:com.intellij.ide.actions.ToggleSideModeAction.java

License:Apache License

@Override
protected void setSelected(ToolWindow window, boolean state) {
    window.setSplitMode(state, null);
}