Draw Dashed Line for connections [message #1235075] |
Thu, 23 January 2014 09:12  |
Eclipse User |
|
|
|
Hi, I am beginner in Graphiti. I will be thankful if anyone could help me for my questions.
Question 1: According to the model I try to implement, I need dashed line connection between two Shapes. How can I draw this dashed line ? Is there a built in style for dashed line(or dotted line)?
Question 2: I want to make a connection between a Ereference(connection) and Eobject(shape). is it possible in Graphiti?
Regards,
Cagkan
|
|
|
Re: Draw Dashed Line for connections [message #1235536 is a reply to message #1235075] |
Fri, 24 January 2014 11:04   |
Eclipse User |
|
|
|
cagkan toptas wrote on Thu, 23 January 2014 09:12Hi, I am beginner in Graphiti. I will be thankful if anyone could help me for my questions.
Question 1: According to the model I try to implement, I need dashed line connection between two Shapes. How can I draw this dashed line ? Is there a built in style for dashed line(or dotted line)?
You have to set the linestyle of ur polyline:
polyline.setLineStyle(LineStyle.DOT);
cagkan toptas wrote on Thu, 23 January 2014 09:12
Question 2: I want to make a connection between a Ereference(connection) and Eobject(shape). is it possible in Graphiti?
Regards,
Cagkan
I am not sure if u can add an anchor to a connection... in other words, Ive tested it, it is possible, but I was not able to connect a Connection with it...
[Updated on: Fri, 24 January 2014 11:07] by Moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.29997 seconds