public void setExpanded(boolean value) {
      runBatchOperation(() -> {
        for (int i = 0; i < myCount; i++) {
          FoldRegion region = getRegion(i);
          if (region != null) region.setExpanded(value);
        }
      });
    }
public void setExpanded(boolean value)