Presentation is loading. Please wait.

Presentation is loading. Please wait.

UML Modeling Tools CSE 470 – Software Engineering Fall 1999 J. Brown.

Similar presentations


Presentation on theme: "UML Modeling Tools CSE 470 – Software Engineering Fall 1999 J. Brown."— Presentation transcript:

1 UML Modeling Tools CSE 470 – Software Engineering Fall 1999 J. Brown

2 Objectives Introduce Dome to draw: –Class Diagrams –State Diagrams –Use Case Diagrams Demonstrate some of the less intuitive features of Dome. Introduce Xfig to draw Sequence Diagrams. Demonstrate how to convert diagrams to Postscript from Dome and Xfig.

3 Starting Dome

4 Creating a New Model

5 Use Case Tool

6 Use Case Diagram Start with the System Boundary Use Property Button to Change Properties of Diagram Components, e.g. Component Name

7 Class Diagram Tool

8 Class Diagram Insert model components, then edit with the ‘Properties’ button. All associations must be drawn between two classes. Change association multiplicities by the ‘Properties’ button.

9 State Diagram Tool

10 State Diagram States can be nested. Concurrent states: –Their parent must be a ‘Concurrent’. –Partition the parent with ‘Concurrent Partitions.’ –Place states within concurrent partitions. Edit transition and state properties by the ‘Properties’ button.

11 Running Dome Open an Xterm window. At the prompt, type ‘~cse470/bin/dome’. You may want to add the following alias to your.aliases file to shorten the command you need to type. –alias dome ‘~cse470/bin/dome’

12 Saving Files Create a directory for each project and save models in that directory. Develop some convention for model files so that you can easily identify which file is associated with which model, e.g. add a -uc to the end of the file name for the Use Case Diagram or add an extension to the name

13 Generating Postscript To generate a postscript file: –Select Print… under the File menu. –Check the ‘Print to File’ box. –Select ‘Encapsulated Postscript’ as the Format. –Modify the file name, if desired, then press ‘OK’.

14 Sequence Diagrams Dome doesn’t support sequence diagram drawing. For sequence diagrams, I recommend using ‘Xfig’. Xfig is a UNIX-based, generic drawing tool that can also generate Postscript files. To use Xfig, open an Xterm window. At the prompt, type ‘xfig’. Standard Xfig files have.fig extensions. To generate a postscript file in Xfig: –Select the ‘Export...’ button at the top of the screen. –Set ‘Language’ to ‘Postscript’, then hit ‘Export’.

15 Xfig Example


Download ppt "UML Modeling Tools CSE 470 – Software Engineering Fall 1999 J. Brown."

Similar presentations


Ads by Google