Ignore:
Timestamp:
Feb 22, 2016 7:04:24 AM (8 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
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:
06aaa75d
Parents:
d7bb526
Message:

Remaining modules refactored

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/gui_manager.py

    rb699768 rd85c194  
    2929import json 
    3030 
    31 from sas.guiframe.events import EVT_CATEGORY 
    32 from sas.guiframe.events import EVT_STATUS 
    33 from sas.guiframe.events import EVT_APPEND_BOOKMARK 
    34 from sas.guiframe.events import EVT_PANEL_ON_FOCUS 
    35 from sas.guiframe.events import EVT_NEW_LOAD_DATA 
    36 from sas.guiframe.events import EVT_NEW_COLOR 
    37 from sas.guiframe.events import StatusEvent 
    38 from sas.guiframe.events import NewPlotEvent 
    39 from sas.guiframe.gui_style import GUIFRAME 
    40 from sas.guiframe.gui_style import GUIFRAME_ID 
    41 from sas.guiframe.data_panel import DataPanel 
    42 from sas.guiframe.panel_base import PanelBase 
    43 from sas.guiframe.gui_toolbar import GUIToolBar 
    44 from sas.guiframe.data_processor import GridFrame 
    45 from sas.guiframe.events import EVT_NEW_BATCH 
    46 from sas.guiframe.CategoryManager import CategoryManager 
     31from sas.sasgui.guiframe.events import EVT_CATEGORY 
     32from sas.sasgui.guiframe.events import EVT_STATUS 
     33from sas.sasgui.guiframe.events import EVT_APPEND_BOOKMARK 
     34from sas.sasgui.guiframe.events import EVT_PANEL_ON_FOCUS 
     35from sas.sasgui.guiframe.events import EVT_NEW_LOAD_DATA 
     36from sas.sasgui.guiframe.events import EVT_NEW_COLOR 
     37from sas.sasgui.guiframe.events import StatusEvent 
     38from sas.sasgui.guiframe.events import NewPlotEvent 
     39from sas.sasgui.guiframe.gui_style import GUIFRAME 
     40from sas.sasgui.guiframe.gui_style import GUIFRAME_ID 
     41from sas.sasgui.guiframe.data_panel import DataPanel 
     42from sas.sasgui.guiframe.panel_base import PanelBase 
     43from sas.sasgui.guiframe.gui_toolbar import GUIToolBar 
     44from sas.sasgui.guiframe.data_processor import GridFrame 
     45from sas.sasgui.guiframe.events import EVT_NEW_BATCH 
     46from sas.sasgui.guiframe.CategoryManager import CategoryManager 
    4747from sas.sascalc.dataloader.loader import Loader 
    48 from sas.guiframe.proxy import Connection 
     48from sas.sasgui.guiframe.proxy import Connection 
    4949from matplotlib import _pylab_helpers 
    5050 
     
    121121    if config is None: 
    122122        # Didn't find local config, load the default 
    123         import sas.guiframe.config as config 
     123        import sas.sasgui.guiframe.config as config 
    124124        logging.info("using default local_config") 
    125125    else: 
     
    128128    logging.info("found local_config in %s" % PATH_APP) 
    129129 
    130 from sas.guiframe.customdir  import SetupCustom 
     130from sas.sasgui.guiframe.customdir  import SetupCustom 
    131131c_conf_dir = SetupCustom().setup_dir(PATH_APP) 
    132132custom_config = _find_local_config('custom_config', c_conf_dir) 
     
    312312        #data manager 
    313313        self.batch_on = False 
    314         from sas.guiframe.data_manager import DataManager 
     314        from sas.sasgui.guiframe.data_manager import DataManager 
    315315        self._data_manager = DataManager() 
    316316        self._data_panel = None#DataPanel(parent=self) 
     
    814814        """ 
    815815        # Status bar 
    816         from sas.guiframe.gui_statusbar import StatusBar 
     816        from sas.sasgui.guiframe.gui_statusbar import StatusBar 
    817817        self.sb = StatusBar(self, wx.ID_ANY) 
    818818        self.SetStatusBar(self.sb) 
     
    869869        if style1 == GUIFRAME.DATALOADER_ON: 
    870870            try: 
    871                 from sas.guiframe.local_perspectives.data_loader import data_loader 
     871                from sas.sasgui.guiframe.local_perspectives.data_loader import data_loader 
    872872                self._data_plugin = data_loader.Plugin() 
    873873                plugins.append(self._data_plugin) 
     
    878878        if style2 == GUIFRAME.PLOTTING_ON: 
    879879            try: 
    880                 from sas.guiframe.local_perspectives.plotting import plotting 
     880                from sas.sasgui.guiframe.local_perspectives.plotting import plotting 
    881881                self._plotting_plugin = plotting.Plugin() 
    882882                plugins.append(self._plotting_plugin) 
     
    14531453        Build a panel to allow to edit Mask 
    14541454        """ 
    1455         from sas.guiframe.startup_configuration \ 
     1455        from sas.sasgui.guiframe.startup_configuration \ 
    14561456        import StartupConfiguration as ConfDialog 
    14571457 
     
    21232123        """ 
    21242124        if config._do_acknowledge: 
    2125             import sas.guiframe.acknowledgebox as AcknowledgeBox 
     2125            import sas.sasgui.guiframe.acknowledgebox as AcknowledgeBox 
    21262126            dialog = AcknowledgeBox.DialogAcknowledge(None, -1, "") 
    21272127            dialog.ShowModal() 
     
    21352135        """ 
    21362136        if config._do_aboutbox: 
    2137             import sas.guiframe.aboutbox as AboutBox 
     2137            import sas.sasgui.guiframe.aboutbox as AboutBox 
    21382138            dialog = AboutBox.DialogAbout(None, -1, "") 
    21392139            dialog.ShowModal() 
     
    21502150            if IS_WIN: 
    21512151                try: 
    2152                     from sas.guiframe.pdfview import PDFFrame 
     2152                    from sas.sasgui.guiframe.pdfview import PDFFrame 
    21532153                    dialog = PDFFrame(None, -1, "Tutorial", path) 
    21542154                    # put icon 
     
    23622362            else: 
    23632363                #if not append then new plot 
    2364                 from sas.guiframe.dataFitting import Data2D 
     2364                from sas.sasgui.guiframe.dataFitting import Data2D 
    23652365                if issubclass(Data2D, new_plot.__class__): 
    23662366                    #for 2 D always plot in a separated new plot 
     
    33953395                                   parent=parent, 
    33963396                                   id=wx.ID_ANY) 
    3397         from sas.guiframe.gui_statusbar import SPageStatusbar 
     3397        from sas.sasgui.guiframe.gui_statusbar import SPageStatusbar 
    33983398        statusBar = SPageStatusbar(s_screen) 
    33993399        s_screen.SetStatusBar(statusBar) 
Note: See TracChangeset for help on using the changeset viewer.