Ignore:
Timestamp:
Feb 5, 2017 10:47:14 PM (7 years ago)
Author:
butler
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
11b094f
Parents:
2ab9c432
Message:

replace "Customized Models" with Plugin Models in category lists.
However category manager remains unaware of plugins. Unlike built ins,
plugins list needs to be constantly updated.

File:
1 edited

Legend:

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

    r505706a 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 
     
    11161116        :precondition: the page is already drawn or created 
    11171117 
    1118         :postcondition: the state of the underlying data change as well as the 
     1118        :postcondition: the state of the underlying data changes as well as the 
    11191119            state of the graphic interface 
    11201120        """ 
     
    13421342    def _selectDlg(self): 
    13431343        """ 
    1344         open a dialog file to selected the customized dispersity 
     1344        open a dialog file to select the customized polydispersity function 
    13451345        """ 
    13461346        if self.parent is not None: 
     
    17641764    def _set_multfactor_combobox(self, multiplicity=10): 
    17651765        """ 
    1766         Set comboBox for muitfactor of CoreMultiShellModel 
     1766        Set comboBox for multitfactor of CoreMultiShellModel 
    17671767        :param multiplicit: no. of multi-functionality 
    17681768        """ 
     
    18021802        Fill panel's combo box according to the type of model selected 
    18031803        """ 
    1804         custom_model = 'Customized Models' 
     1804        custom_model = 'Plugin Models' 
    18051805        mod_cat = self.categorybox.GetStringSelection() 
    18061806        self.structurebox.SetSelection(0) 
     
    34573457        fills out the category list box 
    34583458        """ 
    3459         uncat_str = 'Customized Models' 
     3459        uncat_str = 'Plugin Models' 
    34603460        self._read_category_info() 
    34613461 
     
    34863486        self.model_box.Clear() 
    34873487 
    3488         if category == 'Customized Models': 
     3488        if category == 'Plugin Models': 
    34893489            for model in self.model_list_box[category]: 
    34903490                str_m = str(model).split(".")[0] 
Note: See TracChangeset for help on using the changeset viewer.