void applyTo(@NotNull ToolWindow window) {
      switch (this) {
        case DockPinned -> {
          window.setType(ToolWindowType.DOCKED, null);
          window.setAutoHide(false);
        }
        case DockUnpinned -> {
          window.setType(ToolWindowType.DOCKED, null);
          window.setAutoHide(true);
        }
        case Undock -> window.setType(ToolWindowType.SLIDING, null);
        case Float -> window.setType(ToolWindowType.FLOATING, null);
        case Window -> window.setType(ToolWindowType.WINDOWED, null);
      }
    }
void applyTo(@NotNull ToolWindow window)