@Override
  protected void update(ToolWindow window, Presentation presentation) {
    presentation.setEnabled(window.isAvailable() && ToolWindowType.SLIDING!=window.getType());
  }
@Override
  protected void update(ToolWindow window, Presentation presentation)