Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] : drawing rectangle, circle, etc...
[Zest] : drawing rectangle, circle, etc... [message #689515] Mon, 27 June 2011 18:52 Go to next message
El Arbi Aboussoror is currently offline El Arbi AboussororFriend
Messages: 90
Registered: June 2010

I'm new to Zest and I was wondering how can I create a circle on my Graph:

I mean something like
g = new Graph(parent, SWT.NONE);
CircleNode n = new CircleNode(g, SWT.NONE, label);

Re: [Zest] : drawing rectangle, circle, etc... [message #690070 is a reply to message #689515] Tue, 28 June 2011 22:48 Go to previous message
Fabian Steeg is currently offline Fabian SteegFriend
Messages: 76
Registered: July 2009
The basic approach is to use custom figures. Have a look at this blog post and this example.
Previous Topic:[ZEST] Lazy Graph Creation
Next Topic:Listen on view resize
Goto Forum:

Current Time: Mon May 02 01:26:25 GMT 2016

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

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