Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Drawing shapes using SWT/Draw2D
Drawing shapes using SWT/Draw2D [message #1415623] Wed, 03 September 2014 08:01 Go to next message
John Cole is currently offline John ColeFriend
Messages: 66
Registered: June 2013

is there a possibility to draw shapes using SWT/Draw2D instead of using graphiti-own methods in a graphiti diagram?

Re: Drawing shapes using SWT/Draw2D [message #1416193 is a reply to message #1415623] Thu, 04 September 2014 14:33 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1928
Registered: July 2009
Location: Walldorf, Germany
Senior Member
There are so called PlatformGraphicsAlgorithms in Graphiti to allow the
direct usage of GEF figures in Graphiti Diagrams.

There's an example in our Sketch test tool (tests folder in our Git
repository -

Have a look at the classes CanFigure and

Previous Topic:Adding icons to the palette
Next Topic:NPE when closing my Graphiti editor...
Goto Forum:

Current Time: Sun Jun 26 01:32:48 GMT 2022

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

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

Back to the top