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