Introduction to Rational Rose 98i Module 2: Introduction
Objectives:  Introduction <ul><li>On completion of this module participants will be able to: </li></ul><ul><ul><li>Discuss...
What is Rational Rose 98i? <ul><li>Rational Rose 98i is a tool with the capability to create, view, modify, and manipulate...
Rational Rose 98i Features Feature Modeler Professional Enterprise UML modeling X X X Mulit user support X X X Visual Diff...
Rational Rose 98i Features Feature Modeler Professional Enterprise Basic Report Generation X X X COM Component Reverse  En...
What is a Rose Model? <ul><li>A Rose “model” is a representation of the problem domain and system software </li></ul><ul><...
Use Case View Diagrams <ul><li>Elements in the use case view may be viewed in one or more diagrams </li></ul><ul><li>The u...
Use Case Diagram <ul><li>A use case diagram shows what should be performed by the system and what exists outside the syste...
Interaction Diagrams <ul><li>Interaction diagrams show the existence of objects and their relationships in the logical des...
Logical View Diagrams <ul><li>Elements in the logical view may be viewed in one or more diagrams </li></ul><ul><li>The log...
Class Diagram <ul><li>A class diagram depicts the static view of the system </li></ul><ul><ul><li>It shows the existence o...
State Diagram <ul><li>A state diagram is created for classes with significant dynamic behavior </li></ul><ul><li>A state d...
Component View Diagrams <ul><li>Elements in the component view may be viewed in one or more component diagrams </li></ul><...
Deployment View Diagrams <ul><li>Elements in the deployment view may be viewed in the deployment diagram </li></ul><ul><ul...
The Rose User Interface <ul><li>Rose consists of: </li></ul><ul><ul><li>Standard toolbar </li></ul></ul><ul><ul><li>Diagra...
Rational Rose Standard Toolbar Browser Documentation Window Diagram Window Diagram Toolbar Status Bar
Rose Standard Tool Bar  <ul><ul><li>The Rose tool bar is independent of the diagram window that is currently open </li></u...
Rose Browser <ul><li>The Rose Browser is used to textually view and navigate between the components in each of the views <...
The Documentation Window <ul><li>The Documentation Window is used to create, view, and/or modify the documentation for a s...
Specifications <ul><li>Most modeling elements have a Specification that contains additional information about the modeling...
Documentation Window and Specifications <ul><li>Information added to the documentation window is automatically added to th...
Notes <ul><li>A note may be attached to any element in a diagram </li></ul>
Linking Diagrams <ul><li>Diagrams may be linked by using a note </li></ul>
Configuring the User Interface <ul><li>The Rose User Interface may be customized to:  </li></ul><ul><ul><li>Display or not...
Rose Options <ul><li>General  </li></ul><ul><ul><li>Fonts, use of backup files, save settings </li></ul></ul><ul><li>Diagr...
Rational Rose 98 i  Options <ul><li>Notation </li></ul><ul><ul><li>Default notation -- UML, Booch, or OMT </li></ul></ul><...
The Framework Wizard <ul><li>Rational Rose 98i Enterprise has a Framework Wizard, which is started when a new model is cre...
The Framework Wizard
Pathmaps <ul><li>The pathmap mechanism of Rational Rose 98i   allows you to map an absolute path to a virtual path </li></...
Pathmap and & <ul><li>An absolute path set to & represents the directory containing the Rose .mdl file </li></ul><ul><li>E...
Defining Pathmaps
Exercise:  Setting up Rational Rose 98 i <ul><li>Set up the Rose user interface for this course </li></ul><ul><ul><li>If y...
Exercise:  Setting up Rational Rose 98 i <ul><li>Add the pathmap CURDIR = & and ROSE_COURSE set to your working directory ...
Upcoming SlideShare
Loading in …5
×

02intro

