Reputation: 53
I need to draw some circles and nodes (according to their (x,y) coordinates) in an rcp view. I think Zest is not appropriate or my application (the nodes can be moved, no coordinates..) I did my best to use jung, but always got problems... so I decided to plot them using SWT "shapes". however, when I draw a circle and then resize the view (a new editor appears so the view is smaller) I miss the circle (doesn't appear)... I really need you help to know which is the best way to do my application? and if you too got problems using jung? thanks a lot
Upvotes: 0
Views: 1046
Reputation: 12718
There are many, many ways to this...
Apart from ZEST and Jung, you also have GMF and Graphitti, though these both can be considered overkill for a small project.
Last, but not least, you have SWT - as you also note - based on a Canvas
. For an example on how to use this see the SWT Snippets - specially paint a circle in a canvas
.
Upvotes: 2