Changes in / [2510b9b:11b094f] in sasview


Ignore:
Location:
src/sas/sasgui/perspectives/fitting
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r9e0aa69a re92a352  
    5555class BasicPage(ScrolledPanel, PanelBase): 
    5656    """ 
    57     This class provide general structure of fitpanel page 
     57    This class provide general structure of the fitpanel page 
    5858    """ 
    5959    # Internal name for the AUI manager 
     
    677677    def _copy_info(self, flag): 
    678678        """ 
    679         Send event dpemding on flag 
    680  
    681         : Param flag: flag that distinguish event 
     679        Send event depending on flag 
     680 
     681        : Param flag: flag that distinguishes the event 
    682682        """ 
    683683        # messages depending on the flag 
     
    11191119        :precondition: the page is already drawn or created 
    11201120 
    1121         :postcondition: the state of the underlying data change as well as the 
     1121        :postcondition: the state of the underlying data changes as well as the 
    11221122            state of the graphic interface 
    11231123        """ 
     
    13351335    def _selectDlg(self): 
    13361336        """ 
    1337         open a dialog file to selected the customized dispersity 
     1337        open a dialog file to select the customized polydispersity function 
    13381338        """ 
    13391339        if self.parent is not None: 
     
    17601760    def _set_multfactor_combobox(self, multiplicity=10): 
    17611761        """ 
    1762         Set comboBox for muitfactor of CoreMultiShellModel 
     1762        Set comboBox for multitfactor of CoreMultiShellModel 
    17631763        :param multiplicit: no. of multi-functionality 
    17641764        """ 
     
    17981798        Fill panel's combo box according to the type of model selected 
    17991799        """ 
    1800         custom_model = 'Customized Models' 
     1800        custom_model = 'Plugin Models' 
    18011801        mod_cat = self.categorybox.GetStringSelection() 
    18021802        self.structurebox.SetSelection(0) 
     
    34533453        fills out the category list box 
    34543454        """ 
    3455         uncat_str = 'Customized Models' 
     3455        uncat_str = 'Plugin Models' 
    34563456        self._read_category_info() 
    34573457 
     
    34823482        self.model_box.Clear() 
    34833483 
    3484         if category == 'Customized Models': 
     3484        if category == 'Plugin Models': 
    34853485            for model in self.model_list_box[category]: 
    34863486                str_m = str(model).split(".")[0] 
  • src/sas/sasgui/perspectives/fitting/fitting.py

    r73cbeec re92a352  
    225225 
    226226        self.id_edit = wx.NewId() 
    227         editmodel_help = "Edit customized model sample file" 
    228227        self.menu1.AppendMenu(self.id_edit, "Plugin Model Operations", 
    229                               self.edit_model_menu, editmodel_help) 
     228                              self.edit_model_menu) 
    230229        #create  menubar items 
    231230        return [(self.menu1, self.sub_menu)] 
     
    260259            self.update_custom_combo() 
    261260            if os.path.isfile(p_path): 
    262                 msg = "Sorry! Could not be able to delete the default " 
    263                 msg += "custom model... \n" 
     261                msg = "Sorry! unable to delete the default " 
     262                msg += "plugin model... \n" 
    264263                msg += "Please manually remove the files (.py, .pyc) " 
    265264                msg += "in the 'plugin_models' folder \n" 
     
    274273                    if item.GetLabel() == label: 
    275274                        self.edit_menu.DeleteItem(item) 
    276                         msg = "The custom model, %s, has been deleted." % label 
     275                        msg = "The plugin model, %s, has been deleted." % label 
    277276                        evt = StatusEvent(status=msg, type='stop', info='info') 
    278277                        wx.PostEvent(self.parent, evt) 
     
    331330            temp = self.fit_panel.reset_pmodel_list() 
    332331            if temp: 
    333                 # Set the new custom model list for all fit pages 
     332                # Set the new plugin model list for all fit pages 
    334333                for uid, page in self.fit_panel.opened_pages.iteritems(): 
    335334                    if hasattr(page, "formfactorbox"): 
  • src/sas/sasgui/perspectives/fitting/models.py

    r0de74af re92a352  
    325325                    self.plugins.append(plug) 
    326326                    self.model_dictionary[name] = plug 
    327             self.model_combobox.set_list("Customized Models", self.plugins) 
     327            self.model_combobox.set_list("Plugin Models", self.plugins) 
    328328            return self.model_combobox.get_list() 
    329329        else: 
     
    346346            self.model_dictionary[name] = plug 
    347347 
    348         self.model_combobox.reset_list("Customized Models", self.plugins) 
     348        self.model_combobox.reset_list("Plugin Models", self.plugins) 
    349349        return self.model_combobox.get_list() 
    350350 
     
    389389#                                     self.shape_indep_list) 
    390390        self.model_combobox.set_list("Structure Factors", self.struct_list) 
    391         self.model_combobox.set_list("Customized Models", self.plugins) 
     391        self.model_combobox.set_list("Plugin Models", self.plugins) 
    392392        self.model_combobox.set_list("P(Q)*S(Q)", self.multiplication_factor) 
    393393        self.model_combobox.set_list("multiplication", 
Note: See TracChangeset for help on using the changeset viewer.