Changeset 35f2f49 in sasview


Ignore:
Timestamp:
Feb 2, 2011 3:54:16 PM (14 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:
0769202
Parents:
c8deee5
Message:

working on invariant save state

Location:
invariantview/perspectives/invariant
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • invariantview/perspectives/invariant/invariant.py

    r8f7936f r35f2f49  
    4545        #default state objects 
    4646        self.state_reader = None  
     47        self._extensions = '.inv' 
    4748        self.temp_state = None  
    4849        self.__data = None  
     
    5152        logging.info("Invariant plug-in started") 
    5253        
    53    
    5454    def help(self, evt): 
    5555        """ 
     
    6060        frame.Show(True) 
    6161         
     62    def get_data(self): 
     63        """ 
     64        """ 
     65        return self.__data 
     66     
    6267    def get_panels(self, parent): 
    6368        """ 
  • invariantview/perspectives/invariant/invariant_panel.py

    rf1e06a8e r35f2f49  
    119119                                                      type="stop"))  
    120120        return flag 
     121     
     122    def get_data(self): 
     123        """ 
     124        """ 
     125        return self._manager.get_data() 
     126     
     127    def get_state(self): 
     128        """ 
     129        """ 
     130        return self.state 
    121131     
    122132    def set_data(self, data): 
Note: See TracChangeset for help on using the changeset viewer.