Unit2 n n n n Rumbaugh Methodology Booch
Unit-2 n n n n Rumbaugh Methodology Booch Methodology Jacobson Methodology Patterns Frameworks Unified Approach Unified Modeling Language Use case class diagram Interactive Diagram Collaboration Diagram State Diagram Activity Diagram. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 1
Chapter Objectives You should be able to define and understand Object Oriented methodologies. - The Rumbaugh OMT - The Booch methodology - Jacobson’s methodologies Patterns Frameworks 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 2
Rumbaugh’s Object Modeling Technique (OMT) -A method for analysis, design and implementation by an object oriented technique. -fast and intuitive approach for identifying and modeling all objects making up a system. -Class attributes, methods, inheritance and association can be expressed easily. -Dynamic behavior of objects can be described using the OMT dynamic model. -Detailed specification of state transitions and their -descriptions within a system 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 3
Four phases of OMT (can be performed iteratively) n Analysis: objects, dynamic and functional models n System Design: Basic architecture of the system. n n Object Design: static, dynamic and functional models of objects. Implementation: reusable, extendible and robust code. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 4
Three different parts of OMT modeling n An object model - object model & data dictionary n A dynamic model - state diagrams & event flow diagrams n A functional model - data flow & constraints 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 5
Object Model n n n structure of objects in a system. Identity, relationships to other objects, attributes and operations. Object diagram 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 6
Object Diagram n n n Classes interconnected by association lines Classes- a set of individual objects Association lines- relationship among classes (i. e. , objects of one class to objects of another class) 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 7
OMT Dynamic Model n n States, transitions, events and actions OMT state transition diagram-network of states and events 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 8
OMT Functional Model n n n DFD- (Data Flow Diagram) Shows flow of data between different processes in a business. Simple and intuitive method for describing business processes without focusing on the details of computer systems. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 9
Data Flow Diagram n Four primary symbols Process- any function being performed Data Flow- Direction of data element movement Data Store – Location where data is stored External Entity-Source or Destination of a data element 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 10
The Booch Methodology n n Widely used OO method Uses the object paradigm Covers the design and analysis phase of an OO system Criticized for his large set of symbols 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 11
Diagrams of Booch method n Class diagramsdescribe roles and responsibilities of objects Object diagrams n describe the desired behavior of the system in terms of scenarios State transition diagrams n state of a class based on a stimulus n n n Module diagrams to map out where each class & object should be declared Process diagrams to determine to which processor to allocate a process Interaction diagrams describes behavior of the system in terms of scenarios UNIT - 2, OO Methodologies, Dept. 11/27/2020 of CSE, SKPEC, Tiruvannamalai. 12
Booch method prescribes: n Macro Development Process n Micro Development Process 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 13
Macro Development Process n n Controlling framework for the micro process. Primary concern-technical management of the system. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 14
Steps for macro development process 1. 2. 3. 4. 5. Conceptualization Analysis & Development of the model Design or create the system architecture Evolution or implementation Maintenance 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 15
Micro Development Process Each macro process has its own micro development process Steps: - Identify classes & objects - Identify class & objects semantics - Identify class & object relationship - Identify class & objects interface and implementation 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 16
JACOBSON METHODOLOGIES n n n Use Cases. Object Oriented Software Engineering. Object Oriented Business Engineering. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 17
n n n Use Cases Understanding system requirements Interaction between Users and Systems The use case description must contain n n How and when the use case begins and ends. The Interaction between the use case and its actors, including when the interaction occurs and what is exchanged. How and when the use case will need data stored in the system. Exception to the flow of events How and when concepts of the problem domain are handled. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 18
OOSE n n Object Oriented Software Engineering. Objectory is built models n n n 11/27/2020 Use case model Domain object model Analysis object model Implementation model Test model UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 19
OOBE n n Object Oriented Business Engineering OOBE is object modeling at the enterprise level. n n n Analysis phase Design and Implementation phase Testing phase n 11/27/2020 E. g. Unit testing, integration and system testing. UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 20
PATTERNS n It is an instructive information that captures the essential structure and insight of a successful family of proven solutions to a recurring problem that arises within a certain context and system of forces. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 21
Good Pattern will do the following n n n It solves a problem. It is a proven concept. The Solution is not obvious. It describes a relationship. The pattern has a significant human component. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 22
Patterns Generative Patterns Non Generative Patterns (describe recurring phenomena without saying how to with saying how to reproduce them) UNIT - 2, OO Methodologies, Dept. 11/27/2020 of CSE, SKPEC, Tiruvannamalai. 23
Patterns Template n Essential Components should be clearly recognizable on reading a pattern: n n n n n 11/27/2020 Name Problem Context Forces Solution Examples Resulting context Rationale Related Patterns Known uses UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 24
Frameworks n n Way of delivering application development patterns to support best practice sharing during application development. Can be viewed as the implementation of a system of design patterns. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 25
Benefits of Frameworks n n Reusability Modularity Extensibility Inversion of Control 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 26
Difference between Patterns and Frameworks n n n Design patterns are more abstract than frameworks. Design patterns are smaller architectural elements than frameworks. Design patterns are less specialized than frameworks. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 27
Model n n An abstract representation of a system. Types of model 1. 2. 3. 4. 5. 11/27/2020 Use case model Domain model Analysis object model Implementation model Test model UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 28
Model Types of model n 1. 2. 3. 4. 5. 11/27/2020 Use case model defines the outside (actors) & inside (use case) of the system’s behavior. Domain model maps real world object into the domain object model. Analysis object model how source code should be carried out & written. Implementation model represents the implementation of the system. Test model test plans, specifications & reports. UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 29
Model n n n Model is an iterative process. It can represent static or dynamic situations. Model Static Provides a system’s parameters at rest or at a specific point in time. (e. g. ) class diagram 11/27/2020 Dynamic Represents a system’s behaviors that, taken together, reflect its behavior over time. UNIT - 2, OO Methodologies, Dept. (e. g. ) interaction of CSE, SKPEC, Tiruvannamalai. & activity diagrams 30
Why modeling n n n Blue print Clarity Familiarity Maintenance Simplification 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 31
Advantages of modeling n n n Easy to express complex ideas Reduce complexity Enhance & reinforce learning and training Low cost Easy to change the model 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 32
What is Unified Modeling Language (UML)? n The UML is a graphical / standard language for visualizing, specifying, constructing & documenting the artifacts of a software system. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 33
History of UML 1980 – 1990 Many different methodologies n Booch method by Grady Booch Object Modeling Technique (OMT) by Jim Rumbaugh Object Oriented Software Engineering (OOSE) by Ivar Jacobson 1. 2. 3. Each method had its strengths & weaknesses. n 1. 2. 11/27/2020 Booch was great in design OMT & OOSE were great in analysis UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 34
History of. UMLUML 1. 0 (January 1997) UML 1. 1 (November 1997) UML 1. 3 (Current Minor revision 1999) UML 1. 4 (Planned Minor revision 2000) UML 2. 0 (Planned Major revision 2004) 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 35
UML Concepts UML can be used to support your entire life cycle. n 1. 2. 3. 4. 5. 11/27/2020 The interaction of your application with the outside world (use case diagram) Visualize object interaction (sequence & collaboration diagrams) The structure of your system (class diagram) View the system architecture by looking at the defined package. The components in your system (component diagram) UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 36
What are Diagrams ? n n Graphical presentation of model elements. A diagram is a graphical means to view a system’s parts 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 37
UML Diagrams n n 8 diagrams You will model the following 5 diagrams only: 1. 2. 3. 4. 5. n Use case diagram Activity diagram Sequence diagram Collaboration diagram Class diagram Interaction diagram The other UML diagrams that can be modeled in Rose are: 1. 2. 3. 11/27/2020 State chart diagram Component diagram Deployment diagram UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 38
Behavior Diagram n n Sequence diagram Collaboration diagram State chart diagram Activity diagram 11/27/2020 Interaction diagram UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. behavior diagram 39
UML Diagrams 1. 2. 3. 4. 5. 6. 7. 8. Class diagram Use case diagram Activity diagram Sequence diagram Collaboration diagram State chart diagram Component diagram Deployment diagram 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 40
1. Class diagram n n Class a set of objects that share the same attributes, operations & relationships. It represented by a compartmentalized rectangle. It shows the structure of your software. 3 compartments 1. 2. 3. 11/27/2020 Top Middle Bottom UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 41
1. Class diagram 1. 2. 3. 11/27/2020 Top shows class name Middle shows class attributes Bottom shows class operation UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 42
1. Class diagram 1. Attributes defines the characteristics or structure of a class. displayed in the middle of the compartmentalized rectangle. Attributes 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 43
1. Class diagram 2. Operation the service provided by the class. displayed in the bottom of the compartmentalized rectangle. Operations 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 44
2. Use case diagram n n n It shows a set of use cases and actors and their relationships. Address the static view of a system. Actor user (or) someone / something outside the system that interacts with the system (it must be a noun) & it is represented by a stickman. ……contd 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 45
2. Use case diagram n n Use case a sequences of actions (it must be a verb) & it is represented by an oval. Relationship illustrates a connection among model elements. Unidirectional n n Bi-directional It is created to visualize the interaction of your system with the outside world. (e. g. ) ATM ……contd 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 46
2. Use case diagram (ATM) 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 47
2. Use case diagram (Pay roll) n n Actors employee & account Use case count leave, disburse salary, check loans, calculate PF, prepare IT returns, calculate HRA & check salary 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 48
Count leave Customer Disburse salary Check loans Calculate HRA Calculate PF Check salary Prepare IT returns 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 49
3. Activity Diagram n n It shows the flow of events with our system & what is going on inside a use case. We draw the activity diagram for each & every use case. Login (use case) – (e. g. ) ATM It is showing flow of control from activity to activity. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 50
3. Activity Diagram n n Activity it represents the performance of a task within the workflow. Activity is represented by a lozenge (horizontal top and bottom with convex sides) Start state shows the beginning of a workflow on an activity diagram. There is only one start state. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 51
3. Activity Diagram n n n A start state is represented by a solid circle. An end state represents a final or terminal state on an activity diagram. A end state is represented by a bull’s eye. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 52
3. Activity Diagram n n A state transition shows what activity follows after another. It is represented by a solid line with an arrow. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 53
3. Activity Diagram n n n A decision is a point in an activity diagram where guard conditions are used to indicate different possible transitions. It is represented by a diamond. Guard conditions control the transition of a set of alternate transitions that follows after the activity has been completed. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 54
3. Activity Diagram AND Synchronization bar Joint 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 55
3. Activity Diagram n n A synchronization bar allows you to show concurrent threads in a work flow of a use case. It represented by a thick horizontal or vertical line. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 56
3. Activity Diagram n A swimlane is used to partition an activity diagram to help us better understand who or what is initiating an activity. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 57
3. Activity Diagram – Login Use case 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 58
4. Sequence Diagram n n It shows step by step what must happen to accomplish a piece of functionality provided by the system. It has 2 Ds. 1. 2. n Vertical dimensions represents time Horizontal dimensions represents different objects. Vertical line is called the object’s life line. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 59
4. Sequence Diagram n n n Life line the existence object at a particular time. Objects are shown at the top. The object role is shown as a vertical dashed line, the life line. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 60
4. Sequence Diagram n n n A message is the communication between 2 objects that triggers an event. It is represented by a labeled arrow. Each message is represented by an arrow between the life lines of 2 objects. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 61
4. Sequence Diagram n n A focus of control shows the period of time during which an object is performing an action, either directly or through a subordinate procedure. It represented by a tall, thin rectangle. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 62
4. Sequence Diagram – login success 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 63
5. Collaboration Diagram n n It displays objects and their links to one other. It is also known as an interaction diagram. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 64
5. Collaboration Diagram n It is made up of the following basic elements : 1. 2. 3. 4. Actors Objects Links Messages 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 65
5. Collaboration Diagram user 2. data + logic / the representation of some real world entity. 3. Links a pathway for communication between objects. represented by a solid line between 2 objects 4. Messages the communication between objects that triggers an event. represented by a labeled arrow above the link. 1. Actors Objects 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 66
5. Collaboration Diagram – Login use case 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 67
6. State Chart Diagram n n n It shows the sequence of states. A state is represented as a rounded box, which may contain one or more compartments. Name compartment holds the name of the state. Internal transition compartment list of actions / activities Start & end states 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 68
7. Component Diagram n n It shows relationship between the components in the system. A component may be a software component [for (e. g. ) a. h file in C++ (or) a. java file in Java], a run time component [for (e. g. ) a. DLL file] 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 69
8. Deployment Diagram n n It shows the configuration of run time processing elements & the software components, processes & objects that live in them. It shows the nodes in the system & the connections between them. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 70
Review n n n n Name the 2 benefits of visual modeling. What is UML? Name three UML diagrams. What are the elements of a use-case diagram? Define a use case. Define an actor. What is meant by a relationship? 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 71
Module Summary Visual modeling n 1. 2. 3. 4. 5. 11/27/2020 The interaction of your application with the outside world (use case diagram) Visualize object interaction (sequence & collaboration diagrams) The structure of your system (class diagram) View the system architecture by looking at the defined package. The components in your system (component diagram) UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 72
Module Summary n UML The UML is a graphical / standard language for visualizing, specifying, constructing & documenting the artifacts of a software system. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 73
Module Summary n You can model the following 8 UML diagrams in Rational Rose. 1. 2. 3. 4. 5. 6. 7. 8. 11/27/2020 Use case diagram Activity diagram Sequence diagram Collaboration diagram Class diagram State chart diagram Component diagram Deployment diagram UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 74
Views and Diagrams in Rational Rose n What is model? A model is a simplification of reality or the blueprint of the system. n What is view? A view is a perspective of the model (ie) meaningful to specific stakeholders. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 75
Views Logical View (Analyst / Designer) Structure Implementation View (Programmers) Use case view (end user functionality Software Management Process View (System integrators) Deployment View (System Engineering) Performance, scalability & throughput System topology, Delivery, installation & Communication 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 76
Views n In Rose, you can create the following views 1. 2. 3. 4. 5. Use-case view Logical view Process view Component view (Implementation view) Deployment view These views together create what we call the 4+1 Architectural View 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 77
Use Case View n n n It specifies WHAT the system should do? Servers as a contract between customer and developer. Essential to analysis, design and test activities. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 78
Logical View n n n It supports the functional requirements of the system. It includes use-case realizations, class and interaction diagrams. It can also include state chart and activity diagrams. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 79
Process View n n Addresses the performance, scalability and throughput of the system. Is not necessary for a single Processing environment. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 80
Component / Implementation View n Addresses issues of ease of development, management of software assets, reuse & etc. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 81
Deployment View n n Addresses issues like deployment, installation and performance. . Used for distributed system only. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 82
Rational Rose Interface n It includes the following : Ø Ø Ø Browser Diagram window Diagram toolbar Documentation window Log window Options window The options window is not technically part of the rose interface. However, it is important in your initial setup. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 83
The Browser n n The browser allow you to textually view and navigate the views and diagrams in rational rose. Display the elements that you have modeled. if an element doesn’t appear in the browser, it not a part of your modeled system. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 84
Diagram window n The diagram window allows you to create and update graphical views of the current model. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 85
Diagram Toolbar n n n The diagram toolbar includes the elements to build a diagram. Each diagrams toolbar unique to that diagram. It is active only when the diagram is displayed. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 86
Documentation window n Used to create, view or modify text that explains a selected item within a diagram. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 87
Log window n n Reports progress, result and errors. For (e. g. ) code generation commands post progress and error messages to this window. To display log window, go to View menu, click LOG to show or hide the window. To clear the contents of log window, click CLEAR LOG. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 88
Options window n n Used to set all of your default for modeling. Note that if you change default, existing model elements are not changed. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 89
Basic tool techniques n There are two basic tool techniques we will discuss before you begin the labs. They are 1. 2. 11/27/2020 Deleting diagram elements Adding diagram elements UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 90
Deleting diagram elements n n What happens when you delete an element from the browser? Rose does the following. Removes the selected elements from the model Removes all icons representing the elements from all diagrams on which they appear. Delete the specification for the element. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 91
Deleting Diagram Elements n 1. 2. 3. There are three ways to delete an element. Click the element in the diagram and then press ctrl-D Right click the element in browser, and then click delete Click the element in the browser or diagram. From the edit menu, click delete from model. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 92
Adding diagram elements n How do you add diagram elements? n 11/27/2020 You add elements to a diagram from either the diagram tool bar or browser. UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 93
Review n n What are views? Name a view in rose and discuss its purpose. Name two feature of the rose interface Discuss deleting from the browser versus the diagram. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 94
Module Summary Rational Rose uses views & diagrams to depict varying perspectives and a system’s parts. There are 5 views in Rational Rose : n n 1. 2. 3. 4. 5. 11/27/2020 Use case view Logical view Process view Component / implementation view Deployment view UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 95
Module Summary n n n Diagrams are a graphical means to view a system’s parts. The browser shows all of your model elements Diagram window is to create a view Diagram toolbar includes the elements to build a diagram. Documentation window is used to create, view or modify text that explains a selected item within a diagram. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 96
Module Summary n n Log window reports progress, results & errors. Option window allows you to set your defaults. Deleting diagram elements ctrl D, DEL key (or) go to edit menu, click DELETE FROM MODEL. Adding diagram elements click the element & then click in the diagram window. 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 97
Thank You! 11/27/2020 UNIT - 2, OO Methodologies, Dept. of CSE, SKPEC, Tiruvannamalai. 98
- Slides: 98