Example #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
Example #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()
Example #3
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()
Example #4
0
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