搜尋老魚筆摘(本網誌及所屬協作平台)

載入中…

2009-04-09

Eclipse IDE + UML2 教學(二)簡易操作篇

創建一個新的專案[Project ...]
首先在打開後的 Eclipse IDE 中, 有三個地方可以可達到創建新專案
  • 功能表 [File] -> [New ...] -> [Project ...]
  • 左上最左邊的小圖示(如下圖標示)
  • 在左邊的 (Package Explorer) 空白處按右鍵 (如下圖標示)
接下來給個您想要的名稱即可完成.


新增您需要的 UML 2 製作圖例精靈
先選取您新增的專案名稱, 再按 Mouse 右鍵, [New ...] -> [Other ...] 後,
你可以找到如下圖的位置, 當中有就有你要的圖例種類.
接下來給你的圖例取個好名字, 就可以開工囉!


更多參考 ...


UML2
UML2 is an EMF-based implementation of the Unified Modeling Language (UMLTM) 2.x OMG metamodel for the Eclipse platform.

The objectives of the UML2 component are to provide

  • a useable implementation of the UML metamodel to support the development of modeling tools
  • a common XMI schema to facilitate interchange of semantic models
  • test cases as a means of validating the specification
  • validation rules as a means of defining and enforcing levels of compliance

For more details on UML2, see the Wiki.


UML2 Tools
UML2 Tools is a set of GMF-based editors for viewing and editing UML models; it is focused on (eventual) automatic generation of editors for all UML diagram types.

The diagrams that will be initially supported (as part of the first release) include class, component, state machine, and activity diagrams. Please see the project plan(s) for details.

For more details on UML2 Tools, see the Wiki.

1 則留言:

  1. 您好:
    很冒昧請教:class Diagram,如何產生 code,我不知是不是 preference 哪裡沒設,在 Modeling -> Instance generator 的選項內,都沒有致能。

    回覆刪除

熱門文章

大智若魚::人生處處是道場-站內SEO參考標籤雲