Changeset 1610976 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Feb 4, 2010 12:34:31 PM (15 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
c363d74
Parents:
629e8b9
Message:

add a new method to plugin for fitting.perspective

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitting.py

    r9455d77 r1610976  
    243243        #Send the fitting panel to guiframe 
    244244        self.mypanels.append(self.fit_panel) 
     245        
    245246        return self.mypanels 
    246247 
     
    262263        self.parent.set_perspective(self.perspective) 
    263264    
     265    def set_default_perspective(self): 
     266        """ 
     267           Call back method that True to notify the parent that the current plug-in 
     268           can be set as default  perspective. 
     269           when returning False, the plug-in is not candidate for an automatic  
     270           default perspective setting 
     271        """ 
     272        return True 
     273     
    264274    def post_init(self): 
    265275        """ 
Note: See TracChangeset for help on using the changeset viewer.