1,659 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,659
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
41
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • To set the default notation for Rose Select the Tools:Options menu command. Select the Notation tab. Select the appropriate radio button: Booch, OMT, or Unified Click the OK button to close the Options dialog box. To change notation while Rose is running Select the As Booch, As OMT, or AS Unified command from the View menu.
  • To create a note Click to select the note icon from the toolbar. Click on the diagram to place the note. While the note is still selected, enter the desired note text. Resize the note as needed. To attach a note to a modeling element Click to select the Anchor Note to Item icon from the toolbar. Click on the note and drag the line to the desired modeling element.
  • When a model is saved, Rose will search through all the defined pathmaps for the absolute path and replace it with the virtual path if one is located. Pathmaps will be discussed in later sections where appropriate.
  • To define a virtual path Select the File:Edit Path Map menu command to make the Virtual Path Map window visible. Enter the name of the virtual path in the Symbol field (Rose automatically inserts the $ in the pathmap name. Enter the actual path in the Actual Path field. Click the Add button to create the new pathmap symbol. Click the Close button to close the Virtual Path Map window.
  • 02intro

    1. 1. Introduction to Rational Rose 98i Module 2: Introduction
    2. 2. Objectives: Introduction <ul><li>On completion of this module participants will be able to: </li></ul><ul><ul><li>Discuss the different views supported by Rational Rose 98i </li></ul></ul><ul><ul><li>List the diagrams for each view </li></ul></ul><ul><ul><li>Discuss elements common to each view </li></ul></ul><ul><ul><li>Configure the Rational Rose 98i interface </li></ul></ul>
    3. 3. What is Rational Rose 98i? <ul><li>Rational Rose 98i is a tool with the capability to create, view, modify, and manipulate components in a Rose model </li></ul><ul><li>Rational Rose 98i supports the Unified, Booch, and OMT notations </li></ul><ul><li>Rational Rose 98i is available in three editions: </li></ul><ul><ul><li>Rational Rose 98i Modeler </li></ul></ul><ul><ul><li>Rational Rose 98i Professional for C++, Java, or Visual Basic </li></ul></ul><ul><ul><li>Rational Rose 98i Enterprise </li></ul></ul>
    4. 4. Rational Rose 98i Features Feature Modeler Professional Enterprise UML modeling X X X Mulit user support X X X Visual Differencing/Merge X X X Framework Wizard X MS Repository Integration X Source Code Control Integrations X X X Data Access Add-in X RoseLink Partner Support X X X Extensibility Integration X X X Web Publisher X
    5. 5. Rational Rose 98i Features Feature Modeler Professional Enterprise Basic Report Generation X X X COM Component Reverse Engineering X Corba 2.x X Database Schema Generation X X X C++ (including Visual C++) C++ edition X Java Java edition X Visual Basic VB edition X Oracle 8 X
    6. 6. What is a Rose Model? <ul><li>A Rose “model” is a representation of the problem domain and system software </li></ul><ul><ul><li>Each model contains views, diagrams, and specifications to visualize and manipulate the elements in the model </li></ul></ul><ul><ul><li>There are many views of each underlying element </li></ul></ul><ul><ul><li>Every “object” in the design is represented once in the Rose “model” </li></ul></ul><ul><ul><li>Rose maintains a consistent semantic representation in the “model” </li></ul></ul>
    7. 7. Use Case View Diagrams <ul><li>Elements in the use case view may be viewed in one or more diagrams </li></ul><ul><li>The use case view contains any or all of the following diagrams </li></ul><ul><ul><li>Use case diagrams </li></ul></ul><ul><ul><ul><li>Packages, actors, use cases, and relationships </li></ul></ul></ul><ul><ul><li>Interaction diagrams (sequence diagrams and/or collaboration diagrams) </li></ul></ul><ul><ul><ul><li>Objects and messages </li></ul></ul></ul><ul><ul><li>Activity diagrams </li></ul></ul><ul><ul><ul><li>Activities, transitions , forks, joins, decisions, and swimlanes </li></ul></ul></ul>
    8. 8. Use Case Diagram <ul><li>A use case diagram shows what should be performed by the system and what exists outside the system </li></ul><ul><ul><li>It shows the existence of actors (outside the system), use cases (what should be performed by the system), and their relationships </li></ul></ul><ul><ul><li>A use-case diagram may depict all or some of the use cases of a system </li></ul></ul>
    9. 9. Interaction Diagrams <ul><li>Interaction diagrams show the existence of objects and their relationships in the logical design of a system </li></ul><ul><ul><li>They may represent all or part of the object structure of a system </li></ul></ul><ul><li>There are two kinds of interaction diagrams, each shows a different view of the same interaction </li></ul><ul><ul><li>A sequence diagram shows object interactions arranged in time sequence </li></ul></ul><ul><ul><li>A collaboration diagram is organized around the objects and their links to each other </li></ul></ul>
    10. 10. Logical View Diagrams <ul><li>Elements in the logical view may be viewed in one or more diagrams </li></ul><ul><li>The logical view contains any or all of the following diagrams </li></ul><ul><ul><li>Class diagrams </li></ul></ul><ul><ul><ul><li>Packages, classes, and relationships </li></ul></ul></ul><ul><ul><li>State diagrams </li></ul></ul><ul><ul><ul><li>States, events, and transitions </li></ul></ul></ul>
    11. 11. Class Diagram <ul><li>A class diagram depicts the static view of the system </li></ul><ul><ul><li>It shows the existence of packages, classes, and their relationships in the logical design of a system </li></ul></ul><ul><ul><li>A class diagram may represent all or part of the class structure of a system </li></ul></ul><ul><li>There are typically many class diagrams in a model </li></ul>
    12. 12. State Diagram <ul><li>A state diagram is created for classes with significant dynamic behavior </li></ul><ul><li>A state diagram shows: </li></ul><ul><ul><li>The state space of a given class </li></ul></ul><ul><ul><li>The events that cause a transition </li></ul></ul><ul><ul><li>The actions that result from a state change </li></ul></ul>
    13. 13. Component View Diagrams <ul><li>Elements in the component view may be viewed in one or more component diagrams </li></ul><ul><li>A component diagram shows the allocation of classes and objects to components in the physical design of a system </li></ul><ul><ul><li>A component diagram may represent all or part of the component architecture of a system </li></ul></ul><ul><li>A component diagram shows packages, components, and dependencies </li></ul>
    14. 14. Deployment View Diagrams <ul><li>Elements in the deployment view may be viewed in the deployment diagram </li></ul><ul><ul><li>The deployment view contains only one deployment diagram </li></ul></ul><ul><li>The deployment diagram shows the allocation of processes to processors in the physical design of a system </li></ul><ul><li>A process diagram shows </li></ul><ul><ul><li>Nodes </li></ul></ul><ul><ul><li>Connections </li></ul></ul>
    15. 15. The Rose User Interface <ul><li>Rose consists of: </li></ul><ul><ul><li>Standard toolbar </li></ul></ul><ul><ul><li>Diagram toolbar </li></ul></ul><ul><ul><li>Browser </li></ul></ul><ul><ul><li>Documentation window </li></ul></ul><ul><ul><li>Diagram windows </li></ul></ul><ul><ul><li>Specifications </li></ul></ul><ul><ul><li>Status bar </li></ul></ul>
    16. 16. Rational Rose Standard Toolbar Browser Documentation Window Diagram Window Diagram Toolbar Status Bar
    17. 17. Rose Standard Tool Bar <ul><ul><li>The Rose tool bar is independent of the diagram window that is currently open </li></ul></ul>Create new model Open existing model Save model or log Print Diagrams Copy Paste Cut Context Sensitive Help Browse Class Diagram Browse Component Diagram Browse Interaction Diagram Browse Parent Browse Previous Diagram Zoom In Zoom Out View Documen- tation Browse Deployment Diagram Fit in Window Undo Fit in Window
    18. 18. Rose Browser <ul><li>The Rose Browser is used to textually view and navigate between the components in each of the views </li></ul><ul><ul><li>A + sign next to an icon indicates that the icon is collapsed </li></ul></ul><ul><ul><li>A - sign next to an icon indicates that the icon is fully expanded </li></ul></ul><ul><li>The Browser can be </li></ul><ul><ul><li>Visible or not visible </li></ul></ul><ul><ul><li>Docked (positioned along a border) or floating (moved to any location) </li></ul></ul>
    19. 19. The Documentation Window <ul><li>The Documentation Window is used to create, view, and/or modify the documentation for a selected item on a diagram </li></ul><ul><ul><li>There is only one Documentation Window, which is updated as different items on a diagram are selected </li></ul></ul><ul><li>The Documentation Window </li></ul><ul><ul><li>May be visible or hidden </li></ul></ul><ul><ul><li>May be docked or floating </li></ul></ul>
    20. 20. Specifications <ul><li>Most modeling elements have a Specification that contains additional information about the modeling element </li></ul>
    21. 21. Documentation Window and Specifications <ul><li>Information added to the documentation window is automatically added to the documentation field in the appropriate specification </li></ul>
    22. 22. Notes <ul><li>A note may be attached to any element in a diagram </li></ul>
    23. 23. Linking Diagrams <ul><li>Diagrams may be linked by using a note </li></ul>
    24. 24. Configuring the User Interface <ul><li>The Rose User Interface may be customized to: </li></ul><ul><ul><li>Display or not display the toolbars </li></ul></ul><ul><ul><li>Add/remove buttons from the toolbars </li></ul></ul><ul><ul><li>Display or not display the browser </li></ul></ul><ul><ul><li>Display or not display the documentation window </li></ul></ul><ul><ul><li>Make the toolbars, browser, and/or the documentation window docked or floating </li></ul></ul>
    25. 25. Rose Options <ul><li>General </li></ul><ul><ul><li>Fonts, use of backup files, save settings </li></ul></ul><ul><li>Diagram </li></ul><ul><ul><li>Display attributes, operations, visibility, focus of control, numbering for interaction diagrams, unresolved references adornments, automatic resize, snap to grid </li></ul></ul><ul><li>Browser </li></ul><ul><ul><li>Stereotype naming conventions </li></ul></ul>
    26. 26. Rational Rose 98 i Options <ul><li>Notation </li></ul><ul><ul><li>Default notation -- UML, Booch, or OMT </li></ul></ul><ul><ul><li>Default language -- Analysis, C++, Java, or Oracle8 </li></ul></ul><ul><li>Toolbars </li></ul><ul><ul><li>Toolbar display and customization </li></ul></ul><ul><ul><li>DDL, IDL, Java, Oracle8, C++, MSVC, Visual Basic </li></ul></ul><ul><ul><ul><li>Create/modify/delete property sets for code generation </li></ul></ul></ul>
    27. 27. The Framework Wizard <ul><li>Rational Rose 98i Enterprise has a Framework Wizard, which is started when a new model is created </li></ul><ul><ul><li>Contains a library of frameworks that can be used as templates when creating new models </li></ul></ul><ul><ul><li>Provides you with a mechanism to create additional frameworks </li></ul></ul>
    28. 28. The Framework Wizard
    29. 29. Pathmaps <ul><li>The pathmap mechanism of Rational Rose 98i allows you to map an absolute path to a virtual path </li></ul><ul><li>Example: </li></ul><ul><ul><li>$MYPATH = Z:Registration </li></ul></ul><ul><ul><ul><li>Rose will use the virtual path when the model is saved </li></ul></ul></ul><ul><li>This provides the flexibility needed to facilitate team development </li></ul>
    30. 30. Pathmap and & <ul><li>An absolute path set to & represents the directory containing the Rose .mdl file </li></ul><ul><li>Example </li></ul><ul><ul><li>$CURDIR = & and </li></ul></ul><ul><ul><li>$MYPATH = X:registration </li></ul></ul><ul><ul><li>Model file registration.mdl stored in X:registration </li></ul></ul><ul><ul><ul><li>$CURDIR is used instead of X:registration </li></ul></ul></ul>
    31. 31. Defining Pathmaps
    32. 32. Exercise: Setting up Rational Rose 98 i <ul><li>Set up the Rose user interface for this course </li></ul><ul><ul><li>If you are using Rose Enterprise, do NOT use a framework (hit Cancel on the Framework Wizard) </li></ul></ul><ul><ul><li>Choose the following options (defaults may be used for all the other options) </li></ul></ul><ul><ul><ul><li>Do not show all attributes </li></ul></ul></ul><ul><ul><ul><li>Do not show all operations </li></ul></ul></ul><ul><ul><ul><li>Show operation signatures </li></ul></ul></ul><ul><ul><ul><li>Do not use focus of control </li></ul></ul></ul>
    33. 33. Exercise: Setting up Rational Rose 98 i <ul><li>Add the pathmap CURDIR = & and ROSE_COURSE set to your working directory </li></ul><ul><li>Save the model as registration.mdl </li></ul>

    ×