#NEWLINE# def onDragEnter( self , event ) : #NEWLINE# #INDENT# target = DOM . eventGetTarget ( event ) #NEWLINE# t = Widget ( Element = target ) #NEWLINE# try : #NEWLINE# #INDENT# class_names = t . getStyleName ( ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# class_names = None #NEWLINE# #UNINDENT# if ( class_names is not None ) : #NEWLINE# #INDENT# if ( 'drophere' in class_names ) : #NEWLINE# #INDENT# t . addStyleName ( 'dragover' ) #NEWLINE# DOM . eventPreventDefault ( event )