void (@NotNull AnActionEvent e, boolean state) { if (state) { setLayout(myActionLayout); } else { if (myActionLayout == Layout.SHOW_EDITOR_AND_PREVIEW) { mySplitter.setOrientation(!myIsVerticalSplit); myIsVerticalSplit = !myIsVerticalSplit; } } }