Professional Documents
Culture Documents
Object Interaction Adaptation and Extension: Buschmann Et Al.: POSA 4, Wiley, 2007
Object Interaction Adaptation and Extension: Buschmann Et Al.: POSA 4, Wiley, 2007
Observer
Object Interaction
Mediator 1/2
Object Interaction
Mediator 2/2
Widget
DialogDirector
Changed()
ShowDialog()
CraeteWidgets()
WidgedChanged( : Widged)
ListBox
GetSelection()
EntryField
Button
SetText()
FontDialogDirector
CreateWidgets()
WidgedChanged( : Widged)
director->WidgedChanged(this)
Mediator
Command 1/2
Object Interaction
Command 2/2
Client
-End2
-End1
Application
-End3
-End4
Menu
-End5
-End6
MenuItem
1 *
+Add(inout Document)
Invoker
1 *
+Add(in MenuItem)
Command
1
+Clicked()
+Execute()
*
*
Document
OpenCommand PasteCommand
ConcreteCommand
MacroCommand
+Execute()
+AskUser()
+Execute()
+Execute()
+Execute()
+Open()
+Close()
+Cut()
+Copy()
+Paste()
Receiver
name = AskUser();
doc = new Document(name);
application->Add(doc);
doc->Open();
receiver->Action();
Memento
Object Interaction
Object Interaction
Message
Object Interaction
Bridge 1/2
Bridge 2/2
Chain of Responsibility
Interpreter 1/3
Interpreter 1/3
Interpreter 1/3
Interceptor
Visitor 1/4
Visitor 2/4
Visitor 3/4
Visitor 4/4
Decorator 1/3
Decorator 2/3
window->SetContents(
new BorderDecorator(
new ScrollDecorator(textView), 1
)
Decorator 3/3
Execute-Around Object
Template Method
Strategy
Null Object
Napojenie DB.
Priehradky platov zamestnancov.
Wrapper Facade