forked from zim-desktop-wiki/zim-desktop-wiki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
class_diagram.puml
67 lines (51 loc) · 1.34 KB
/
class_diagram.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
@startuml
hide circle
title
Key classes making up the zim application
With emphasis on plugin framework
endtitle
legend right
Default asociation is "1"
endlegend
ZimApplication << singleton >>
PluginManager << singleton >>
ConfigManager << singleton >>
MainWindow << extendable >>
PageView << extendable >>
NotebookView << extendable >>
Notebook << extendable >>
InsertedObjectTypeMap << extendable >>
NotebookView <|-- PageView
ZimApplication o-- "*" Notebook
ZimApplication o-- "*" MainWindow
ZimApplication *-- PluginManager
ZimApplication *-- ConfigManager
MainWindow o-- Notebook
MainWindow *-- "*" NotebookView
Notebook *-- "*" Page
Page *-- "0..1" TextBuffer
TextView "*" o-- TextBuffer
PageView *-- TextView
PageView o-- Page
TextBuffer - UndoStack
Notebook *-- FilesLayout
Notebook *-- Index
Page *-- File
Page *-- Folder
Page *-- Format
PluginManager *-- "*" Plugin
PluginManager *-- InsertedObjectTypeMap
together {
Plugin *-- "*" Extension
Extension <|-- MainWindowExtension
Extension <|-- PageViewExtension
Extension <|-- NotebookViewExtension
Extension <|-- NotebookExtension
Extension <|-- InsertedObjectTypeExtension
}
MainWindow o-- "*" MainWindowExtension
PageView o-- "*" PageViewExtension
NotebookView o-- "*" NotebookViewExtension
Notebook o-- "*" NotebookExtension
InsertedObjectTypeMap o-- "*" InsertedObjectTypeExtension
@enduml