The Collapse All command, accessed on the right-click context menu, collapses all of the items in the current tree view. This is primarily done to hide relationship attributes when viewing relationships in a property sheet or hide target classes in the Relations pane of the Schema Class Browser.