#NEWLINE# def _can_drop_on_feature( self , x , y , data ) : #NEWLINE# #INDENT# ' Returns a feature that the pointer is over and which can accept the\n            specified data.\n        ' #NEWLINE# if ( self . sizer is not None ) : #NEWLINE# #INDENT# object = self . sizer . ObjectAt ( x , y ) #NEWLINE# if isinstance ( object , DockControl ) : #NEWLINE# #INDENT# event = FakeEvent ( x , y , self . control ) #NEWLINE# if object . feature_activate ( event , data ) : #NEWLINE# #INDENT# ldc = self . _last_dock_control #NEWLINE# if ( ( y is not None ) and ( ldc is not object ) ) : #NEWLINE# #INDENT# ldc . reset_feature_popup ( ) #NEWLINE# #UNINDENT# self . _last_dock_control = object #NEWLINE# return None #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# if ( self . _last_dock_control is not None ) : #NEWLINE# #INDENT# self . _last_dock_control . reset_feature_popup ( ) #NEWLINE# self . _last_dock_control = None #NEWLINE# #UNINDENT# return None