Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Target Decoration of Polyline Connection
Target Decoration of Polyline Connection [message #212305] Thu, 27 November 2008 12:38 Go to next message
Cecilia is currently offline CeciliaFriend
Messages: 8
Registered: July 2009
Junior Member
Hello,
I want to draw a circle as the target decoration of a Polyline Connection.
I have created a Polygon Decoration but I don't know how to draw the
circle (instead of the default arrow),
thank you very much,
Cecilia
Re: Target Decoration of Polyline Connection [message #212384 is a reply to message #212305] Fri, 28 November 2008 10:44 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Cecilia,

Try using "CustomDecoration" + implementing corresponding java class.

-----------------
Alex Shatalin
Re: Target Decoration of Polyline Connection [message #212545 is a reply to message #212384] Mon, 01 December 2008 15:41 Go to previous message
Cecilia is currently offline CeciliaFriend
Messages: 8
Registered: July 2009
Junior Member
Hello Alex,
the problem is that when I choose a Custom Figure, I get the error "can
not convert from customfigure to RotatableDecoration" (that is the class
that gmf uses for the targetDecoration). It seems that you only are able
to put Polygon as targetDecoration.
I just want to put a circle in the end of the Polyline Connection,
thank you,
Cecilia.
Previous Topic:How to keep the relation of the sides of a figure?
Next Topic:Create Connection between two Nodes programmatically (newbie)
Goto Forum:
  


Current Time: Fri Apr 26 14:25:35 GMT 2024

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

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

Back to the top