Rational Rose Tutorial

Slides:



Advertisements
Similar presentations
Interaction Design: Visio
Advertisements

Visio 2007 for UML Tutorial. Overview The tutorial demonstrates how to use Visio 2007 to create UML diagrams. We will focus on five most widely used UML.
MS-Word XP Lesson 1.
SMART Board Basics Using Notebook Software 10 This and other resources available at Smart Technologies:
Advanced Microsoft Word Hosted by Jared Hoffman Topics Keyboard Shortcuts Customizing Toolbars and Menus Auto Format & Auto Correct Tabs Inserting Pictures.
CGS 1060 Introduction to MicroComputer Usage Chapter 1 Windows 7
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Java Integrated Development Environments: ECLIPSE Part1 Installation.
1 of 6 Parts of Your Notebook Below is a graphic overview of the different parts of a OneNote 2007 notebook. Microsoft ® OneNote ® 2007 notebooks are digital.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
RATIONAL ROSE. 2  ROSE = Rational Object Oriented Software Engineering  Rational Rose is a set of visual modeling tools for development of object oriented.
COMPREHENSIVE Windows Tutorial 2 Organizing Your Files.
Getting Started with Microsoft PowerPoint Vivien Hall (CCS) Acknowledgements – Ali Parvin (CCS)
Spreadsheet. Objectives Create a new blank workbook. Create a new blank workbook. Identify user interface elements that you can use to accomplish basic.
Rational Rose Tutorial
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Microsoft Excel 2000 Adding Visual Elements and Managing Files.
Inspire students to develop ideas & organize thinking
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
 Starting Excel 2003  Using Help  Workbook Management  Cursor Management  Manipulating Data  Using Formulae and Functions  Formatting Spreadsheet.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Generation and Implementation. More on classes Types Implementation classes Interfaces Templates Associations –Dependencies –Compositions.
Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006 An Introduction to.
University of Sunderland CDM105 Session 6 Dreamweaver and Multimedia Fireworks MX 2004 Creating Menus and Button images.
Productivity Programs Common Features and Commands.
ATN GIS Support ArcGIS: ArcMap Data View.
Copyright © 2010 Wolters Kluwer Health | Lippincott Williams & Wilkins Introduction to Windows Chapter 2.
XP New Perspectives on Microsoft Access 2002 Tutorial 21 Microsoft Access Tutorial 2 – Creating And Maintaining A Database.
Instructor’s Guide to Teaching SolidWorks Software Lesson 1 School’s Name Teacher’s Name Date.
Distributed Multimedia Programming Week - 1. Document Window  The Document Window is divided in to six main components Timeline – The Timeline is where.
Creating Buttons – Lesson 51 Creating Buttons Lesson 5.
Lesson 11: Looking at Files and Folders what a file or folder is on the computer how to recognize a file or folder on the desktop how to recognize the.
Microsoft Publisher 2010 Chapter 1 Creating a Flyer.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 7 – Creating and Using Templates in a Web.
Sequence Diagrams And Collaboration Diagrams HungNM.
Layers, Image Maps, and Navigation Bars
© 2010 Pearson Education, Inc. | Publishing as Prentice Hall1 Computer Literacy for IC 3 Unit 2: Using Productivity Software Chapter 1: Starting with Microsoft.
Identifying & Creating Use Cases – Part 1 Month Day, Year.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 2.1 Test-Driving the Welcome Application 2.2.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Creating a Dynamic Web Page Template Module 5: Beyond the Basics with Expression Web LESSON 10.
Lab 0 / Chapter 0 Windows XP Environment. 2 User Interfaces: A different perspective.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
Editing Basics Lesson 8. Skills Matrix SKILL #MATRIX SKILL 2.2.1Cut, copy, and paste text 2.2.2Find and replace text 4.1.1Insert building blocks in documents.
 Given live by a presenter  Played without a presenter on a computer screen or on the Web  Slides provide a way to use text and graphics to introduce.
