Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Fixed layout
Fixed layout [message #1385127] Wed, 04 June 2014 13:27 Go to next message
Ignacio Arechaga Fernandez is currently offline Ignacio Arechaga FernandezFriend
Messages: 14
Registered: May 2014
Location: Madrid
Junior Member
Hi all,

I have described a layout for an element, but I cannot manage to define the layout as the default layout for all the element mappings.

In particular, I have this node with some bordered nodes. I have arranged them like this :

index.php/fa/18206/0/

But when I have a new instance of that element, the layout of the newer element is different :

index.php/fa/18207/0/

How can I set a layout as the default one?


Many thanks
  • Attachment: VM.PNG
    (Size: 1.89KB, Downloaded 342 times)
  • Attachment: VM_newinstance.PNG
    (Size: 1.09KB, Downloaded 335 times)

[Updated on: Wed, 04 June 2014 13:35]

Report message to a moderator

Re: Fixed layout [message #1385146 is a reply to message #1385127] Wed, 04 June 2014 15:06 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Le 04/06/2014 15:27, Ignacio Arechaga Fernandez a écrit :
> Hi all,
>
> I have described a layout for an element, but I cannot manage to define the layout as the default layout for all the element mappings.
>
> In particular, I have this node with some bordered nodes. I have arranged them like this :
>
>
>
> But when I have a new instance of that element, the layout of the newer element is different :
>
>
>
> How can I set a layout as the default one?
>
>
> Many thanks
>

Hi,

If it the new diagram elements points to the same semantic elements, you
can try the copy layout / paste layout actions (available from the
tabbar and the contextual menu).

Else you will have to look into the GMF/Sirius layout extension points,
you might have to develop a new layout adapted to your domain.

Regards

Maxime


Maxime Porhel - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Fixed layout [message #1385818 is a reply to message #1385146] Wed, 11 June 2014 11:51 Go to previous message
Ignacio Arechaga Fernandez is currently offline Ignacio Arechaga FernandezFriend
Messages: 14
Registered: May 2014
Location: Madrid
Junior Member
Maxime Porhel wrote on Wed, 04 June 2014 17:06
Le 04/06/2014 15:27, Ignacio Arechaga Fernandez a écrit :

Else you will have to look into the GMF/Sirius layout extension points,
you might have to develop a new layout adapted to your domain.

Regards

Maxime


Hi Maxime,

I am having a look to this GMF/Sirius layout extension points.

I am wondering if it's possible to create a complex layout containing "places" to put other classes and be always on the same position.

I am trying to have a squared node and on each side of the node, a container for other kind of objects.

KR,
Ignacio
Previous Topic:Drill Down on Double Click
Next Topic:New representation types
Goto Forum:
  


Current Time: Thu Apr 25 14:02:52 GMT 2024

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

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

Back to the top