Skip to main content

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:DirectedGraphLayout: how to set/hint rank?
Next Topic:Programming GEF in functional languages like SCALA or Clojure
Goto Forum:

Current Time: Mon Dec 06 11:52:56 GMT 2021

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

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

Back to the top