示例#1
0
def main():
    """ Run the application. """

    # Create an application with the specified plugins.
    acmelab = Acmelab(
        plugins=[CorePlugin(), WorkbenchPlugin(), AcmeWorkbenchPlugin(),]
    )

    # Run it! This starts the application, starts the GUI event loop, and when
    # that terminates, stops the application.
    acmelab.run()

    return
示例#2
0
def run():
    """ The function that starts your application. """

    # We do the imports here because the modules may well be in eggs that get
    # added to the path in 'main'.
    from envisage.api import EggPluginManager
    from acme.acmelab.api import Acmelab

    # Create an application that uses the egg plugin manager to find its
    # plugins.
    acmelab = Acmelab(plugin_manager=EggPluginManager())

    # Run it! This starts the application, starts the GUI event loop, and when
    # that terminates, stops the application.
    return acmelab.run()
示例#3
0
文件: run.py 项目: LRFrank/envisage
def run():
    """ The function that starts your application. """

    # We do the imports here because the modules may well be in eggs that get
    # added to the path in 'main'.
    from envisage.api import EggPluginManager
    from acme.acmelab.api import Acmelab

    # Create an application that uses the egg plugin manager to find its
    # plugins.
    acmelab = Acmelab(plugin_manager=EggPluginManager())

    # Run it! This starts the application, starts the GUI event loop, and when
    # that terminates, stops the application.
    return acmelab.run()
示例#4
0
文件: run.py 项目: LRFrank/envisage
def main():
    """ Run the application. """

    # Create an application with the specified plugins.
    acmelab = Acmelab(
        plugins=[
            CorePlugin(),
            WorkbenchPlugin(),
            AcmeWorkbenchPlugin(),
            DeveloperPlugin(),
            DeveloperUIPlugin()
        ]
    )

    # Run it! This starts the application, starts the GUI event loop, and when
    # that terminates, stops the application.
    acmelab.run()

    return