Beispiel #1
0
def get_break_points_view(window, **traits):
    from etsdevtools.developer.helper.fbi import Breakpoints
    return TraitsUIView(id='etsdevtools.developer.helper.fbi.break_points',
                        obj=Breakpoints(),
                        name='Break Points',
                        window=window,
                        **traits)
Beispiel #2
0
    def _create_plot2d_view(self, **traits):
        """ Factory method for the plot2D view. """

        from acme.lorenz.api import Lorenz, Plot2DView

        plot2d_view = TraitsUIView(
            id='lorenz.plot2d',
            name='Plot 2D',
            obj=Plot2DView(lorenz=self.application.get_service(Lorenz)),
            **traits)

        return plot2d_view
Beispiel #3
0
    def _create_data_view(self, **traits):
        """ Factory method for the data view. """

        from acme.lorenz.api import DataView, Lorenz

        data_view = TraitsUIView(
            id='lorenz.data',
            name='Data',
            obj=DataView(lorenz=self.application.get_service(Lorenz)),
            **traits)

        return data_view
Beispiel #4
0
def get_syntax_checker_view(window, **traits):
    return TraitsUIView(id=ID + '.syntax_checker',
                        obj=SyntaxChecker(),
                        name='Syntax Checker',
                        window=window,
                        **traits)
Beispiel #5
0
def get_file_browser_view(window, **traits):
    return TraitsUIView(id=ID + '.file_browser',
                        obj=FileBrowser(),
                        name='File Browser',
                        window=window,
                        **traits)
Beispiel #6
0
def get_file_space_view(window, **traits):
    return TraitsUIView(id=ID + '.file_space',
                        obj=FileSpace(),
                        name='File Space',
                        window=window,
                        **traits)
Beispiel #7
0
def get_ui_debugger_view(window, **traits):
    return TraitsUIView(id=ID + '.ui_debugger',
                        obj=UIDebugger(),
                        name='UI Debugger',
                        window=window,
                        **traits)
Beispiel #8
0
def get_favorites_browser_view(window, **traits):
    return TraitsUIView(id=ID + '.favorites_browser',
                        obj=FavoritesBrowser(),
                        name='Favorites Browser',
                        window=window,
                        **traits)
Beispiel #9
0
def get_class_browser_view(window, **traits):
    return TraitsUIView(id=ID + '.class_browser',
                        obj=ClassBrowser(),
                        name='Class Browser',
                        window=window,
                        **traits)
Beispiel #10
0
def get_traits_ui_db_view(window, **traits):
    return TraitsUIView(id=ID + '.traits_ui_db',
                        obj=TraitsUIDB(),
                        name='Traits UI DB',
                        window=window,
                        **traits)
Beispiel #11
0
def get_view_tester_view(window, **traits):
    return TraitsUIView(id=ID + '.view_tester',
                        obj=ViewTester(),
                        name='View Tester',
                        window=window,
                        **traits)
Beispiel #12
0
def get_browser_view(window, **traits):
    return TraitsUIView(id=ID + '.envisage_browser.browser',
                        obj=ApplicationBrowser(),
                        name='Envisage Browser',
                        window=window,
                        **traits)
Beispiel #13
0
def get_profile_viewer_view(window, **traits):
    return TraitsUIView(id=ID + '.profile_viewer',
                        obj=ProfileViewer(),
                        name='Profile Viewer',
                        window=window,
                        **traits)
Beispiel #14
0
def get_object_viewer_view(window, **traits):
    return TraitsUIView(id=ID + '.object_viewer',
                        obj=ObjectViewer(),
                        name='Object Viewer',
                        window=window,
                        **traits)
Beispiel #15
0
def get_listener_view(window, **traits):
    return TraitsUIView(id=ID + '.listener',
                        obj=Listener(),
                        name='Listener',
                        window=window,
                        **traits)
Beispiel #16
0
def get_wiretap_view(window, **traits):
    return TraitsUIView(id=ID + '.wiretap',
                        obj=Wiretap(),
                        name='Wiretap',
                        window=window,
                        **traits)
Beispiel #17
0
def get_logger_view(window, **traits):
    return TraitsUIView(id=ID + '.logger',
                        obj=Logger(),
                        name='Logger',
                        window=window,
                        **traits)
Beispiel #18
0
def get_app_monitor_view(window, **traits):
    return TraitsUIView(id=ID + '.app_monitor',
                        obj=AppMonitor(),
                        name='Application Monitor',
                        window=window,
                        **traits)
Beispiel #19
0
def get_traceback_viewer_view(window, **traits):
    return TraitsUIView(id=ID + '.traceback_viewer',
                        obj=TracebackViewer(),
                        name='Traceback Viewer',
                        window=window,
                        **traits)
Beispiel #20
0
def get_universal_inspector_view(window, **traits):
    return TraitsUIView(id=ID + '.universal_inspector',
                        obj=UniversalInspector(),
                        name='Universal Inspector',
                        window=window,
                        **traits)
Beispiel #21
0
def get_object_source_view(window, **traits):
    return TraitsUIView(id=ID + '.object_source',
                        obj=ObjectSource(),
                        name='Object Source',
                        window=window,
                        **traits)
Beispiel #22
0
def get_fbi_viewer_view(window, **traits):
    return TraitsUIView(id=ID + '.fbi_viewer',
                        obj=FBIViewer(),
                        name='FBI Viewer',
                        window=window,
                        **traits)