Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Edge centering problem(sirius 2.0)
Edge centering problem [message #1665077] Wed, 11 March 2015 04:43 Go to next message
khanh tran is currently offline khanh tranFriend
Messages: 8
Registered: November 2014
Junior Member
Hello all,

As release note of Sirius 2.0, You can specify that an edge end will always be centered. And there are The Centered Source Mappings and the Centered Target Mappings within the edge style description advanced properties tab. But after I upgrade to sirius 2.0, I find no option like that in advanced properties tab.

What should I do to get Edge Centering?

Thanks in advance.
Re: Edge centering problem [message #1665618 is a reply to message #1665077] Wed, 11 March 2015 10:06 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 505
Registered: May 2011
Senior Member
Hello,

This option is not located on the Edge Mapping but on its style
sub-element. Go to the Advanced tab and you have the new parameter "Ends
Centering" with the radio button options: None / Both / Source / Target.

Regards,
Steve

Le 11/03/2015 05:43, khanh tran a écrit :
> Hello all,
>
> As release note of Sirius 2.0, You can specify that an edge end will
> always be centered. And there are The Centered Source Mappings and the
> Centered Target Mappings within the edge style description advanced
> properties tab. But after I upgrade to sirius 2.0, I find no option like
> that in advanced properties tab.
> What should I do to get Edge Centering?
>
> Thanks in advance.


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Steve Monnier - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Edge centering problem [message #1667342 is a reply to message #1665618] Thu, 12 March 2015 02:57 Go to previous messageGo to next message
khanh tran is currently offline khanh tranFriend
Messages: 8
Registered: November 2014
Junior Member
Hi Steve,

Thank you very much, but in the advance tab of edge style, I just have Size Computation Expression and Folding Style. I don't know why.

Re: Edge centering problem [message #1667931 is a reply to message #1667342] Thu, 12 March 2015 08:53 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 505
Registered: May 2011
Senior Member
Hello,

Are you sure that the update to Sirius 2.0 worked? It might have failed
for some reason. This feature has definitely been contributed in Sirius
2.0 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=437528). Note
that this feature is not available for a sequence diagram, as the edge
source/target location has an ordering meaning.

Regards,
Steve

Le 12/03/2015 03:57, khanh tran a écrit :
> Hi Steve,
>
> Thank you very much, but in the advance tab of edge style, I just have
> Size Computation Expression and Folding Style. I don't know why.
>
>


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Steve Monnier - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Edge centering problem [message #1670449 is a reply to message #1667931] Fri, 13 March 2015 07:41 Go to previous messageGo to next message
khanh tran is currently offline khanh tranFriend
Messages: 8
Registered: November 2014
Junior Member
Hi Steve,

Currently I have a *.odesign file with sirius 1.0. Then I upgrade to sirius 2.0 by upgrade from update site.

Some new features in sirius 2.0 like Snap to Shape or Outline (automatically moves the displayed zone of the diagram) are work fine.

Is there anything else I need to migrate *.odesign file from 1.0 to 2.0?

Thanks in advance.

Re: Edge centering problem [message #1671113 is a reply to message #1670449] Fri, 13 March 2015 13:15 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 505
Registered: May 2011
Senior Member
Hello,

I have to try to update from 1.0 to 2.0, because I do not see why this
feature would not be available for you. Can you tell me what exact
version you upgraded to? 2.0.4?

You just need to open you VSM (*.odesign), the migration is automatic.

Regards,
Steve

Le 13/03/2015 08:41, khanh tran a écrit :
> Hi Steve,
>
> Currently I have a *.odesign file with sirius 1.0. Then I upgrade to
> sirius 2.0 by upgrade from update site.
> Some new features in sirius 2.0 like Snap to Shape or Outline
> (automatically moves the displayed zone of the diagram) are work fine.
>
> Is there anything else I need to migrate *.odesign file from 1.0 to 2.0?
>
> Thanks in advance.
>
>


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Steve Monnier - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Edge centering problem [message #1677988 is a reply to message #1671113] Mon, 16 March 2015 03:34 Go to previous messageGo to next message
khanh tran is currently offline khanh tranFriend
Messages: 8
Registered: November 2014
Junior Member
Hi Steve,

The version that I upgraded is 2.0.0. Please see attachment files for more detail.

Thank you very much.
  • Attachment: plugins.PNG
    (Size: 62.99KB, Downloaded 72 times)
  • Attachment: Edge.PNG
    (Size: 19.83KB, Downloaded 86 times)
  • Attachment: EdgeStyle.PNG
    (Size: 16.23KB, Downloaded 63 times)
Re: Edge centering problem [message #1682244 is a reply to message #1677988] Tue, 17 March 2015 17:02 Go to previous message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 505
Registered: May 2011
Senior Member
Hello,

How did you updated to Sirius 2.0? I have just updated a Sirius 1.0.0 to
Sirius 2.0 using the market place and it works fine. My VSM model now
display the "Ends Centering" option in the advanced tab of an Edge Mapping.

Regards,
Steve


Le 16/03/2015 04:34, khanh tran a écrit :
> Hi Steve,
>
> The version that I upgraded is 2.0.0. Please see attachment files for more detail.
>
> Thank you very much.
>


--
Steve Monnier - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius


Steve Monnier - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Sirius post-condition expression?
Next Topic:Petri-Net Editor Edge Constraints
Goto Forum:
  


Current Time: Sat Jan 23 19:01:33 GMT 2021

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

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

Back to the top