Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Can't create State Machine Diagram
Can't create State Machine Diagram [message #1769330] Sat, 29 July 2017 18:36 Go to next message
Gino Corazzi is currently offline Gino CorazziFriend
Messages: 5
Registered: August 2016
Junior Member
Hello, I'm building a SysML 1.4 model using Eclipse Oxygen (4.7.0) and Papyrus 3.0.0.
I created a few packages in my model root and I would like to create a State Machine Diagram in one of those, however, when i right click on the package and select 'New Diagram' I can't see any State Machine Diagram. I also tried to import the UML profile (Standard profile for UML models) but nothing changes.

Since I'm not sure wheater a Package can contain a State Machine Diagram, I also tried to create a new State Machine as a child of the package but right-clicking on it and selecting 'New Diagram' only shows 'Activity Diagram'.

How do I create State Machine Diagrams?
Re: Can't create State Machine Diagram [message #1769350 is a reply to message #1769330] Sun, 30 July 2017 16:15 Go to previous messageGo to next message
Daniel Sicard is currently offline Daniel SicardFriend
Messages: 3
Registered: July 2017
Junior Member
Your method is OK and should work. However SysML 1.4 model in Oxygen (4.7.0) and Papyrus 3.0.0 still has a few snags.

One of these snags is that not all SysML 1.4 diagrams are available in the SysML architecture.

If you installed Oxygen/Papyrus/SysML a few time ago (about 3 weeks) you will be missing the State Machine Diagram and the Sequence Diagram capability while the Interaction Overview Diagram which is not part of SysML is provided.

Since then updates have bring in the State Machine Diagram while removing the Package Diagram. One of the latest update brought back the Package Diagram.

At present time only the Sequence Diagram is still missing.

Daniel
Re: Can't create State Machine Diagram [message #1769375 is a reply to message #1769330] Mon, 31 July 2017 07:34 Go to previous messageGo to next message
Francois Le Fevre is currently offline Francois Le FevreFriend
Messages: 56
Registered: October 2014
Location: Paris Saclay, France
Member
Hey
with SysML 1.4 version you can create state machine diagrams into package.
1-when you create a papyrus project, you can pre-select state machine diagrams or you can create them denovo with the new child menu (right click on root model) and then you can move them into your favorite package
2-create the pacjkage of interest and create directly inside state machine diagram by right click on the pakcage, new sysml diagram> state machine

Here a zip with basic examples.

be sure to be in the right architecture context, right click on root model>switch architecture contexte and select the sysml one.

have a good day.

Francois
Re: Can't create State Machine Diagram [message #1769388 is a reply to message #1769375] Mon, 31 July 2017 09:47 Go to previous messageGo to next message
Gino Corazzi is currently offline Gino CorazziFriend
Messages: 5
Registered: August 2016
Junior Member
EDIT: resize images

Hello, thanks for answering my question. I fear there's something wrong, most likely on my end:

> 1-when you create a papyrus project, you can pre-select state machine diagrams
no state machine diagram available there
index.php/fa/30194/0/

> be sure to be in the right architecture context
SysML 1.4 should be the architecture context i want, right?
index.php/fa/30192/0/

> or you can create them denovo with the new child menu (right click on root model) and then you can move them into your favorite package
new child (if you really meant that) shows no state machine diagram; same for sysml 1.4 child
index.php/fa/30198/0/

new diagram shows nothing useful as well
index.php/fa/30197/0/

> Here a zip with basic examples.
No state machine diagram on my side
index.php/fa/30199/0/

[Updated on: Mon, 31 July 2017 09:58]

Report message to a moderator

Re: Can't create State Machine Diagram [message #1769514 is a reply to message #1769350] Tue, 01 August 2017 09:20 Go to previous messageGo to next message
Gino Corazzi is currently offline Gino CorazziFriend
Messages: 5
Registered: August 2016
Junior Member
Daniel Sicard wrote on Sun, 30 July 2017 16:15

If you installed Oxygen/Papyrus/SysML a few time ago (about 3 weeks) you will be missing the State Machine Diagram and the Sequence Diagram capability while the Interaction Overview Diagram which is not part of SysML is provided.


