8. Model Fusion HTTP://FAC.KSU.EDU.SA/AQUADRI SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Clicking on the link for the.tns file gives you will get the following screen: Select Save File and click OK.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Access Tutorial 1 Creating a Database
Presentation 4: IBM Rational Software Architect Example James Martin CpE 691, Spring 2010 February 18, 2010.
® IBM Software Group © 2006 IBM Corporation The Eclipse Data Perspective and Database Explorer This section describes how to use the Eclipse Data Perspective,
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
® IBM Software Group © 2006 IBM Corporation Creating JSF/EGL Template Pages This section describes how to create.JTPL (Java Template Pages) using the Page.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Advanced Forms Lesson 10.
Web Technologies Website Development Trade & Industrial Education
Create Database Tables
Inspire students to develop ideas & organize thinking
MS Access Tour Sesión # 6. MS Access Tour Database Management System (DBMS): An application software that allows users to create, manipulate, and change.
® Microsoft Access 2010 Tutorial 1 Creating a Database.
1 Databound Controls. 2 Objectives You will be able to use design time data binding to display and update SQL Server database data without writing any.
Class Agenda Excel  PivotTables Excel & Word Integration Try PivotTable tutorial & work on Assignment #1.
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
Inspiration 7.5 A Tutorial.
CREATING A TEST IN WORD 2007 Also creating and using equations in Word 2007 Jeff Klamm Tec 539.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Modeling & simulation of business cases Editing diagrams.
Microsoft Access 2010 Chapter 10 Administering a Database System.
1. Click the arrow beside the SOLIDWORKS symbol 2. Under this arrow click on the “File” button 3. Click on the “Open…” button 4. Find your folder wherever.
® Microsoft Office 2013 Access Creating a Database.
Introduction to Microsoft publisher
Using COMET with Visio Visio UML Modeling. Creating a Drawing After opening Visio, you will see a list of templates available.
FrontPage Tutorial Part 2 Creating a Course Web Site.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
Creating Your First Web Page – Topic: Creating a wiki, blog, image blog and podcast Click Arrow - Next Slide 1.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Essentials of Modeling with IBM Rational Software Architect V7.5
This is how you invoke the Microsoft Visual Studio 2010 Software. All Programs >> Microsoft Visual Studio 2010.
Exporting. Export Step 1 – In Outlook select Contacts.
® IBM Software Group © 2007 IBM Corporation Module 3: Creating UML Diagrams Essentials of Modeling with IBM Rational Software Architect, V7.5.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
® IBM Software Group © 2006 IBM Corporation Create EGL/JSF HelloWorld Pages This learning module walks you through the process of creating two simple “hello.
Introducing IBM Rational Software Architect
Tutorial 1 Creating a Database
Dijagram klasa: UML to JAVA
Microsoft Visual Basic 2010: Reloaded Fourth Edition
Visual Basic 2010 How to Program
Chapter 2: The Visual Studio .NET Development Environment
4. Code Transformation SWE SOFTWARE PROCESS MODELING - AMAN QUADRI.
Developer 2000 CSE 4504/6504 Lab.
Access Tutorial 1 Creating a Database
How to develop a presentation portfolio in Foliotek
Microsoft Official Academic Course, Microsoft Access 2013
Access Creating a Database
Naming, Saving, & Retrieving Files
Word and the Writing Process
Access Creating a Database
Comprehend. Create. Communicate. Achieve More.
4. Modelling the Applications - II
The mouse controls the movement of the pointer on your screen.
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Access Tutorial 1 Creating a Database
面向对象分析与设计 Use of starUML By Wang Meihong.
Creating and Modifying Queries
4. Modelling Communications
1. Open Visual Studio 2008.
Microsoft Office Access 2003
Access Tutorial 1 Creating a Database
Process Exchange Transactions Activity
Access Tutorial 1 Creating a Database
Presentation transcript:

