Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zesty Mindmaps
Zesty Mindmaps [message #243580] Fri, 13 June 2008 16:14 Go to next message
AntóinÃ?g is currently offline AntóinÃ?gFriend
Messages: 1
Registered: July 2009
Junior Member
I am investigating using Zest to implement a Mind Map like representation
of a business model. Does it have collapse/expand functionality when
nodes are double-clicked. All the snippets I've looked at don't display
this functionality.

Thanks in advance,

Anthony
Re: Zesty Mindmaps [message #243591 is a reply to message #243580] Fri, 13 June 2008 18:08 Go to previous message
Stefan Tucker is currently offline Stefan TuckerFriend
Messages: 4
Registered: July 2009
Junior Member
Take a look at the Zoom and Nested Graphs snippet:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.gef/tes t/org.eclipse.zest.tests/src/org/eclipse/zest/tests/swt/Zoom Snippet.java?root=Tools_Project

Zest provides GraphContainer, which you can nest nodes in, but it's a
bit limited. You can't easily override the container to implement your
own meaning for open/close. The default size is a hardcoded 250x30,
which is rather large. I haven't been able to get scaling to do
anything, despite some samples showing how it should work.

In order to implement double-clicking, I think you'll have to dig into
the GraphContainer's figure to get the Clickable object and add a mouse
listener to it.
Previous Topic:Strange NoClassDefFoundError
Next Topic:Overriding handleCreateConnection in ConnectionCreationTool
Goto Forum:
  


Current Time: Tue Mar 19 08:42:40 GMT 2024

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

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

Back to the top