 				Deft.event.LiveEventBus.unregister( component )
 				return
 		)
-		
+
 		return
-)+)

						@fireEvent( 'added', @, newParent )
					else if oldParent isnt null and newParent is null
						@fireEvent( 'removed', @, oldParent )
					
					return result
				
				isDescendantOf: ( container ) ->
					ancestor = @getParent()
					while ancestor?

		)
		@listeners.push( listener )
		return

	removeListener: ( container, selector, eventName, fn, scope ) ->
		listener = @findListener( container, selector, eventName, fn, scope )
		if listener?
			Ext.Array.remove( @listeners, listener )
			listener.destroy()
		return

	on: ( container, selector, eventName, fn, scope, options ) ->
		return @addListener( container, selector, eventName, fn, scope, options )

	un: ( container, selector, eventName, fn, scope ) ->
		return @removeListener( container, selector, eventName, fn, scope )

	# @private
	findListener: ( container, selector, eventName, fn, scope ) ->
		for listener in @listeners
