Moose是一套以Smalltalk開發的視覺化系統分析工具,從1996年發展至今功能已非常強大,在產業及學界也有多個專案採用這套工具,Jimmy's papa曾用過Rational Rose和Together開發過專案,卻是頭一次聽過Moose,而且還是免錢的開放程式碼工具,這在台灣應該沒機會採用^ ^,以下是Jimmy's papa牛刀小試一番
文件可參考這裡The Moose Book
寄件者 scratchlab |
在Workspace執行下列Smalltalk程式,則會產出NumberParser類別的Class Diagram
view := MOViewRenderer new.
view shape: UMLClassDiagram new umlShape.
view interaction popupText.
view nodes: NumberParser withAllSubclasses asArray.
view shape: (MOArrowedOrthoVerticalLineShape new).
view edgesFrom: #superclass.
view layout: MOTreeLayout new.
view open
寄件者 scratchlab |
在Workspace執行下列Smalltalk程式,則會產出URL類別的Class Diagram
view := MOViewRenderer new.
view shape: UMLClassDiagram new umlShape.
view interaction popupText.
view nodes: Url withAllSubclasses asArray.
view shape: (MOArrowedOrthoVerticalLineShape new).
view edgesFrom: #superclass.
view layout: MOTreeLayout new.
view open
寄件者 scratchlab |
沒有留言:
張貼留言