#NEWLINE# def showItem( self , item , col ) : #NEWLINE# #INDENT# ( v_name , v_id , v_version , version_name , time , user , thumb ) = item . workflow #NEWLINE# config = self . config #NEWLINE# locator = DBLocator ( config [ 'host' ] , config [ 'port' ] , config [ 'db' ] , config [ 'user' ] , config [ 'passwd' ] , config [ 'name' ] , obj_id = v_id , obj_type = 'vistrail' , connection_id = config . get ( 'id' , None ) ) #NEWLINE# import vistrails.gui.application #NEWLINE# app = vistrails . gui . application . get_vistrails_application ( ) #NEWLINE# open_vistrail = app . builderWindow . open_vistrail_without_prompt #NEWLINE# args = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# args [ 'version' ] = ( version_name if version_name else v_version ) #NEWLINE# open_vistrail ( locator , ** args )