public void extendComponent ( Component component ) { if ( this . extendedComponent != null ) this . extendedComponent . extendingComponents . remove ( this ) ; component . extendingComponents . add ( this ) ; this . extendedComponent = component ; }
Creates a bi - directional relation between this component and an extended one .