Changeset ec72ceb in sasview
- Timestamp:
- Oct 10, 2016 1:28:08 PM (8 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 68669da
- Parents:
- 13f5656
- Location:
- src/sas/sasgui/perspectives
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
r9501661 rec72ceb 70 70 71 71 This Dialog pops up for the user when they press 'Sum|Multi(p1,p2)' under 72 ' Edit Custom Model' under 'Fitting' menu. This is currently called as72 'Plugin Model Operations' under 'Fitting' menu. This is currently called as 73 73 a Modal Dialog. 74 74 -
src/sas/sasgui/perspectives/calculator/pyconsole.py
r0912b405 rec72ceb 103 103 window_name = "Custom Model Editor" 104 104 ## Name to appear on the window title bar 105 window_caption = " CustomModel Editor"105 window_caption = "Plugin Model Editor" 106 106 ## Flag to tell the AUI manager to put this panel in the center pane 107 107 CENTER_PANE = False -
src/sas/sasgui/perspectives/fitting/fitting.py
rbc7b5da2 rec72ceb 221 221 self.id_edit = wx.NewId() 222 222 editmodel_help = "Edit customized model sample file" 223 self.menu1.AppendMenu(self.id_edit, " Edit Custom Model",223 self.menu1.AppendMenu(self.id_edit, "Plugin Model Operations", 224 224 self.edit_model_menu, editmodel_help) 225 225 #create menubar items … … 236 236 frame = PyConsole(parent=self.parent, manager=self, 237 237 panel=self.fit_panel, 238 title='Advanced CustomModel Editor',238 title='Advanced Plugin Model Editor', 239 239 filename=filename) 240 240 self.put_icon(frame) … … 302 302 event_id = event.GetId() 303 303 dir_path = models.find_plugins_dir() 304 title = "New CustomModel Function"304 title = "New Plugin Model Function" 305 305 self.new_model_frame = EditorWindow(parent=self, base=self, 306 306 path=dir_path, title=title) … … 319 319 Update custom model list in the fitpage combo box 320 320 """ 321 custom_model = ' CustomizedModels'321 custom_model = 'Plugin Models' 322 322 try: 323 323 # Update edit menus … … 350 350 wx_id = wx.NewId() 351 351 #new_model_menu = wx.Menu() 352 self.edit_model_menu.Append(wx_id, 'New ',352 self.edit_model_menu.Append(wx_id, 'New Plugin Model', 353 353 'Add a new model function') 354 354 wx.EVT_MENU(owner, wx_id, self.make_new_model) … … 362 362 self.edit_menu = wx.Menu() 363 363 self.edit_model_menu.AppendMenu(e_id, 364 'Advanced ', self.edit_menu)364 'Advanced Plugin Editor', self.edit_menu) 365 365 self.set_edit_menu_helper(owner, self.edit_custom_model) 366 366 … … 368 368 self.delete_menu = wx.Menu() 369 369 self.edit_model_menu.AppendMenu(d_id, 370 'Delete ', self.delete_menu)370 'Delete Plugin Models', self.delete_menu) 371 371 self.set_edit_menu_helper(owner, self.delete_custom_model) 372 372 373 373 wx_id = wx.NewId() 374 self.edit_model_menu.Append(wx_id, 'Load Models',374 self.edit_model_menu.Append(wx_id, 'Load Plugin Models', 375 375 '(Re)Load all models present in user plugin_models folder') 376 376 wx.EVT_MENU(owner, wx_id, self.load_plugin_models)
Note: See TracChangeset
for help on using the changeset viewer.