#NEWLINE# def visit_ExtendItem( self , op ) : #NEWLINE# #INDENT# ' Handle the ExtendItem dock layout op.\n\n        This visitor will extend the item provided it lives in a\n        dock bar.\n\n        ' #NEWLINE# container = self . containers . get ( area . item ) #NEWLINE# if ( container is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# area = container . parentDockArea ( ) #NEWLINE# if ( area is not None ) : #NEWLINE# #INDENT# area . extendFromDockBar ( container )