350 likes | 1.14k Views
Tutorial on ArgoUML prepared by Mei Zhang. Overview. Basics Unified Modeling Language(UML) CASE-tool s supporting UML ArgoUML Features Samples Re ferences. Unified Modeling Language (UML). The UML is widely used in object-oriented software development.
E N D
Overview • Basics • Unified Modeling Language(UML) • CASE-tools supporting UML • ArgoUML • Features • Samples • References
Unified Modeling Language (UML) • The UML is widely used in object-oriented software development. • Onekeystone for its success in industry is the wealth of CASE tools supporting UML. http://www.omg.org/technology/documents/formal/uml.htm
CASE-tools supporting UML UML Modeling Tools: http://www.objectsbydesign.com/tools/umltools_byCompany.html Free UML Tools: http://www.bcs-oops.org.uk/cgi-bin/view/Technical/FreeUMLTools
What is ArgoUML? • ArgoUML is a Java based UML tool that helps you do your design using UML.It is able to create and save most of the nine standard UML diagrams. • ArgoUML is not only a free UML modeling tool, it is also an Open Source Development project where you are invited to contribute.
Where does the name ArgoUML come from? According to Greek mythology, the hero Jasonbuilt a ship called Argoand with his comrades, the Argonauts, he left for the quest of the golden fleece. Poseidon, god of seas, protected and safely guided their journey.
Who to use? • The users of ArgoUML are • software designers & architects • software developers • business analysts • systems analysts and other professionals involved in the analysis, design and development of software applications.
Features • Support open standards extensively: UML, XMI, SVG, OCL and others. • 100% Platform independent thanks to the exclusive use of Java • Open Source, which allows extending or customizing. • Cognitive features like: • reflection-in-action • opportunistic design • comprehension and problem solving
Features(con’t) Design critics are simple agents that continuously execute in a background thread of control. They analyze the design as the designer is working and suggest possible improvements. • Cognitive features like • reflection-in-action • Design Critics • Corrective Automations (partially implemented) • "To Do" List • User model (partially implemented) • opportunistic design • "To Do" List • Checklists • Comprehension and Problem Solving • Explorer Perspectives • Multiple, Overlapping Views • Alternative Design Representations: Graphs, Text, or Table
Critiquing Systems • Phases of the ADAIR Process • Activate • Detect • Advise • Improve • Record
Critique 1. Activate
The To-Do Pane 3. Advise 4. Improve 2. Detect
How to use • User Interface • Class Diagram Specific Tools • How to install ArgoUML? http://argouml.tigris.org/documentation/defaulthtml/manual/pt02.html http://argouml.tigris.org/documentation/defaulthtml/manual/ch11s03.html#d0e9002 http://argouml.tigris.org/documentation/defaulthtml/quick-guide/ch02.html
Overview of ArgoUMLWindows ArgoUML's user interface is divided into 4 panels Top left: a hierarchical view of the current project file. Top right: editor for the selected part of the project, in this case a class diagram. Bottom right: details of the selected object in the diagram or the selected "to do" item. Bottom left: the designer's "to do" list.
Supported Diagrams • The current developer release of ArgoUML implements all the diagram types of the UML 1.3 standard • Use Case Diagrams • Class Diagrams • Behavior Diagrams • Statechart Diagrams • Activity Diagrams • Interaction Diagrams • Sequence Diagrams • Collaboration Diagrams • Implementation Diagrams • Component Diagrams • Deployment Diagrams Today’s Tutorial! Class Diagrams
The Menu Bar and Toolbars 1. New a Model.
The Menu Bar and Toolbars 1. New a Model. 2. Add a class in the class diagram in the Model.
The Menu Bar and Toolbars 1. New a Model. 2. Add a class in the class diagram in the Model.
The Menu Bar and Toolbars 1. New a Model. 2. Add a class in the class diagram in the Model.
The Menu Bar and Toolbars 1. New a Model. 2. Add a class in the class diagram in the Model. - Add an attribute in the class “Customer”.
The Menu Bar and Toolbars 1. New a Model. Double click the return 2. Add a class in the class diagram in the Model. - Add an attribute in the class “Customer”. - Add an method in the class “Customer”.
The Menu Bar and Toolbars 1. New a Model. Double click it. 2. Add a class in the class diagram in the Model. 3. Add a generalization to the class Customer. • - Alternative I: double click the generalization icon under the class.
The Menu Bar and Toolbars 1. New a Model. 2. Add a class in the class diagram in the Model. 3. Add a generalization to the class Customer. • - Alternative I: double click the generalization icon under the class. • - Alternative II: add a new class and use the generalization line in the tool bar.
The Menu Bar and Toolbars 1. New a Model. Left click when the mouse is on the icon, then drag it to the class to be associated, release the left button in the mouse. The associate is done now. 2. Add a class in the class diagram in the Model. Double click it. 3. Add a generalization to the class Customer. 4. Add a association to the class Customer.
The Menu Bar and Toolbars 1. New a Model. 2. Add a class in the class diagram in the Model. 3. Add a generalization to the class Customer. 4. Add a association to the class Customer. 5. Add a constraints to the class Order.
The Menu Bar and Toolbars 1. New a Model. 2. Add a class in the class diagram in the Model. 3. Add a generalization to the class Customer. 4. Add a association to the class Customer. 5. Add a constraints to the class Order. http://argouml.tigris.org/documentation/defaulthtml/manual/ch12s07.html#s2.ref.details_constraint_editor
The Menu Bar and Toolbars 1. New a Model. 2. Add a class in the class diagram in the Model. 3. Add a generalization to the class Customer. 4. Add a association to the class Customer. 5. Add a constraints to the class Order. 6. Add a aggregation and composition to the class Order.
The Menu Bar and Toolbars Save to picture • Permanently Save: • Save to a file, including *.gif, *.ps, *.svg, *.eps, *.pgn
Save to picture • Permanently Save: • Temporarily Save ---- Save to a clipboard.
XMI: XML Metadata Interchange Using XMI from Rational Rose Provide XMI to Rational Rose
References • Object Management Group(OMG) UML 2.0 http://www.omg.org/technology/documents/formal/uml.htm • UML Modeling Tools: http://www.objectsbydesign.com/tools/umltools_byCompany.html • Free UML Tools: http://www.bcs-oops.org.uk/cgi-bin/view/Technical/FreeUMLTools • Information on Argo UML, an .open source UML modeling tool built in Java http://argouml.tigris.org/ • Jason Robbins http://www1.ics.uci.edu/~jrobbins/ • Poseidon for UML http://www.gentleware.com/products/ • ArgoUML Manual http://argouml.tigris.org/documentation/defaulthtml/manual/ • Section 3, Software Design: From Programming to Architecture, Eric Braude, John Wiley and Sons, Publishers, 2004