Over 10 years of community discussion and knowledge are maintained here as a read-only archive.
1) ControlPanelMediator sends a TOGGLE_SIDEBAR_COMMAND notification, which solely causes execution of the ToggleSidebarCommand. This command retrieves the SidebarMediator from the façade, and calls its toggleVisibility() method directly. That method toggles the actual sidebar Sprite's visibilty.2) ControlPanelMediator sends a SIDEBAR_TOGGLE_BUTTON_CLICKED notification. The SidebarMediator is listening for this Notification, and toggles the sidebar Sprite's visibility in response to this.Any thoughts, or links, anyone? (Sorry if this post is a bit jumbled!)