private @Nullable Content findMinimizedContent(@NotNull String key) {
    for (AnAction action : myViewActions.getChildren(ActionManager.getInstance())) {
      if (!(action instanceof ViewLayoutModificationAction)) continue;

      Content content = ((ViewLayoutModificationAction)action).getContent();
      if (key.equals(content.getUserData(ViewImpl.ID))) {
        return content;
      }
    }

    return null;
  }
private @Nullable Content findMinimizedContent(@NotNull String key)