#NEWLINE# def setupDefinedVariableAxes( self , cdmsFile , var , tabName ) : #NEWLINE# #INDENT# ' Create a new axis list and tab with the specified tab name and setup\n        the axis list.  Initialize the vistrails Variable module associated with\n        the tab and variable.\n        ' #NEWLINE# if ( var is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# axisList = QAxisList ( cdmsFile , var , self ) #NEWLINE# axisList . setupVariableAxes ( ) #NEWLINE# self . updateVarInfo ( axisList ) #NEWLINE# self . tabWidget . createNewTab ( axisList , tabName ) #NEWLINE# if ( axisList == 'quickplot' ) : #NEWLINE# #INDENT# self . emit ( QtCore . SIGNAL ( 'createModule' ) , quickplot_name , quickplot_name . lower ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . emit ( QtCore . SIGNAL ( 'createModule' ) , variable_name , tabName ) #NEWLINE# #UNINDENT# self . emit ( QtCore . SIGNAL ( 'updateModule' ) , tabName , 'id' , var . id ) #NEWLINE# self . emit ( QtCore . SIGNAL ( 'updateModule' ) , tabName , 'axes' , str ( self . generateKwArgs ( ) ) ) #NEWLINE# self . emit ( QtCore . SIGNAL ( 'updateModule' ) , tabName , 'axesOperations' , str ( axisList . getAxesOperations ( ) ) )