I'm running Papyrus release 3.0.0.201706140736, so I guess I'll have to switch to nightly builds if I want the new updates or simply wait for a new release. Sadly, once I install nightly builds (from Papyrus Oxygen (3.0.X) Nightly Update Site) I can't use SysML anymore due to incompatibilities with 'Papyrus SysML Interoperability'
Cannot complete the install because of a conflicting dependency.
  Software being installed: Papyrus SysML1.1 to SysML1.4 Interoperability Feature 0.11.0.201706291208 (org.eclipse.papyrus.interoperability.sysml14.sysml.feature.feature.group 0.11.0.201706291208)
  Software currently installed: Papyrus for UML 3.0.0.201708010641 (org.eclipse.papyrus.sdk.feature.feature.group 3.0.0.201708010641)
  Only one of the following can be installed at once: 
    Papyrus UML M2M QvTo Common Blackboxes Plugin 1.0.0.201706140736 (org.eclipse.papyrus.uml.m2m.qvto.common.blackboxes 1.0.0.201706140736)
    Papyrus UML M2M QvTo Common Blackboxes Plugin 1.0.0.201708010641 (org.eclipse.papyrus.uml.m2m.qvto.common.blackboxes 1.0.0.201708010641)
  Cannot satisfy dependency:
    From: Papyrus SysML1.1 to SysML1.4 Interoperability Feature 0.11.0.201706291208 (org.eclipse.papyrus.interoperability.sysml14.sysml.feature.feature.group 0.11.0.201706291208)
    To: org.eclipse.papyrus.uml.m2m.qvto.common.blackboxes [1.0.0.201706140736]
  Cannot satisfy dependency:
    From: Papyrus for UML 3.0.0.201708010641 (org.eclipse.papyrus.sdk.feature.feature.group 3.0.0.201708010641)
    To: org.eclipse.papyrus.uml.m2m.qvto.feature.feature.group [1.0.0.201708010641]
  Cannot satisfy dependency:
    From: Papyrus UML M2M QvTo common plugins 1.0.0.201708010641 (org.eclipse.papyrus.uml.m2m.qvto.feature.feature.group 1.0.0.201708010641)
    To: org.eclipse.papyrus.uml.m2m.qvto.common.blackboxes [1.0.0.201708010641]


Given the fact that I can't find a nightly site for SysML Interoperability, I wonder how I can make Papyrus nightly builds work with SysML and effectively solve the original problem of missing diagrams in my papyrus setup
Re: Can't create State Machine Diagram [message #1769588 is a reply to message #1769514] Wed, 02 August 2017 05:09 Go to previous messageGo to next message
Daniel Sicard is currently offline Daniel SicardFriend
Messages: 3
Registered: July 2017
Junior Member
I don't use nightly build. What I did is the following:

  1. Downloaded the Eclipse Installer, run it and selected "Eclipse Modeling Tool" to install
  2. After completion of Eclipse Oxygen Installation, I went to the Help menu and selected "Install Modeling Components". In the panel that have opened I selected Papyrus
  3. After discovering that SysML 1.4 was missing, I followed the instructions provided in this post.

I then found that if you create a new project and add a new SysML Model to it then in the list of available diagram the Sequence Diagram and the State Machine Diagram was missing. In the following weeks, I did some "Check for Updates" in the Help menu. One of the update brought up the State Machine Diagram while removing the Package Diagram from the list. However in a later update the Package Diagram was added back to the list.

But as indicated in the Post mentionned in 3, SysML 1.4 is not ready for release yet. So there is still hope that the Sequence Diagram will show up in the list of available diagram at some point.

Daniel
Re: Can't create State Machine Diagram [message #1769712 is a reply to message #1769588] Wed, 02 August 2017 20:25 Go to previous message
Gino Corazzi is currently offline Gino CorazziFriend
Messages: 5
Registered: August 2016
Junior Member
It may not be ready for release but it seems to work good enough. Thanks a lot Daniel
Previous Topic:How to create stereotype in UML project
Next Topic:Papyrus Oxygen Developer Resources cannot be installed
Goto Forum:
  


Current Time: Thu Apr 18 11:57:22 GMT 2024

Powered by FUDForum. Page generated in 0.02071 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top