public void onExpansion(boolean expanded) {
    final XValueGroup group = getValueContainer();
    if (group.isRestoreExpansion()) {
      final String name = group.getName();
      if (StringUtil.isNotEmpty(name)) {
        PropertiesComponent.getInstance(getTree().getProject()).setValue(group.getName(), String.valueOf(expanded), null);
      }
    }
  }
public void onExpansion(boolean expanded)