Questions tagged [papyrus]

For questions about Papyrus which is an open-source UML modelling tool based on Eclipse.

Papyrus provides an integrated, user-consumable environment for editing any kind of model and particularly supporting UML and related modeling languages such as SysML and MARTE.

Papyrus provides diagram editors for EMF-based modeling languages amongst them UML 2 and SysML and the glue required for integrating these editors (GMF-based or not) with other MBD and MDSD tools.

It also offers a very advanced support of UML profiles that enables users to define editors for DSLs based on the UML 2 standard and its extension mechanisms. The main feature of Papyrus regarding this latter point is a set of very powerful customization mechanisms which can be leveraged to create user-defined Papyrus perspectives and give it the same look and feel as a native DSL editor.

Project: http://www.eclipse.org/papyrus/

Wiki: http://wiki.eclipse.org/MDT/Papyrus

143 questions
1
vote
1 answer

Eclipse crashes with reference count error message cairo_surface_destroy

My Eclipse with papyrus (2018-12) crashes on Linux (16.04) with the following error: cairo-surface.c:953:cairo_surface_destroy:Assertion`CAIRO_REFERENCE_COUNT_HAS_REFERENCE `(_cairo_atomic_int_get (&(&surface->ref_count)->ref_count) > 0)'…
Skaikru87
  • 51
  • 4
1
vote
1 answer

Link instances in a UML class diagram with Papyrus

Under Papyrus 4.2.0, how can I link two instance specifications (as described here or here)? I created a new class diagram, created two Instance Specifications, and click on the Link entry in the Edges Palette, and when hovering over my instances,…
Olivier Cailloux
  • 977
  • 9
  • 24
1
vote
1 answer

Which class diagram is correct: with or without inheritance?

This customer needs to have one payment account. I'm not sure whether it works to have customer having one inherited class. These are my two ideas: Without Inheritance: With Inheritance:
C Finn
  • 21
  • 6
1
vote
0 answers

In Spring State Machine Papyrus UML, how to move from any of the multiple states to Canceled state, based on specific event?

There is 20 states and I want to move from any of that state to Canceled state, based on specific event. How can I achieve this using Papyrus UML Spring State Machine? I'm expecting like a grouping of multiple states and connect this group to the…
1
vote
1 answer

How to specify OCL constraint in activity diagram using Eclipse Papyrus?

Details I have an activity diagram for Login section designed in Eclipse Papyrus. Now I have to write OCL constraints for the following conditions: a username must be string and < 8 characters a password must be numeric+special chars and > 10…
discky
  • 7
  • 3
1
vote
1 answer

How to export diagrams as images in Papyrus 3.2.0?

I have been working on a model for some weeks with Papyrus 3.2.0 on Eclipse 4.7.1a. This morning I wanted to start including some of the diagrams in a report but this version of Papyrus is unable to export diagrams as images using the Export All…
Luís de Sousa
  • 5,765
  • 11
  • 49
  • 86
1
vote
2 answers

Error in Eclipse Papyrus

I installed Papyrus on Eclipse Oxygen, opened a new model, opened a new use-case diagram, created a new use-case and added some documentation. When I tried to edit the documentation and save it, I got the following error: An error has occurred. See…
Erel Segal-Halevi
  • 33,955
  • 36
  • 114
  • 183
1
vote
1 answer

Using 2 different Papyrus UMLstatemachines with the spring-statemachine project

Link to the project on github for testing The Payprus Files are here I'm trying to make a State-Machine with Papyrus. The State Machine should combine two single state-machines to one, as you can see in the first image: the state machine 1 is…
Joergi
  • 1,527
  • 3
  • 39
  • 82
1
vote
0 answers

Generating UML class diagram from XML file

I have to create plugin in eclipse papyrus for reverse engineering from DDL script to UML schema relational database. I've used JSQLParser, created Java represation and XML file. This is DDL script for example: CREATE TABLE TABLE ( Column1 VARCHAR…
Ethan
  • 13
  • 4
1
vote
1 answer

How to check SysML stereotypes with Acceleo?

I'm using Eclipse 4.6.3 (Neon.3) with Acceleo 3.6.6, Paprus 2.0.3 and Papyrus SysML 1.4 0.10.1. How can I check from an Acceleo MTL script, whether a class of my model has the SysML Block stereotype applied? The method getAppliedStereotypes() only…
1
vote
1 answer

Papyrus 2.0.1 installation fail on eclipse neon (Release 4.6.1)

Eclipse for PHP Developers Version: Neon.1a Release (4.6.1) Build id: 20161007-1200 http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/neon Papyrus version: 2.0.1 I am currently using above eclipse version on windows 2012 R2 64bit…
Chaminda Bandara
  • 2,067
  • 2
  • 28
  • 31
1
vote
0 answers

Is aspect-oriented modelling possible in papyrus?

I am new in papyrus modelling. I asked the same question in Papyrus forum, but I didn't get any reply. I believe, somebody could help me in this regard. Anyway, I am wondering how to do aspect-oriented modelling in papyrus state machine. I have some…
arefinsami
  • 363
  • 2
  • 7
  • 18
1
vote
2 answers

Importing a UML model based on UML2 version 2.0.0 in eclipse

I have a UML model based on UML2 version 2.0.0 (xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML"). In eclipse I have latest version on Papyrus installed, which comes with UML2 version 2.5.0. The model I have is a very simple model generated from…
Gunjan Aggarwal
  • 710
  • 5
  • 19
1
vote
0 answers

Extending the MARTE profile in Papyrus

I am trying to implement a new UML profile as an extension of the MARTE profile using Eclipse/Papyrus. However, whenever I try to define this profile, I get the following error: the feature 'eClassifier' of 'MARTE_Library_BasicNFP_Types_NFP_Real'…
user1723583
  • 553
  • 1
  • 6
  • 18
1
vote
2 answers

Switching from Rhapsody to Eclipse (Papyrus) - UML model conversion?

Our team has been using Rhapsody for developing UML models and c++ code for 10+ years, and we would like to switch to Eclipse and use Papyrus for UML modeling. We have compatibility concerns: would the UML models (all class diagrams, state machines…
joanita
  • 11
  • 2