SlideShare a Scribd company logo
Huáscar A. Sánchez
Lect 1: Rational Rose Tutorial 1
Rational Rose Tutorial
Making use of UML Elements
Lect 1: Rational Rose Tutorial 2
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 3
Lab Objective: Graphic Model
Specify the Graphics Class Diagram:
Lect 1: Rational Rose Tutorial 4
Graphic Objects
Graphic Selection
Circle
Panel
Lect 1: Rational Rose Tutorial 5
Graphic Model: UML Elements
Generalization
Aggregation
Association
Abstract Class
Concrete Class
Concrete operation
attribute
Abstract operation
Dependency
role
multiplicity
navigability
Lect 1: Rational Rose Tutorial 6
Start Rational Rose
 Start Rose
 Start  Programs  Rational Rose
 Rational Rose
Lect 1: Rational Rose Tutorial 7
Create a New Model
 When Rose is started
 When Rose has been started: File  New
Lect 1: Rational Rose Tutorial 8
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 9
To Save a Model
 File  Save o Save As
Lect 1: Rational Rose Tutorial 10
Create a Class Diagram
 Browser: Logical View  Right Button Menu  New  Class
Diagram
 Menu : Browse  Class Diagram
Lect 1: Rational Rose Tutorial 11
Creating more Diagrams
 Select <View> in Browser
  Right Button Menu  New  <diagram>
 Browse Menu  <diagram>
Lect 1: Rational Rose Tutorial 12
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
class
interface
asociation
Association class
package
Note Anchor
dependency or instantiation
Note
generalization
realization
Pointer
Lect 1: Rational Rose Tutorial 13
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 14
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 15
Specify Class Name
 Directely in the diagram
 Double click on the class  “Class Specification for
NewClass”
Lect 1: Rational Rose Tutorial 16
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 17
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 18
Class Graphic
Synchronized
An element
•Can be in multiple diagrams
•Only one instance in the Browser
Lect 1: Rational Rose Tutorial 19
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 20
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 21
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 22
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 23
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 24
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 25
Specify Attributes
 Name
 Type
 Accesibility
 Public, Protected,Private
 Class Abstract or Concrete
 (checkbox Abstract in Details TabWindow)
Lect 1: Rational Rose Tutorial 26
Class Relationships
 UML Relationships in Rational Rose
 Generalization
 Association
 Aggregation
 Composition
 Dependency
Lect 1: Rational Rose Tutorial 27
UML Relationships in Rational Rose
A
B
 Association
Generalization (Inheritance)
A
B
A
B
1..n
roleA
roleB
multiplicity
Navegability from B to A
Lect 1: Rational Rose Tutorial 28
Relaciones UML en Rose
Aggregation
Dependency or Instantiation
A
B
A
B
A
B
Composition
Lect 1: Rational Rose Tutorial 29
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 30
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 31
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 32
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 33
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
B A
0..n
1
-roleA
agregationName
0..n
1
-roleB
Lect 1: Rational Rose Tutorial 34
Model Organization
 A model can be organized using packages
Graphic Model
“Folder” Structure
(group, include model elements)
Lect 1: Rational Rose Tutorial 35
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 36
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 37
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 38
Exercise 1
Finalize the Graphics Model
Lect 1: Rational Rose Tutorial 39
Exercise 2
 Model of a Work Plan (Project) - Overview
Task
Milestone
Dependency
Resource
TaskGroup
Project
GanttView
Lect 1: Rational Rose Tutorial 40
Exercise 2
 Think in a class model that describe a work-
plan of a project – using Software stability
concepts
 Draw it with Rational Rose

More Related Content

PPT
Introduction to Rational Rose
PDF
UNIT-2-AJAVA.pdf
DOCX
PPT
Visual programming basic.ppt bs cs5th class
PDF
PDF
DOCX
Tutorials on Macro
PDF
Adobe Illustrator CS6 Primer
Introduction to Rational Rose
UNIT-2-AJAVA.pdf
Visual programming basic.ppt bs cs5th class
Tutorials on Macro
Adobe Illustrator CS6 Primer

