Changeset cab076b in sasview
- Timestamp:
- Feb 1, 2011 7:52:17 PM (14 years ago)
- 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:
- a9c4034
- Parents:
- 7bc88bf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r0912feab rcab076b 118 118 logging.info("Fitting plug-in started") 119 119 120 def populate_menu(self, id,owner):120 def populate_menu(self, owner): 121 121 """ 122 122 Create a menu for the Fitting plug-in … … 151 151 wx.EVT_MENU(owner, id1, self.on_add_sim_page) 152 152 153 #menu for model154 menu2 = wx.Menu()155 self.menu_mng.populate_menu(menu2, owner)156 id2 = wx.NewId()157 owner.Bind(models.EVT_MODEL,self._on_model_menu)158 159 153 self.fit_panel.set_owner(owner) 160 154 self.fit_panel.set_model_list(self.menu_mng.get_model_list()) 161 155 162 156 #create menubar items 163 return [( id,self.menu1, "Fitting")]157 return [(self.menu1, "Fitting")] 164 158 165 159 def on_add_sim_page(self, event): … … 167 161 Create a page to access simultaneous fit option 168 162 """ 169 Plugin.on_perspective(self,event=event)170 163 if self.sim_page != None: 171 164 msg= "Simultaneous Fit page already opened" … … 952 945 set engine to park 953 946 """ 954 Plugin.on_perspective(self,event=event)955 947 self._on_change_engine('park') 956 948
Note: See TracChangeset
for help on using the changeset viewer.