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
2
votes
0 answers

How to export a GMF diagram outside eclipse?

One of the features of Papyrus that I find really useful is the ability to programmatically interrogate the UML models that it creates by using the UML2 runtime outside the Eclipse UI. This is great for running simple tools to, e.g., produce…
2
votes
1 answer

Adding a new datatype to UML models with Papyrus

I'm trying to add new datatypes to my Papyrus installation so that class attributes I will create could be of these datatypes. I defined a profile containing these datatypes (I just made drag-and-drops of widgets from the palette to the editing…
Kaem Jii
  • 82
  • 8
2
votes
1 answer

Add Type to Operations in Papyrus Class diagram,

I just want to know how can I add a Type (for example String) to a Operation in Papyrus Class diagram. Because if I drag a Operation form the palette to the Classe diagram, the Operation will be without any Return Type. (I want to show for example…
NarsiL
  • 21
  • 1
  • 2
2
votes
1 answer

message syntax in sequence diagram

i am using Papyrus for modeling sequence diagram i wonder if there is syntax that i should follow for the message that resides between lifelines and also how can identify the variables associated with a message in the parameter
Carlos
  • 1,522
  • 5
  • 14
  • 26
2
votes
2 answers

Associate operation to activity diagram

How can I associate messages(operation calls) in a sequence diagram to its implementation(method)as an activity diagram? I am using Papyrus for modelling.
Carlos
  • 1,522
  • 5
  • 14
  • 26
2
votes
0 answers

Papyrus time profile

i am new with MARTE and i read the specification related to time modeling subprofile promoted by OMG . by your experience,how can we build time profile for model?
Carlos
  • 1,522
  • 5
  • 14
  • 26
2
votes
1 answer

Papyrus 0.9.0M6 Installation to Eclipse Juno cannot be completed

While installing Papyrus 0.9.0M6 to Eclipse Juno through the downloaded .Zip file, Juno says, Cannot complete the install because one or more required items could not be found. Software being installed: Papyrus SDK Binaries (Incubation)…
hanmomhanda
  • 305
  • 1
  • 2
  • 15
1
vote
0 answers

How to import .uml file in Eclipse Papyrus?

I have some .uml files that I need to open in Eclipse Papyrus Tool. I am copying the .uml XMI code in Papyrus Model XMI uml file but the problem is that I am not able to see any view.
AdPy
  • 176
  • 9
1
vote
0 answers

How model nested activities in an Activity Diagram in Papyrus

I am trying to create nested activity diagrams in Papyrus. My Problem: I don't know how to create a sub-activity-diagram directly from an action of my main activity-diagram. I want also to transfer ports from the action to the sub-diagram. In cameo…
lennox84
  • 11
  • 2
1
vote
0 answers

Applying Eclipse Papyrus Designer stereotypes programmatically

I have created a java program that uses Eclipse UML2 to load a .uml file and perform a model translation that (amongst other things) applies Papyrus Designer stereotypes (Codegen and C_Cpp profiles). Papyrus Designer can then be used to load the…
Graham L
  • 11
  • 2
1
vote
1 answer

Papyrus SysML UML how to hide numbers next to the composition or aggregation line

I want to draw a block definition diagram and there are some lines for aggregation and composition. But I don't need the numbers next to the lines like 0..1 or 1. I want the line to be just the straight line, without any numbers next to it. Does…
1
vote
1 answer

OCL - Doubts about UML constraints and Complete OCL file in Papyrus

I want to evaluate constraints in both UML class diagram and Complete OCL file. I searched but I only found examples where the methods are in the same class. Below is an example of an UML diagram class about which I have the following…
1
vote
1 answer

Papyrus - OCL constraint to verified property

My class has 2 properties (String) that are two types of people's document numbers. To verify if the documents has valid numbers, a calculation is realized (verifiers digits). Below an example how is realized a consistensy of one of them: Number:…
1
vote
1 answer

Problem creating sequence diagram in papyrus

I created simple sequence diagram in Papyrus. It has lifeline1, lifeline2, and one async message from lifeline1 to lifeline2. When i delete message from diagram (it stays in model), and try to drag and drop that message from model to diagram it…
st.
  • 87
  • 4
1
vote
1 answer

Papyrus (Eclipse) - How to generate diagrams by code?

I need to generate a Diagram for Papyrus (Eclipse neon) by Code, but on the networx I cant't find any explaination about creating diagrams by code except for BDD. My actual situation is the following: I receive a .csv file containing some…