Similar to manual rational.ppt (20)

PDF
Ingles 2do parcial
PDF
Creating a text editor in delphi, a tutorial
PPT
02intro
DOCX
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
PDF
Web Design & Development - Session 6
PPT
Csphtp1 02
PDF
1. .....................................................pdf
PDF
Adobe illustrator cs5 full tutorials
PPTX
Computer Science.pptx
PPT
Design Patterns By Sisimon Soman
PDF
Ajp notes-chapter-01
PDF
Ajp notes-chapter-01
DOC
Autocad excel vba
DOCX
Adobe Illustrator CS5 Part 1 : Introduction to Illustrator
PPTX
Chapter1 of programming object orienteds
PPTX
Chapter 2 — Program and Graphical User Interface Design
PPTX
intro_gui
PPT
Uml - An Overview
PPTX
CS8592-OOAD-UNIT II-STATIC UML DIAGRAMS PPT
Ingles 2do parcial
Creating a text editor in delphi, a tutorial
02intro
Assignment6~$signment6.docxAssignment6Assignment6.docxAs.docx
Web Design & Development - Session 6
Csphtp1 02
1. .....................................................pdf
Adobe illustrator cs5 full tutorials
Computer Science.pptx
Design Patterns By Sisimon Soman
Ajp notes-chapter-01
Ajp notes-chapter-01
Autocad excel vba
Adobe Illustrator CS5 Part 1 : Introduction to Illustrator
Chapter1 of programming object orienteds
Chapter 2 — Program and Graphical User Interface Design
intro_gui
Uml - An Overview
CS8592-OOAD-UNIT II-STATIC UML DIAGRAMS PPT
Ad

Recently uploaded (20)

PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PPTX
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
17 Powerful Integrations Your Next-Gen MLM Software Needs
PPTX
Patient Appointment Booking in Odoo with online payment
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Nekopoi APK 2025 free lastest update
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Odoo Companies in India – Driving Business Transformation.pdf
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
Embracing Complexity in Serverless! GOTO Serverless Bengaluru
CHAPTER 2 - PM Management and IT Context
Why Generative AI is the Future of Content, Code & Creativity?
17 Powerful Integrations Your Next-Gen MLM Software Needs
Patient Appointment Booking in Odoo with online payment
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Advanced SystemCare Ultimate Crack + Portable (2025)
Designing Intelligence for the Shop Floor.pdf
Computer Software and OS of computer science of grade 11.pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Design an Analysis of Algorithms II-SECS-1021-03
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Monitoring Stack: Grafana, Loki & Promtail
How to Choose the Right IT Partner for Your Business in Malaysia
Autodesk AutoCAD Crack Free Download 2025
Nekopoi APK 2025 free lastest update
Digital Systems & Binary Numbers (comprehensive )
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Ad

