Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Cannot draw connection from port to port
Cannot draw connection from port to port [message #1431183] Thu, 25 September 2014 10:06 Go to next message
Bjoern Schorre is currently offline Bjoern SchorreFriend
Messages: 6
Registered: July 2009
Junior Member
Hello,

I have created a component with a subcomponent. Both have a port (untyped). Now I want to draw a connection between the ports. But there is no possibility to do this.
If there is an Edge which can be started on the one port I cannot connect it to the other port.

Is this a bug or do I have to do something manual here?


Best Regards
Bjoern
Re: Cannot draw connection from port to port [message #1431220 is a reply to message #1431183] Thu, 25 September 2014 11:15 Go to previous messageGo to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Hi Bjoern,

I don't know your odesign, but to create edge you need an "Edge
Creation" tool to be defined. Is it the case? For edge reconnection
there is another tool named "Reconnect Edge".

Best Regards.

Le 25/09/2014 12:06, Bjoern Schorre a écrit :
> Hello,
>
> I have created a component with a subcomponent. Both have a port
> (untyped). Now I want to draw a connection between the ports. But there
> is no possibility to do this. If there is an Edge which can be started
> on the one port I cannot connect it to the other port.
>
> Is this a bug or do I have to do something manual here?
>
>
> Best Regards
> Bjoern
>



--
Esteban Dugueperoux - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Cannot draw connection from port to port [message #1431774 is a reply to message #1431220] Fri, 26 September 2014 05:58 Go to previous messageGo to next message
Bjoern Schorre is currently offline Bjoern SchorreFriend
Messages: 6
Registered: July 2009
Junior Member
Hi,

this is something I do not understand. I just want to get my thoughts into a diagram. Therfore I need to draw a line / a connection from one port to another. I don't want to to define or create an edge before.

By the way: What is an reconnection edge?

Greets
Bjoern
Re: Cannot draw connection from port to port [message #1433747 is a reply to message #1431774] Mon, 29 September 2014 07:43 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 482
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Bjoern

Le 26/09/2014 07:58, Bjoern Schorre a écrit :
> Hi,
>
> this is something I do not understand. I just want to get my thoughts
> into a diagram. Therfore I need to draw a line / a connection from one
> port to another. I don't want to to define or create an edge before.

Does your Viewpoint Specification Model (VSM, the .odesign file) contain
an EdgeMapping (with source/target mapping corresponding to your ports)
defined in the VSM ? It is required to indicates how to find elements to
represent as an edge. See [1].

Does your VSM contain a style as children of this mapping ? It is
required to indicates how to draw the corresponding edges. See [2].

Does your VSM contain a an "Edge Style" linked to the edge mapping you
want to create ? It will add a palette entry to allow the user to create
those type of edges. See "Edge Creation" in [3].

>
> By the way: What is an reconnection edge?

In the Viewpoint Specification Model (.odesign file), the "Reconnect
Edge" is used to allow end-users to change the source and/or target of
an edge by moving the corresponding end onto another graphical element.
If a tool is specified to handle the user’s reconnection attempt, it
will be invoked with all the appropriate information so that it can
execute the corresponding semantic change. See "Recnnect Edge" in [3].
>
> Greets
> Bjoern
>

Regards,
--
Maxime - Obeo

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

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

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

[3]
https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#edge_tools


Maxime Porhel - Obeo

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

Join the Sirius community at SiriusCon. Register for free: Nov. 9th Paris
http://www.siriuscon.org/
Previous Topic:Layout configuration
Next Topic:Remove palette view
Goto Forum:
  


Current Time: Sun Apr 05 18:08:52 GMT 2020

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

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

Back to the top