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
Nathan Sobo
85d6689344
Merge pull request #4305 from atom/ns-add-legacy-panel-classes
...
Add legacy panel classes for theme support
2014-11-25 07:43:17 -07:00
Max Brunsfeld
0abd25ad6f
Fix ordering of panels in panel containers
...
An off-by-one error caused new panels to be inserted later
in the document than intended.
2014-11-24 17:29:31 -08:00
Nathan Sobo
dda2b2e893
Don’t apply ‘tool-panel’ class to modal panels
2014-11-24 16:46:47 -07:00
Nathan Sobo
73763d3e41
Add legacy panel classes to support old theme selectors
...
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2014-11-24 16:37:37 -07:00
Ben Ogle
1b85810735
Use classes rather than location attributes
2014-11-17 16:07:53 -08:00
Ben Ogle
9458db0c1f
Fix issue removing panels
2014-11-05 15:37:47 -08:00
Ben Ogle
5bd028b24e
Enforce modal
2014-11-04 14:58:00 -08:00
Ben Ogle
8485831f40
Add the location attr. Need it for styling!
2014-11-04 14:22:15 -08:00
Ben Ogle
da30b66ffa
Fix tests
2014-11-04 14:10:58 -08:00
Ben Ogle
5683491029
Rename custom element so as not to clash
2014-10-16 17:30:54 -07:00
Ben Ogle
4ca630a7da
orientation -> location
2014-10-16 16:54:08 -07:00
Ben Ogle
52c05eade7
Render proper atom-panels as children of containers
2014-10-16 16:48:56 -07:00
Ben Ogle
83e5873f3b
Panel containers have the orientation
2014-10-16 16:16:49 -07:00
Ben Ogle
5c2e55861c
Add panel containers
2014-10-16 15:33:28 -07:00