Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] Clearing a Graph
[Zest] Clearing a Graph [message #651482] Mon, 31 January 2011 10:35 Go to next message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
A graph object is a control that administrates nodes and their
connections. Given this I would expect that there exists some methods
that allow to e.g. remove all current contents from the graph. What is
the recommended procedure to realize this task without disposing the
control?

Thanks & Greetings from Bremen,

Daniel Krügler
Re: [Zest] Clearing a Graph [message #656571 is a reply to message #651482] Sat, 26 February 2011 21:19 Go to previous message
Fabian Steeg is currently offline Fabian SteegFriend
Messages: 72
Registered: July 2009
Member
I don't think there was a way to do that. Since this is probably a common use case (I could have also used it before), I've added a Graph#clear() method that removes all the graph's content in Zest 2.0 (see http://wiki.eclipse.org/Zest#Zest_2.x).
Previous Topic:[Zest] Missing GraphViewer constructor
Next Topic:[Zest] Graph node not not resizing properly
Goto Forum:
  


Current Time: Thu Nov 27 18:59:07 GMT 2014

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

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