Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Gendoc » Diagrams are not displayed in generated document with sirius bundle
Diagrams are not displayed in generated document with sirius bundle [message #1719124] Tue, 05 January 2016 13:58 Go to next message
Philippe Desanois is currently offline Philippe DesanoisFriend
Messages: 8
Registered: April 2015
Junior Member
Hi,

environment :
ObeoDesigner 8.0
feature Code Recommenders for Java Developpers from (Code Recommenders Main Update Site - http://download.eclipse.org/recommenders/updates/stable)
feature Gendoc and sirius budle from org.eclipse.gendoc.update-site-0.5.0_for_capella.zip (from https://polarsys.org/forums/index.php/m/409/)

The firts problem is : for the 'My.interactions' semantic model file, the aird file searched is 'My.aird' file. The standard aird file of a sirius project is the 'representations.aird' file.
I copy this last file in My.aird file as workaround.

The aird file is found, but the generated document does not display the diagram, whereas the image arae is present. The diagram is found because its name is displayed.

in log file the message is :
Impossible to find an interpreter - Could not find a session for model element : Node --> org.eclipse.sirius.sample.interactions.impl.ExecutionImpl@d5b4b1a (name: e1)

Thanks,
Philippe

See attachement
Re: Diagrams are not displayed in generated document with sirius bundle [message #1721145 is a reply to message #1719124] Mon, 25 January 2016 08:10 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 425
Registered: July 2009
Senior Member
Hello
can you try load method before you call to geDiagram service ?
section 8.1.1 in gendoc document https://www.eclipse.org/gendoc/documentation/Gendoc_v0.5_tutorial.pdf




[Updated on: Mon, 25 January 2016 08:10]

Report message to a moderator

Re: Diagrams are not displayed in generated document with sirius bundle [message #1721215 is a reply to message #1721145] Mon, 25 January 2016 18:23 Go to previous messageGo to next message
Philippe Desanois is currently offline Philippe DesanoisFriend
Messages: 8
Registered: April 2015
Junior Member
Hello,
I add the loadRelative('./representations.aird') method before getDiagram.
This avoids the workaround, but the diagram is not displayed, the size of its display area is correct, the title of the chart is displayed.
The same log is produced.
Re: Diagrams are not displayed in generated document with sirius bundle [message #1721292 is a reply to message #1721215] Tue, 26 January 2016 11:28 Go to previous messageGo to next message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 425
Registered: July 2009
Senior Member
thank you for your feedback do you have the same issue with other representations (ie different than sequence diagram type) ?



Re: Diagrams are not displayed in generated document with sirius bundle [message #1721444 is a reply to message #1721292] Wed, 27 January 2016 14:01 Go to previous messageGo to next message
Philippe Desanois is currently offline Philippe DesanoisFriend
Messages: 8
Registered: April 2015
Junior Member
Yes, the same problem occurs with a state diagram.
Re: Diagrams are not displayed in generated document with sirius bundle [message #1721913 is a reply to message #1721444] Mon, 01 February 2016 16:21 Go to previous message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 425
Registered: July 2009
Senior Member
Ok we will analyze with your inputs to see what the problem is



Previous Topic:How to access ibd ?
Next Topic:Using fragments in if statements
Goto Forum:
  


Current Time: Thu Sep 20 06:27:45 GMT 2018

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

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

Back to the top