0% found this document useful (0 votes)
283 views25 pages

Star UML

This document provides an overview of modeling software using StarUML. It discusses downloading and installing StarUML, creating new projects, and the basic project management procedures. It then describes the Rational Software approach, which organizes a project around use case, logical, component, and deployment views. Each view contains specific diagram types for modeling different aspects of a software project. The document concludes by discussing how to create and organize model elements, and provides examples of modeling with various diagram types including use case diagrams, sequence diagrams, class diagrams, and others.

Uploaded by

Hengky Saputra
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
283 views25 pages

Star UML

This document provides an overview of modeling software using StarUML. It discusses downloading and installing StarUML, creating new projects, and the basic project management procedures. It then describes the Rational Software approach, which organizes a project around use case, logical, component, and deployment views. Each view contains specific diagram types for modeling different aspects of a software project. The document concludes by discussing how to create and organize model elements, and provides examples of modeling with various diagram types including use case diagrams, sequence diagrams, class diagrams, and others.

Uploaded by

Hengky Saputra
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 25

Introduction

How to download the Software?


Project Creation
Project Management Procedures
Approach For Rational Software
Creating a new element
Organizing Model Structure
Modeling with UseCase Diagram
Modeling with Sequence Diagram
Modeling with other Diagram
References

StarUML - The Open Source UML/MDA Platform


UML(Unified Modeling Language)
standard managed by OMG(Object Management Group)
StarUML Supports the Latest Version of UML i.e UML 2.0
MDA(Model Driven Architecture)
Supports MDA
Provides Customization variables like
UML profile
Approach
Plug-in Architecture :
develop plug-in modules in COM-compatible languages
C++, Delphi, C#, VB, Java.

Go-to website
http://staruml.sourceforge.net/en/about.php
Select [StarUML Downloads] on the left menu
button.
Click on the URL shown below and download

Installation Process is self explanatory


Assign the work Space in the local drive to
store files and explicitly downloaded add on.

A new software development requires a new


project to be created
Project can be started in two ways
empty project
New project that has been initialized according to a
specific approach

New Project
Select the [File] -> [New Project] menu.

New Project according to a specific inbuilt


approaches:
Select the [File] -> [Select New Project] menu.
In the dialog box, you can set the default approach.
Approach is applied in the beginning of the project to
determine the initial model structure.

Opening Project
Select the [File] -> [Open] menu.

Saving Project
Select the [File] -> [Save] menu. <filename.uml>

Closing Project
Select the [File] -> [Close] menu

Importing a Framework

In order to use a framework in a project, the framework must be


loaded. Once a framework is loaded, all the elements contained in
the framework can be used.

Procedure for Importing Framework:


1. Select the [File] -> [Import] -> [Framework] menu.
2. At the Import Framework dialog box, select a framework to import
and click the [OK] button.
3. The Select Element dialog box appears, to determine which element
will contain the framework to import. Select an element (package,
model, subsystem, or project) to contain the framework and click the
[OK] button.
4. The framework is added to the selected element.

Rational Software is organized around the following


views of a software project:
Use Case
Logical
Component
Deployment

Helps us to understand and use the system


This view looks at how actors and use cases
interact
The diagrams in this view are:
Use-case diagrams
Sequence diagrams
Collaboration diagrams
Activity diagrams
This view contains a Main diagram by default.
Additional diagrams can be added throughout the
analysis and design process.

The logical view looks at classes and their


relationships.

The diagrams in this view are:


Class diagrams

Statechart diagrams.

The component view addresses the software


organization of the system.
This view contains only component diagrams.

The deployment view shows the mapping of


processes to hardware.
most useful in a distributed architecture
environment where you might have
applications and servers at different locations

create a new element in the diagram from the pallet.

Select an element type to create from the pallet.


Click a location in the diagram area to create the element.
(Drag the mouse to select an area to specify the size of
the new element. If creating an element that connects
two elements together, ensure that the connection is
made accurately.)

Note:
1.
Click one element twice to create multiple elements.
2.
Click the the
item in the pallet when creating
elements is complete

Creating Model Element


1.
2.

3.

Select from the model explorer an element to contain the new


model element.
Right-click and select the [Add] menu and select an element type
from the menu. Or, select the [Model] -> [Add] menu from the
main menu.
The new model element will be created under the selected model.

Deleting Model Element

Moving Model Element(drag)

Modify Model Element Order

Model Alignment

Right click an element and click


[collection editor] menu

Use the Properties View to


edit the properties of an
element

Object:
If the class does not
exist until now:

Add class

If the class Exists, create


object from class:

1. Drag the class icon in the


model explorer into the
sequence diagram;

2. If you want existing class

The class will be added,


and it can be seen in the
model explorer.

to be assigned to object,
click button
in
object's classifier property,
and select class to be
assigned to object at the
[Select a model element]
dialog.

Stimulus

Enter the
stimulus name
at the quick
dialog and
press [Enter]
key

To assign existed
operation to
stimulus

To create operation of
class as stimulus's
receiver from object
and assign it to
stimulus

The [ActionKind] property of stimulus should be


assigned to one of five sort as following. To change
[ActionKind] property, select stimulus and select
the [ActionKind] property on the properties window.

Convert sequence diagram to collaboration


diagram
Convert collaboration diagram to sequence
diagram

Modeling
Modeling
Modeling
Modeling
Modeling
Modeling
Modeling

with
with
with
with
with
with
with

Class Diagram
Statechart Diagram
Collaboration Diagram
Activity Diagram
Component Diagram
Deployment Diagram
Composite Structure Diagram

http://time.sintef9013.com/
http://staruml.sourceforge.net/en/about.php
http://web.uettaxila.edu.pk/CMS/AUT2012/s
eSDAbs/labs%5CSDA%20Lab3.pdf

You might also like