Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Creating views for diagram
Creating views for diagram [message #1816343] Mon, 28 October 2019 06:45 Go to next message
Avi Shaked is currently offline Avi ShakedFriend
Messages: 38
Registered: October 2019
Member
Hi,

I cannot find any end to end resource on how to create a view for a diagram.
I want to have unsynchronized diagrams available for a user, in which he/she can add model elements and/or drag elements from the existing model into a diagram (serving specific scopes / partial views of the model).

Can anyone provide an example or refer me to one?

Thanks in advance,
Avi
Re: Creating views for diagram [message #1816372 is a reply to message #1816343] Mon, 28 October 2019 14:15 Go to previous message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 462
Registered: May 2011
Senior Member
Hello,

Indeed, on unsynchronized diagrams your tools will require model operations that creates view. These operations are presented in the documentation [1].
If you want to see an exemple, you can have a look to Ecore Tools [2]. The Class diagram is unsynchronized and the tool is open-source [3].

Best regards,
Steve

[1] https://www.eclipse.org/sirius/doc/specifier/general/Model_Operations.html#representations
[2] https://www.eclipse.org/ecoretools/doc/
[3] https://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git


Steve Monnier - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Creating composite diagrams
Next Topic:Passing column and row semantic object when creating a table from a table
Goto Forum:
  


Current Time: Sat Feb 29 04:54:34 GMT 2020

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

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

Back to the top