hibtc / madgui-old

[OBSOLETE] GUI for accelerator simulations using MAD-X
MIT License
1 stars 0 forks source link

reuse model for multiple views #17

Closed coldfix closed 10 years ago

coldfix commented 10 years ago

At the moment a new view is always associated with a new model instance. This means views never share common updates of parameters. When introducing multiple types of views (envelopes, x/y, possibly more?) it will be nice to have multiple views for the same model.

coldfix commented 10 years ago

Any new view created can now subscribe to the 'madgui.component.model.show' event, see #2.