Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Mylyn Intent » Mylyn Intent and Papyrus
Mylyn Intent and Papyrus [message #1219966] Sat, 07 December 2013 14:33 Go to next message
Tomas Sandkvist is currently offline Tomas SandkvistFriend
Messages: 149
Registered: October 2013
Senior Member
I have just stumbled over Mylyn Intent and I wonder if this can be used for creating documentation from Papyrus diagrams or in some other clever way can be used similar to GenDoc in Topcased?

Regards,
Tomas Sandkvist
Re: Mylyn Intent and Papyrus [message #1220025 is a reply to message #1219966] Mon, 09 December 2013 08:47 Go to previous messageGo to next message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
Registered: May 2010
Senior Member

Hi Tomas,

Intent is meant to work nativelly with any EMF model, and for any kind
of artifact (Java code, Manifest files, bugzilla issues...) as long as
an EMF-bridge allowing to represent this artifact as an EMF model has
been written.

As papyrus diagrams are standard EMF models, you should be able to
reference them inside Intent documents without additional work. To
reference a diagram inside your Intent documentation :
- create a Modeling Unit and reference your Papyrus diagram @M @ref
"<URI of your PapyrusDiagram>" M@
- OR drag and drop your papyrus diagram from projet explorer to your
Intent Editor (this should work by default).

Once your diagram gets referenced:
- any time you will make a change on this diagram Intent will raise a
synchronization issue on the little documentation parts referencing the
diagram you changed, so that you can quickly update the outdated
documentation parts.
- using Ctrl+click (or F3) in the Intent editor will allow you to
navigate from doc to diagrams.

Notice that you can do exactly the same for the semantic models
corresponding to each diagram.

That being said, for a nice integration between Intent and Papyrus, we
should also provide a custom Export for Papyrus diagrams, so that when
exporting an Intent document (in HTML, PDF...) referencing Papyrus
diagrams, each diagram reference is exported as an image of the diagram.
As the generators used by Intent are written with Acceleo, we should be
able to use Acceleo extensibility mechanism (Templates override) to
customize this precise behavior.

I hope I answered your question, do not hesitate and spam me with other
questions if I didn't :)

Best regards,
Alex

Le 07/12/2013 15:33, Tomas Sandkvist a écrit :
> I have just stumbled over Mylyn Intent and I wonder if this can be used
> for creating documentation from Papyrus diagrams or in some other clever
> way can be used similar to GenDoc in Topcased?
>
> Regards,
> Tomas Sandkvist
Re: Mylyn Intent and Papyrus [message #1220155 is a reply to message #1220025] Tue, 10 December 2013 07:06 Go to previous messageGo to next message
Tomas Sandkvist is currently offline Tomas SandkvistFriend
Messages: 149
Registered: October 2013
Senior Member
Hi Alex!

I'll make some tests to see what gives, but I believe that the real need-to-have is the ability to show the diagram as a picture.

Unfortunately I'm no programmer so I cannot be of much help, is this something planned (i.e. exists in Bugzilla), or should I make an entry for such a request or is this a five minute hack for someone of your caliber to try it out?

Regards,
Tomas
Re: Mylyn Intent and Papyrus [message #1220359 is a reply to message #1220025] Wed, 11 December 2013 09:50 Go to previous messageGo to next message
Tomas Sandkvist is currently offline Tomas SandkvistFriend
Messages: 149
Registered: October 2013
Senior Member
Hi Alex!!

First, a Papyrus diagram is not visible in the Project explorer. A Papyrus modeling project consists of three files where all diagrams are in one of these and the model is in another.

If I try to drag and drop any of these files, I get nothing in Intent.

I cannot figure out how to find the URI for a specific diagram, but perhaps an URI cannot "dive into" a file anyway, which I guess would be necessary?

So, it seems as if connecting Intent with UML and SysML models is a bit more complex than your first assumption?

Regards,
Tomas
Re: Mylyn Intent and Papyrus [message #1220361 is a reply to message #1220359] Wed, 11 December 2013 10:10 Go to previous message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
Registered: May 2010
Senior Member

Hi Tomas,

sorry for the late answer, I'm currently busy on other Eclipse projects
(mainly Sirius and CDO).

Could you please raise a bugzilla issue on Intent & Papyrus integration
(https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylyn%20Docs%20Intent)
?

I'll try to take a look ASAP.

Best regards,
Alex
Previous Topic:Mylyn Intent for UI specification
Next Topic:Current problems with intent usage
Goto Forum:
  


Current Time: Tue Apr 23 10:28:49 GMT 2024

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

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

Back to the top