mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
we should have a 10 minute talk about this again.
This commit is contained in:
parent
dda91e39f2
commit
54ef21b353
@ -8,7 +8,8 @@
|
||||
# View hierarchy
|
||||
#
|
||||
# App: has many Windows
|
||||
# Window: has many Panes, contains a Document model
|
||||
# Window: has many Plugins, contains a Document model
|
||||
# Plugin: could have a Pane, or be headless
|
||||
# Pane: has 0 or more Panes
|
||||
#
|
||||
# Model hieerarcy
|
||||
@ -20,14 +21,18 @@ App =
|
||||
activeWindow: null
|
||||
|
||||
class Window
|
||||
panes: []
|
||||
plugins: []
|
||||
document: null
|
||||
activePane: null
|
||||
|
||||
class Pane
|
||||
subPanes: []
|
||||
panes: []
|
||||
window: null
|
||||
activeSubPane: null
|
||||
|
||||
class Document
|
||||
window: null
|
||||
|
||||
class Plugin
|
||||
window: null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user