exopy.app.states.plugin module

State plugin definition.

class exopy.app.states.plugin.StatePlugin[source]

Bases: enaml.workbench.plugin.Plugin

A plugin to manage application wide available states.

start()[source]

Start the plugin life-cycle.

stop()[source]

Stop the plugin life-cycle.

This method is called by the framework at the appropriate time. It should never be called by user code.

get_state(state_id)[source]

Return the state associated to the given id.