#NEWLINE# def itemClick( self , event ) : #NEWLINE# #INDENT# if ( event . getButton ( ) == ItemClickEvent . BUTTON_RIGHT ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# if event . isDoubleClick ( ) : #NEWLINE# #INDENT# itemId = event . getItemId ( ) #NEWLINE# propertyId = event . getPropertyId ( ) #NEWLINE# cells = self . _c . _markedCells . get ( itemId ) #NEWLINE# if ( cells is None ) : #NEWLINE# #INDENT# cells = set ( ) #NEWLINE# self . _c . _markedCells [ itemId ] = cells #NEWLINE# #UNINDENT# if ( itemId in cells ) : #NEWLINE# #INDENT# cells . remove ( propertyId ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# cells . add ( propertyId ) #NEWLINE# #UNINDENT# self . _c . _table . requestRepaint ( )