Commit Graph

7 Commits

Author SHA1 Message Date
Antonio Scandurra
e9cda3ea5c Don't use atom.views global in PanelElement 2015-10-07 15:25:00 -05:00
Nathan Sobo
9a9347e3a5 Simplify ViewRegistry::addViewProvider API
It now takes two arguments, a model constructor and a create view
callback that is passed the model.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2014-12-01 17:53:03 -08:00
Max Brunsfeld
e4bcb96dcc Change ::setModel to ::initialize on all element classes 2014-12-01 17:52:19 -08:00
Nathan Sobo
4591f00a65 Remove view registry references from the workspace model layer
Removed various ::getView methods from the model. Using the atom.views
global in the views for now, but going to switch them over to using a
locally assigned view registry instead in a subsequent commit.
2014-12-01 16:28:33 -08:00
Ben Ogle
9b1d5e1864 Add addModalPanel to atom.workspace. 2014-11-04 13:48:48 -08:00
Ben Ogle
2ac1862e5f Remove toHide matcher. 2014-10-20 12:12:21 -07:00
Ben Ogle
f0fd7c2682 Add hide/show ability for panels 2014-10-16 17:32:24 -07:00