Changeset f7e9af2 in sasview
- Timestamp:
- Apr 19, 2011 2:55:35 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:
- a9e489c
- Parents:
- 512bbd0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r7ad8faa rf7e9af2 205 205 self.panel_on_focus = event.panel 206 206 panel_name = 'No panel on focus' 207 application_name = 'No Selected A pplication'207 application_name = 'No Selected Analysis' 208 208 if self.panel_on_focus is not None: 209 209 for ID in self.panels.keys(): … … 665 665 """ 666 666 """ 667 application_name = 'No Selected A pplication'667 application_name = 'No Selected Analysis' 668 668 panel_name = 'No Panel on Focus' 669 669 if self._toolbar is None: … … 750 750 if hasattr(item, "help"): 751 751 id = wx.NewId() 752 self._help_menu.Append(id,'&%s help' % item.sub_menu, '')752 self._help_menu.Append(id,'&%s Help' % item.sub_menu, '') 753 753 wx.EVT_MENU(self, id, item.help) 754 754 if config._do_aboutbox: … … 843 843 844 844 self._applications_menu.InsertCheckItem(pos, id, plug.sub_menu, 845 "Switch to a pplication: %s" % plug.sub_menu)845 "Switch to analysis: %s" % plug.sub_menu) 846 846 plug_data_count = True 847 847 pos += 1 … … 849 849 plug_no_data_count = True 850 850 self._applications_menu.AppendCheckItem(id, plug.sub_menu, 851 "Switch to a pplication: %s" % plug.sub_menu)851 "Switch to analysis: %s" % plug.sub_menu) 852 852 wx.EVT_MENU(self, id, plug.on_perspective) 853 853 #self._applications_menu. 854 854 if (not plug_data_count or not plug_no_data_count): 855 855 self._applications_menu.RemoveItem(separator) 856 self._menubar.Append(self._applications_menu, '&A pplication')856 self._menubar.Append(self._applications_menu, '&Analysis') 857 857 self._check_applications_menu() 858 858 … … 867 867 style1 = self.__gui_style & GUIFRAME.MULTIPLE_APPLICATIONS 868 868 if style == GUIFRAME.DATALOADER_ON: 869 id = wx.NewId() 870 hint_load_file = "read all analysis states save previously" 871 self._save_appl_menu = self._file_menu.Append(id, 872 '&Open Project', hint_load_file) 873 wx.EVT_MENU(self, id, self._on_open_state_project) 874 869 875 if style1 == GUIFRAME.MULTIPLE_APPLICATIONS: 870 876 # some menu of plugin to be seen under file menu 871 hint_load_file = "Read state's files and load"872 hint_load_file += " them into the a pplication"877 hint_load_file = "Read a status files and load" 878 hint_load_file += " them into the analysis" 873 879 id = wx.NewId() 874 880 self._save_appl_menu = self._file_menu.Append(id, 875 '& Load Application', hint_load_file)881 '&Open Analysis', hint_load_file) 876 882 wx.EVT_MENU(self, id, self._on_open_state_application) 877 883 884 self._file_menu.AppendSeparator() 878 885 id = wx.NewId() 879 hint_load_file = "read all applications states save previously" 880 self._save_appl_menu = self._file_menu.Append(id, 881 '&Load Project', hint_load_file) 882 wx.EVT_MENU(self, id, self._on_open_state_project) 883 886 self._file_menu.Append(id, '&Save Project', 887 'Save the state of the whole analysis') 888 889 wx.EVT_MENU(self, id, self._on_save_project) 884 890 if style1 == GUIFRAME.MULTIPLE_APPLICATIONS: 885 self._file_menu.AppendSeparator()891 #self._file_menu.AppendSeparator() 886 892 id = wx.NewId() 887 893 self._save_appl_menu = self._file_menu.Append(id, 888 '&Save A pplication',889 'Save state of the current active application')894 '&Save Analysis', 895 'Save state of the current active analysis panel') 890 896 wx.EVT_MENU(self, id, self._on_save_application) 891 id = wx.NewId() 892 self._file_menu.Append(id, '&Save Project', 893 'Save the state of the whole application') 894 wx.EVT_MENU(self, id, self._on_save_project) 897 895 898 self._file_menu.AppendSeparator() 896 899 … … 1624 1627 """ 1625 1628 self._current_perspective = perspective 1626 name = "No current Applicationselected"1629 name = "No current analysis selected" 1627 1630 if self._current_perspective is not None: 1628 1631 self._add_current_plugin_menu() -
sansview/perspectives/fitting/fitting.py
re58c280 rf7e9af2 135 135 self.menu1.Append(id1, '&Simultaneous Fit',simul_help) 136 136 wx.EVT_MENU(owner, id1, self.on_add_sim_page) 137 138 self.menu1.AppendSeparator() 137 139 138 140 id1 = wx.NewId()
Note: See TracChangeset
for help on using the changeset viewer.