envisage.i_application module

The application interface.

class envisage.i_application.IApplication[source]

Bases: IExtensionRegistry, IImportManager, IPluginManager, IServiceRegistry

The application interface.

home

The name of a directory (created for you) to which the application can read and write non-user accessible data, i.e. configuration information, preferences, etc.

id

The application’s globally unique identifier.

preferences

The root preferences node.

run()[source]

Run the application.

The same as:

if application.start():
    application.stop()
started

Fired when all plugins have been started.

starting

Fired when the application is starting. This is the first thing that happens when the ‘start’ method is called.

stopped

Fired when all plugins have been stopped.

stopping

Fired when the plugin manager is stopping. This is the first thing that happens when the ‘stop’ method is called.

user_data

The name of a directory (created for you upon access) to which the application can read and write user-accessible data, e.g. projects created by the user.