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 14:52 Go to next message
El Arbi Aboussoror is currently offline El Arbi Aboussoror
Messages: 90
Registered: June 2010
Member
Hi,

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 18:48 Go to previous message
Fabian Steeg is currently offline Fabian Steeg
Messages: 72
Registered: July 2009
Member
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: Thu Jul 24 06:41:24 EDT 2014

Powered by FUDForum. Page generated in 0.02267 seconds