Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Getting Started with Papyrus UMLLight"
(Added Subject) |
(→Actor: Added actor description) |
||
Line 127: | Line 127: | ||
=== Actor === | === Actor === | ||
+ | |||
+ | An Actor models a type of role played by an entity that interacts with the subject (e.g., by exchanging signals and data) but which is external to the subject (both people and external systems can be actors). | ||
=== Use Case === | === Use Case === | ||
=== Relationships === | === Relationships === |
Revision as of 11:36, 30 April 2019
Getting Started with Papyrus UMLLight
Contents
Introduction
As part of this tutorial, the trainee will:
- Learn how to download and install Papyrus UMLLight.
- Become familiar with the various aspects of the modeling environment such as workspaces, menus, views, perspectives and palettes.
- Become familiar with the elements that make up the“Papyrus UMLLight” subset.
- Through the implementation of a sample modeling project, become familiar with a simple model development approach that will enable you to use the elements that are part of the Papyrus UMLLight subset.
At the end of the training, the trainee will be able to apply their acquired knowledge in real project.
What this tutorial is and is not
what this tutorial IS | What this tutorial Is NOT |
---|---|
An overview of the Papyrus UMLLightuser interface | A UML specification tutorial |
An overview of the UML diagrams and elements available in Papyrus UMLLight | An exhaustive tutorial on all UML diagrams, entities, and semantics |
An hands-on experience developing a UML model with Papyrus UMLLight | A tutorial advocating a specific method for modeling software, |
What are Papyrus and Papyrus UMLLight
What is Papyrus
- * A complete open Source editor that Conform to UML, SysML, and other Object Management Group (OMG) standards
- * [An Eclipse Project [1]
- A familly of modeling tools
- Papyrus itself (both tool and platform) ("Papyrus")
- * Papyrus for information modeling ("Papyrus-IM")
- * Papyrus for Real-time ("Papyrus-RT")
- * and now Papyrus UMLLight
- * [Supported by the Papyrus Industry Consortium, a community of developers, committers and contributors from many organizations and involved in different application domains.
What is Papyrus UMLLight
- * A specialized variant of Papyrus that provides:
- * * an optimized “Foundation level” subset of UML;
- :: * with a streamlined user interface for creating, viewing, and editing models
Comparing Papyrus and Papyrus UMLLight
Papyrus UMLLight User personae.
After discusions with various stakeholders, the Papyrus UMLLight team defined the following three user personae to express the targeted users:
* Nicole, a [Papyrus novice, is knowledgeable in UML but not familiar with Papyrus or Papyrus UMLLight * Steve - a UML Novice and Student, a student and novice in UML, Papyrus, and Papyrus UMLLight * Brisha, a Basic UML User, only uses UML from time to time and then only for basic purposes such as documentation or, presentations
You can also have a look at the full personae descriptions
Palettes
Palette Structure
Palette Customizations
Each diagram has a “palette” containing the model elements that can be used with that diagram – you can think of it as a “toolbox” for each diagram. Each Papyrus UMLLight diagram’s palette has ben customized to meet the goals of this simplified version of Papyrus.
Palettes
Views of all the Papyrus UMLLight Palettes (in alphabetical order)
Installing Papyrus UMLLight
To install Papyrus UMLLight, follow these steps:
1. Ensure that you have Java 8 (or later) installed and configured for your operating system
2. Go to: https://wiki.eclipse.org/Papyrus_UMLLight#Downloads
3. The list of downloads for different operating environments will be displayed:
- * Papyrus UML Light 0.0.1 RC2* for Windows 64bit
- * Papyrus UML Light 0.0.1 RC2* for Linux 64bit
- * Papyrus UML Light 0.0.1 RC2* for MacOS X 64bit
- * Note that the version displayed may be different! from the one listed above
4. Click on the link for your development environment to download the archive
5. Extract the executable from the downloaded archive into the proper location for your operating system
:: Tip: On MacOS and some Linux, you may need to use “gunzip” followed by “tar xvf” to successfully extract the archive.
6. You are now ready to start using Papyrus UML Light!
:: But before we start, let's have a look at our project!
Online Shopping System (OSS) Project Overview
The Online Shopping System (OSS) is a web-based system that allows customers to
- browse and search for products available in the catalogue and view their information;
- Add/remove products to/from a virtual shopping cart;
- View the content of the chopping cart;
- Purchase shopping cart products using a Credit or an online payment service (e.g., PayPal)
- have the purchased items delivered.
We will elaborate on this as we start the creation of a model that will describes this system.
A note about the OSS project
The goal of this tutorial is to familiarize the user with Papyrus UMLLight capabilities and, exercises have been designed to meet this goal. As such, the system will not be implemented in it’s entirety as part of this tutorial. The skills you gain as you progress through the tutorial will enable you to complete the exercises on your own.
Use Case Modeling
Use case modeling is about users, their needs, and how they interact with the system being built, as well as the OSS system's interactions with other systems.
Basic Use Case Diagram Concepts
Before We start, let's understand the main concepts of use case modeling.
Subject
The subject represents the system under consideration ("OSS" in our case) to which a set of use cases applies. The subject represents the boundary between our system and it's interactions with the "outside world." What is inside the subject constitutes the functionality of the system and what lies outside are elements that interact with our system, either by providing input into the systems or by providing services to the system.
Actor
An Actor models a type of role played by an entity that interacts with the subject (e.g., by exchanging signals and data) but which is external to the subject (both people and external systems can be actors).