#NEWLINE# def showItem( self , item , col ) : #NEWLINE# #INDENT# ( v_name , v_id , log_id , v_version , version_name , e_id , ts_start , ts_end , user , completed , thumb ) = item . wf_exec #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' , workflow_exec = ts_start , 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# workflow_exec = locator . kwargs . get ( 'workflow_exec' , None ) #NEWLINE# args = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if workflow_exec : #NEWLINE# #INDENT# args [ 'workflow_exec' ] = workflow_exec #NEWLINE# #UNINDENT# args [ 'version' ] = ( version_name if version_name else v_version ) #NEWLINE# open_vistrail ( version_name , ** args )