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.
This commit is contained in:
Nathan Sobo
2014-11-30 14:47:51 -07:00
committed by Max Brunsfeld
parent b635fa0c97
commit 4591f00a65
19 changed files with 98 additions and 127 deletions

View File

@@ -53,9 +53,6 @@ class Pane extends Model
params.activeItem = find params.items, (item) -> item.getUri?() is activeItemUri
params
getView: (object) ->
@container.getView(object)
getParent: -> @parent
setParent: (@parent) -> @parent