8. Model Fusion HTTP://FAC.KSU.EDU.SA/AQUADRI SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI Coverage Coverage: Use Rational Software Modeler to create a modeling project. Create two models Fuse two models together Apply a design pattern to a model SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

Create UML modeling – Model 1 Open Rational Software Modeler. From the Window menu, select Open Perspective > Other.... Select Modeling and click OK. Make sure any other open projects are closed. From the File menu, select New > Other.... SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI Contd… Expand Modeling and select UML Project, as shown below. Figure 1. New Project Wizard Click Next. In the UML Modeling Project window, name the project ‘Project1’ Figure 2. Naming the project Click Next In the Create a new UML model window, select the Blank Model template. In the File name: field, type Project1Model. Select Freeform Diagram from the drop-down menu for Default diagram type. Click Finish. SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI Contd… Close the Project1Model.emx editor that was automatically opened by creating a new project. Close the Project1Model::Main editor that was automatically opened by creating a new project. Create a UML Model in the project: In the Project Explorer view, right-click MyModel Select Add UML > Package Type sample as the name and press Enter Project1Model::sample::Main should now be open in the editor view. (If not, try closing and reopening the editor.) SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI In the Palette, on the right side of the editor, click to expand the Class components. Click Class. Click anywhere in the Project1Model::sample::Main editor. Type YourClass for the class name, as shown below, and press Enter Right-click YourClass and select Add UML > Attribute - ‘yourAttribute:String’ Right-click YourClass and select Add UML > Operation - ‘yourOperation()’ Press CTRL+S to save all changes. Add 2 more classes ‘yourAssociatedClass1’ and ‘ youAssociatedClass2’ and connect ‘YourClass’ using ‘Directed Association’ Save the model – Ctrl+s SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

Add Another UML Project and Model Project Name – Project 2 Model Name – Project2Model Add UML Package Add a class ‘YourAnotherClass’ Add Attribute ‘yourAnotherAttribute:Int’ and Operation ‘yourAnotherOperation()’ Save the model – Ctrl+S SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI Model Fusion In Rational Software Modeler, you can fuse models in two ways: "Harvest" material from one UML model or code model, and "smart paste“ it into another UML model. Combine two logical models into a single logical model. SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI Model Fusion - contd In the Project Explorer view, expand both projects you created earlier. Click Project1Model, press and hold CTRL, and select Project2Model. Right-click Project2Model and select Combine Models In the Combine Models window, select Project1/Project1Model.emx. Click OK. * The Visual Combine will open * The Pending changes: view lists all of the changes that can be made to the target model in order to combine it with the source. * Check the model/class in project2model Click OK SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

Apply Design Pattern (Observer) to UML In the Project Explorer view, open the Project1Model::sample::Main editor. From the main menu, select Window > Show View > Other Expand the Modeling folder and select Pattern Explorer. Click-and-drag the Pattern Explorer view to the right side of the screen In the Pattern Explorer view, expand Design Patterns > Behavioral and select Observer In the Pattern Explorer view, click-and-drag Observer onto a blank spot in your editor You can now see an abstraction of the Observer design pattern in UML notation. You need to bind classes to both a ConcreteSubject and a ConcreteObserver. In this example, the subject will be YourClass and the observers will be the two associated classes SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI

Applying UML Pattern – Contd. In the Project1Model::sample::Main editor, click-and-drag YourClass onto the ConcreteSubject section of the Observer pattern. click-and-drag both YourAssociatedClass1 and YourAssociatedClass2 onto the ConcreteObserver section of the Observer pattern. Right-click on a blank spot in the editor and select Select > All Right-click YourClass and select Filters > Show Related Elements In the Custom Query: list, select Show All Relationships [Default]. Change the Select in Model(s): drop-down to Project1Model Click OK. Right-click on a blank space in your editor and select Arrange All SWE 313 - SOFTWARE PROCESS MODELING - AMAN QUADRI