Promoted parts and connectors are moved into the immediate supercapsule and are inherited by all the subclasses of the capsule. Promoted parts are displayed in the primary structure diagram of the superclass capsule. Demoted parts are not longer inherited by the subcapsules, they are removed from the supercapsule, moved into each of its subcapsules, and become part of the structure of the subcapsule. Demoted parts disappear from the immediate context and are displayed as local parts in subclass capsules, in the same position that they were displayed in the superclass.
When you promote a state, the state is redrawn as inherited and is displayed as a local state in the state machine diagram of the superclass capsule. When you demote a state, the selected state and all attached transitions are removed from the immediate context. The subclass capsules show the demoted states as local states in their primary state diagrams.