void (TreeAction action, boolean state) { String propertyName = action instanceof PropertyOwner ? ((PropertyOwner)action).getPropertyName() : action.getName(); PropertiesComponent.getInstance().setValue(TreeStructureUtil.getPropertyName(propertyName), state, Sorter.ALPHA_SORTER.equals(action)); }