Hello,
Thanks Ernesto for your help, I tried Help
à Perform Setup Tasks and I use now the last version of Papyrus (nightly)
But I still get the same pb (no diagram is created)
I debug a little bit and I found that the pb comes from this code in the method that creates
the capsule diagram : protected Diagram createCompositeDiagram() in the CapsuleEditHelperAdvice:
In fact, the method CreateHeadlessCapsuleStructureDiagramCommand().createDiagram(..) is
never called cause most of the PapyrusView have no name (name = null) so view.geName() is never equals to CapsuleUtils.UML_RT_CAPSULE_DIAGRAM.
for (ViewPrototype
prototype :
prototypes) {
PapyrusView
view =
prototype.getConfiguration();
if (view
!= null && CapsuleUtils.UML_RT_CAPSULE_DIAGRAM.equals(view.getName()))
{
return
new CreateHeadlessCapsuleStructureDiagramCommand().createDiagram(modelSet,
capsule,
capsule,
prototype,
null,
false);}
}
I will try to set the environment from scratch.
P.S I can also reproduce the Service issue that you talked about in your previous mail,
and that Christian succed in reproducing it as well J
Asma
De : Ernesto Posse [mailto:eposse@xxxxxxxxxxxxx]
Envoyé : vendredi 4 novembre 2016 15:55
À : papyrus-rt developer discussions <papyrus-rt-dev@xxxxxxxxxxx>; SMAOUI Asma <Asma.SMAOUI@xxxxxx>
Objet : Re: [papyrus-rt-dev] No diagram created for Capsule and SM
I just tried it and I have no problems: creating a capsule or state machine creates the corresponding diagrams.
Asma, I would suggest doing a "Help->Perform Setup Tasks..." in your dev environment to make sure you have the right bundles in your TP.
That is strange. Do you see any exceptions in the workspace log? Are you up-to-date with the latest on the Papyrus
Neon maintenance branch?
Master is the only active branch of Papyrus-RT and it should not behave in this way.
On 4 November, 2016 at 09:01:39, SMAOUI Asma (asma.smaoui@xxxxxx) wrote:
Hello,
I fetch the last master branch version from upstream. when I create a capsule, no capsule diagram is created, same thing with State Machine.
I checked the notation file, no diagram were there.
Should I checkout another branch (not master) ?
Thanks
Asma
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev
_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev