Skip to main content



      Home
Home » Eclipse Projects » Sirius » Create new representation that is unsynchronized by default
Create new representation that is unsynchronized by default [message #1651312] Thu, 05 March 2015 03:22 Go to next message
Eclipse UserFriend
Hi,

Is it possible to configure a Sirius editor such that new diagrams are initially unsynchronized?

I think the ecore editor does something like that. Even if you ecore model already contains a number of classes, creating a representation does start with an empty diagram and you have to drag classes into the diagram.

(Yes I looked in the settings but couldn't find it so far.)

Greetings,
Wilbert.
Re: Create new representation that is unsynchronized by default [message #1651410 is a reply to message #1651312] Thu, 05 March 2015 04:34 Go to previous messageGo to next message
Eclipse UserFriend
Hi Wilbert,

You should look at [1] and [2] in section Synchronization, "Not
Synchronized" mode in your mappings should be what you look for to have
diagram empty at beginning.


[1]
https://www.eclipse.org/sirius/doc/user/diagrams/Diagrams.html#synchronized_diagram
[2] https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html

Best Regards.

Le 05/03/2015 09:22, Wilbert Alberts a écrit :
> Hi,
>
> Is it possible to configure a Sirius editor such that new diagrams are
> initially unsynchronized?
>
> I think the ecore editor does something like that. Even if you ecore
> model already contains a number of classes, creating a representation
> does start with an empty diagram and you have to drag classes into the
> diagram.
>
> (Yes I looked in the settings but couldn't find it so far.)
>
> Greetings,
> Wilbert.
>



--
Esteban Dugueperoux - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Create new representation that is unsynchronized by default [message #1651493 is a reply to message #1651410] Thu, 05 March 2015 05:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi Esteban,

Thanks for your reply. So to make it clear: I should specify that each nodemapping/containermapping is unsynchronized by default?

That also implies that something like configurable synchronization behavior is not provided.

OK, I can live with this.

Greetings,
Wilbert.
Re: Create new representation that is unsynchronized by default [message #1651549 is a reply to message #1651493] Thu, 05 March 2015 06:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi Wilbert,

Le 05/03/2015 11:31, Wilbert Alberts a écrit :
> Hi Esteban,
>
> Thanks for your reply. So to make it clear: I should specify that each
> nodemapping/containermapping is unsynchronized by default?
>
> That also implies that something like configurable synchronization
> behavior is not provided.


You could also specify mappings as "Unsynchronizable". Their
synchronization state will depend on the synchronization state of the
diagram. It can be modified by the user with a right-clic on the diagram
background with the Unsynchonized menu. The synchonized status of the
diagram will be initialized regarding the value of a preference form the
preferenc page Sirius > Sirius Diagram > Synchronized mode for new
diagrams.

>
> OK, I can live with this.
>
> Greetings,
> Wilbert.
>


Regards

--
Maxime - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Create new representation that is unsynchronized by default [message #1651744 is a reply to message #1651549] Thu, 05 March 2015 08:38 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Maxime!

This was exactly what I was looking for.

Greetings,
Wilbert
Re: Create new representation that is unsynchronized by default [message #1653784 is a reply to message #1651744] Fri, 06 March 2015 06:35 Go to previous messageGo to next message
Eclipse UserFriend
I tried the preference setting and it does work but:.... it does not seem to be persisted over an eclipse restart?

Isn't that considered to be a bug?

Wilbert.
Re: Create new representation that is unsynchronized by default [message #1654095 is a reply to message #1653784] Fri, 06 March 2015 09:32 Go to previous messageGo to next message
Eclipse UserFriend
Hi Wilbert,

Indeed you can raise a bugzilla.

Thanks.

Le 06/03/2015 12:35, Wilbert Alberts a écrit :
> I tried the preference setting and it does work but:.... it does not
> seem to be persisted over an eclipse restart?
> Isn't that considered to be a bug?
>
> Wilbert.



--
Esteban Dugueperoux - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Create new representation that is unsynchronized by default [message #1654160 is a reply to message #1654095] Fri, 06 March 2015 10:08 Go to previous message
Eclipse UserFriend
Done: https://bugs.eclipse.org/bugs/show_bug.cgi?id=461600
Previous Topic:Add new node on a diagram
Next Topic:Label Position of BorderItems
Goto Forum:
  


Current Time: Sat May 24 19:50:15 EDT 2025

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

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

Back to the top