private void applyTreeToState() {
    var tree = getProjectsTree();
    myState.originalFiles = tree.getManagedFilesPaths();
    myState.ignoredFiles = new HashSet<>(tree.getIgnoredFilesPaths());
    myState.ignoredPathMasks = tree.getIgnoredFilesPatterns();
  }
private void applyTreeToState()