XP Tutorial 8 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Object Linking and Embedding Tutorial 8.
® IBM Software Group © 2007 IBM Corporation Module 1: Getting Started with Rational Software Architect Essentials of Modeling with IBM Rational Software.
1 After completing this lesson, you will be able to: Open a file. Navigate through a document. Scroll through a document. Insert text in a document. Select.
®® Microsoft Windows 7 Windows Tutorial 2 Organizing Your Files.
® IBM Software Group © 2007 IBM Corporation Module 3: Creating UML Diagrams Essentials of Modeling with IBM Rational Software Architect, V7.5.
XP Tutorial 3 Creating Animations. XP New Perspectives on Macromedia Flash MX Elements of Animation Layers are used to organize the content of.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
1 Sobah Abbas Petersen Adjunct Associate Professor TDT4252 Modelling of Information Systems Advanced Course Lecture 4: Introduction to.
Introduction to PowerPoint 2003 Professional Development Training for Classroom Teachers.
XP New Perspectives on Creating Web Pages With Word Tutorial 1 1 Creating Web Pages With Word Tutorial 1.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Windows Tutorial 2 Organizing Your Files
Microsoft Word 125 S. Clark St., 4th floor, Chicago, Illinois  Telephone  Fax
Identifying & Creating Use Cases – Part 2
Working in the Forms Developer Environment
Objectives At the end of this session, students will be able to:
Instructor’s Guide to Teaching SolidWorks Software Lesson 1
Rational ROSE – Rational Object Oriented Sotfware Engineering
面向对象分析与设计 Use of starUML By Wang Meihong.
New Perspectives on Windows XP
Microsoft PowerPoint 2007 – Unit 2
Microsoft Office Access 2003
Presentation transcript:

Rational Rose Tutorial Making use of UML Elements Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Objectives Get to know Rational Rose Get Familiar with general functions of Rational Rose for Modeling Create a Class Diagram with Rational Rose 1st Part: Guided 2nd Part: Student Pointed by an icon Lect 1: Rational Rose Tutorial

Lab Objective: Graphic Model Specify the Graphics Class Diagram: Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Graphic Objects Circle Graphic Selection Panel Lect 1: Rational Rose Tutorial

Graphic Model: UML Elements Abstract Class Association Aggregation navigability role multiplicity Dependency Abstract operation Generalization attribute Concrete Class Concrete operation Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Start Rational Rose Start Rose Start  Programs  Rational Rose Rational Rose Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Create a New Model When Rose is started When Rose has been started: File  New Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Create a New Model From Scratch Cancel the loaded window Using a Template or Frame-work Select <model> OK From File System Existing OR Recent Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial To Save a Model File  Save o Save As Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Create a Class Diagram Browser: Logical View  Right Button Menu  New  Class Diagram Menu : Browse  Class Diagram Lect 1: Rational Rose Tutorial

Creating more Diagrams Select <View> in Browser  Right Button Menu  New  <diagram> Browse Menu  <diagram> Lect 1: Rational Rose Tutorial

Toolbar for Class Diagrams Any element of a diagram can be created by placing the mouse pointer over a Tool in the Toolbar Drag&Drop over the diagram canvas text interface Note generalization class asociation package Note Anchor Pointer dependency or instantiation Association class Lect 1: Rational Rose Tutorial realization

Lect 1: Rational Rose Tutorial Create a Class Place mouse pointer on Class Tool Toolbar : Click Class button Icon Menu: Tools  Create  Class  Click on Diagram Window OR Browser : Sel. Logic View  right button menu  New Class (Sel. Clase  Drag &Drop over Diagram Window) Lect 1: Rational Rose Tutorial

Create Diagram Elements Place Mouse Pointer Click on Toolbar button Sel. Diagram in Browser  right button  New <element> Menu  Tools  Create  Click on diagram Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Specify Class Name Directely in the diagram Double click on the class  “Class Specification for NewClass” Lect 1: Rational Rose Tutorial

Specify Diagram Elements Specification Window Allows you to specify a model element (diagrams, classes, packages, relationship...) The attributes or sub-elements to be specified depend on the selected element In each TabWindow attributes and sub-elements would be specified Lect 1: Rational Rose Tutorial

Specify Diagram Elements Open Specification Window Double Click on element via Browser or Diagram Window Sel. element (Browser,Diagram Window)  Mouse right button menu  Open Specification Sel. elemento  Browse menu  Open Specification Shorcuts of TabWindows, Properties, WIndow Specification Menus Sel. Element (Browser,Diagram Window)  right button Menu  new <subelement> (attribute, operation...) OR <Property> OR <TabWindow> Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Class Graphic An element Can be in multiple diagrams Only one instance in the Browser Synchronized Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Delete an Element Shallow Delete Edit Delete Select element in diagram  key DEL Deep Delete Select element in Browser  click right button  Delete Select element in diagram  Click CTRL+D It is not deleted from the MODEL!! (only from the diagram, not from Browser) It is deleted from the MODEL!! (It will disapear from the diagram and from the Browser) Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Create an Operation Diagram: Select class  Mouse right button menu  New Operation Browser: Select class  Mouse right button menu  New Operation Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Specify an Operation Directly: write the signature of the method << stereotype>> nameOperation( param: Typo,...) : Return Type Indirectly: Class Specifcation  tab Operations  right button menu  Insert (operation) Double click on method  Operation Specification Name  Details  right button menu  Insert (parameter) Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Specify an Operation Name Parameter Name,Type Return Type Accesibility Public, Protected, Private Abstract o Concrete (checkbox Abstract in Details TabWindow) Lect 1: Rational Rose Tutorial

Create an Attribute Diagram: Select class  Mouse right button menu  New Attribute Browser: Select class  Mouse right button menu  New Attribute Browser: would be updated in Diagram Window Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Specify Attribute Directly: write the signature of the attribute << stereotype>> nameAttribute : Type Indirectly: Class Specification  tab Attributes  right button menu  Insert ( attribute) Double click on attribute  Attribute Specification Name  Type Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Specify Attributes Name Type Accesibility Public, Protected,Private Class Abstract or Concrete (checkbox Abstract in Details TabWindow) Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Class Relationships UML Relationships in Rational Rose Generalization Association Aggregation Composition Dependency Lect 1: Rational Rose Tutorial

UML Relationships in Rational Rose Generalization (Inheritance) B A Association roleB roleA B A 1..n multiplicity B A Lect 1: Rational Rose Tutorial Navegability from B to A

Relaciones UML en Rose Aggregation B A Composition B A Dependency or Instantiation B A Lect 1: Rational Rose Tutorial

Create Generalization Place Mouse Pointer over Tool Click on button Toolbar Menu  Tools  Create Generalization  Click on Diagram Window  Connect element B to A Lect 1: Rational Rose Tutorial

Specify Generalization Like the rest of the elements: Double click on element Sel. element  right button menu  Open Specification or Shortcut of TabWindow/Property Sel. Sel element  Browse menu  Specification (note: it does appear on the Browser) Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Create an Association Place mouse pointer over Tool Click on Toolbar button Menu  Tools  Create Generalization  Click on Diagram Window  Connect element B to A Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Specify Association Like the rest of Elements: Double click, Sel (Browser Diagram Window) + Right Button Menu, Browse menu) It will appear as another element else in the Browser Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Specify Association Specify Navegability Accesibility public (+), protected (#), private (-) Multiplicity (1..n, 0..n, etc...) Aggregation Role names Association names Content Type: Reference, Value, no specify Lect 1: Rational Rose Tutorial

Model Organization A model can be organized using packages (group, include model elements) “Folder” Structure Lect 1: Rational Rose Tutorial

Move Elements across Packages Drag&Drop in each Package Browser from one to another One to One Pay attention: by moving the classes it does not mean that associations will move as well!! (Rational Rose 2000>) They are elements with Identity Lect 1: Rational Rose Tutorial

Copy Cut Paste Elements between diagrams Within the same Rational Rose model we are talking about the diagrams figures The elements appearing in the Browser are the only elements in the entire model. An element can appear in multiple diagrams If it is a different package, indicate from where the package come from “from <Package>” Lect 1: Rational Rose Tutorial

Copy Cut Paste Elements between diagrams Between two instances of Rational Rose Copy, Paste create the new elements If they dont exist in the model destination If they dont exist in the model destination, but the paste is in the package destination keep the existing if they exist in the model destination and the paste is in the same package Lect 1: Rational Rose Tutorial

Exercise 1 Finalize the Graphics Model Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Exercise 2 Model of a Work Plan (Project) - Overview Project GanttView Resource Dependency Task TaskGroup Milestone Lect 1: Rational Rose Tutorial

Lect 1: Rational Rose Tutorial Exercise 2 Think in a class model that describe a work-plan of a project – using Software stability concepts Draw it with Rational Rose Lect 1: Rational Rose Tutorial