Ubuntu.Components.ActionManager

ActionManager manages actions and action contexts withion an application. More...

Import Statement: import Ubuntu.Components 1.3
  • Obsolete members

Properties

Detailed Description

Acts as an interface between the application and external components. Maintains the global context action registration.

There can be many ActionManager instances in an application, and all instances will have the ActionContexts shared between each other. If individual ActionManager instances add more Action objects, those will be published as well.

Property Documentation

[default] actions : list<Action>

A list of actions in the global context.


globalContext : ActionContext

The globalContext of the Application.

Note: Setting the ActionContext::active on the global context has no effect.


localContexts : list<ActionContext>

List of local contexts.