manual rational.ppt

  • 1. Huáscar A. Sánchez Lect 1: Rational Rose Tutorial 1 Rational Rose Tutorial Making use of UML Elements
  • 2. Lect 1: Rational Rose Tutorial 2 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
  • 3. Lect 1: Rational Rose Tutorial 3 Lab Objective: Graphic Model Specify the Graphics Class Diagram:
  • 4. Lect 1: Rational Rose Tutorial 4 Graphic Objects Graphic Selection Circle Panel
  • 5. Lect 1: Rational Rose Tutorial 5 Graphic Model: UML Elements Generalization Aggregation Association Abstract Class Concrete Class Concrete operation attribute Abstract operation Dependency role multiplicity navigability
  • 6. Lect 1: Rational Rose Tutorial 6 Start Rational Rose  Start Rose  Start  Programs  Rational Rose  Rational Rose
  • 7. Lect 1: Rational Rose Tutorial 7 Create a New Model  When Rose is started  When Rose has been started: File  New
  • 8. Lect 1: Rational Rose Tutorial 8 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
  • 9. Lect 1: Rational Rose Tutorial 9 To Save a Model  File  Save o Save As
  • 10. Lect 1: Rational Rose Tutorial 10 Create a Class Diagram  Browser: Logical View  Right Button Menu  New  Class Diagram  Menu : Browse  Class Diagram
  • 11. Lect 1: Rational Rose Tutorial 11 Creating more Diagrams  Select <View> in Browser   Right Button Menu  New  <diagram>  Browse Menu  <diagram>
  • 12. Lect 1: Rational Rose Tutorial 12 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 class interface asociation Association class package Note Anchor dependency or instantiation Note generalization realization Pointer
  • 13. Lect 1: Rational Rose Tutorial 13 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)
  • 14. Lect 1: Rational Rose Tutorial 14 Create Diagram Elements  Place Mouse Pointer  Click on Toolbar button  Sel. Diagram in Browser  right button  New <element>  Menu  Tools  Create   Click on diagram
  • 15. Lect 1: Rational Rose Tutorial 15 Specify Class Name  Directely in the diagram  Double click on the class  “Class Specification for NewClass”
  • 16. Lect 1: Rational Rose Tutorial 16 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
  • 17. Lect 1: Rational Rose Tutorial 17 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>
  • 18. Lect 1: Rational Rose Tutorial 18 Class Graphic Synchronized An element •Can be in multiple diagrams •Only one instance in the Browser
  • 19. Lect 1: Rational Rose Tutorial 19 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)
  • 20. Lect 1: Rational Rose Tutorial 20 Create an Operation  Diagram: Select class  Mouse right button menu  New Operation  Browser: Select class  Mouse right button menu  New Operation
  • 21. Lect 1: Rational Rose Tutorial 21 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)
  • 22. Lect 1: Rational Rose Tutorial 22 Specify an Operation  Name  Parameter  Name,Type  Return Type  Accesibility  Public, Protected, Private  Abstract o Concrete  (checkbox Abstract in Details TabWindow)
  • 23. Lect 1: Rational Rose Tutorial 23 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
  • 24. Lect 1: Rational Rose Tutorial 24 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
  • 25. Lect 1: Rational Rose Tutorial 25 Specify Attributes  Name  Type  Accesibility  Public, Protected,Private  Class Abstract or Concrete  (checkbox Abstract in Details TabWindow)
  • 26. Lect 1: Rational Rose Tutorial 26 Class Relationships  UML Relationships in Rational Rose  Generalization  Association  Aggregation  Composition  Dependency
  • 27. Lect 1: Rational Rose Tutorial 27 UML Relationships in Rational Rose A B  Association Generalization (Inheritance) A B A B 1..n roleA roleB multiplicity Navegability from B to A
  • 28. Lect 1: Rational Rose Tutorial 28 Relaciones UML en Rose Aggregation Dependency or Instantiation A B A B A B Composition
  • 29. Lect 1: Rational Rose Tutorial 29 Create Generalization  Place Mouse Pointer over Tool  Click on button Toolbar  Menu  Tools  Create Generalization   Click on Diagram Window  Connect element B to A
  • 30. Lect 1: Rational Rose Tutorial 30 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)
  • 31. Lect 1: Rational Rose Tutorial 31 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
  • 32. Lect 1: Rational Rose Tutorial 32 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
  • 33. Lect 1: Rational Rose Tutorial 33 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 B A 0..n 1 -roleA agregationName 0..n 1 -roleB
  • 34. Lect 1: Rational Rose Tutorial 34 Model Organization  A model can be organized using packages Graphic Model “Folder” Structure (group, include model elements)
  • 35. Lect 1: Rational Rose Tutorial 35 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
  • 36. Lect 1: Rational Rose Tutorial 36 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>”
  • 37. Lect 1: Rational Rose Tutorial 37 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
  • 38. Lect 1: Rational Rose Tutorial 38 Exercise 1 Finalize the Graphics Model
  • 39. Lect 1: Rational Rose Tutorial 39 Exercise 2  Model of a Work Plan (Project) - Overview Task Milestone Dependency Resource TaskGroup Project GanttView
  • 40. Lect 1: Rational Rose Tutorial 40 Exercise 2  Think in a class model that describe a work- plan of a project – using Software stability concepts  Draw it with Rational Rose