Last active
April 4, 2017 12:02
-
-
Save yassu/2d305d224dc0ef5e7435 to your computer and use it in GitHub Desktop.
Plantuml for class diagram in [Quick reference Card](http://www.digilife.be/quickreferences/qrc/uml%20quick%20reference%20card.pdf)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startuml | |
skinparam classAttributeIconSize 0 | |
class EventQMgr{ | |
+post(e:Event) | |
+suspend() | |
-flush() | |
} | |
note right: Active Class | |
class Event { | |
} | |
note right: Class | |
EventQMgr *--> Event: Composition | |
abstract Window{ | |
+postEvent(Event) | |
#<i>processEvent(Event)</i> | |
} | |
Event <-[dotted]- Window: Dependency | |
class Frame{ | |
+menuBar:MenuBar | |
+setTitle(String) | |
+remove(Menu) | |
#paramString():String | |
-- | |
Responsabilities: | |
- Manage a MenuBar | |
- Process events | |
} | |
note left: Class | |
Window <|-- Frame: Specialization | |
class MenuBar | |
MenuBar <-- Frame: Association | |
class MenuItem | |
MenuBar <|--> MenuItem: Aggregation | |
interface MenuContainer | |
MenuContainer <|-- Frame: Interface realization | |
@enduml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment