opencor/opencor — Issue #48: Have the menus reflect the view in which we are
Author: agarny
Created: 2012-02-29 02:53:09+00:00
State: open
Labels: Feature, GUI

Depending on the view in which we are (e.g. the "Raw CellML" view in the editing mode or the "Single cell simulation" view in the simulation mode), the menus should reflect the view in which we are. The reasoning for this is that menus used in an editing view will be of no relevance to a simulation view, and vice versa.

Some plugins have a dependency on other plugins. For example, the "Raw CellML view" has a dependency on the CoreCellMLEditing plugin which itself has a dependency on the CoreEditing plugin. The CoreEditing plugin will ideally offer menus that are relevant to any editing view while the CoreCellMLEditing plugin will offer menus that are relevant to any CellML-related editing view. So, when switching to the "Raw CellML" view, we have to take those dependencies into account.