Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Zest: Hints about Integrating Context Menus / New Connections?
Zest: Hints about Integrating Context Menus / New Connections? [message #240649] Sun, 13 January 2008 01:31 Go to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1340
Registered: July 2009
Senior Member
Ian et. al..

Thanks for your pointers -- worked perfectly!

I'm liking the speed and ease of development enough that I'm thinking
of using as a suplementary editor. I'm pretty confident I can wire in a
context menu easily but not so confident about drawing new connections.
Is this way outside of the Zest usage target?
Re: Zest: Hints about Integrating Context Menus / New Connections? [message #240721 is a reply to message #240649] Tue, 15 January 2008 05:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

The context menu should be pretty easy. In the PDE Viz viewer [1] I
added one simply on the view:

[1] http://www.eclipse.org/pde/incubator/dependency-visualizatio n/

Actually, this would be a pretty good example of some stuff you can do
in Zest.

As for adding new connections, drawing them (i.e. with a palette) opens
up a whole can of worms. Actually, if you want to add connections, then
what about nodes? This is really what GEF is ideal at. If you want to
add them "programmatically", this shouldn't be to hard. (Just create a
new GraphConnection).

Cheers,
ian

Miles Parker wrote:
>
> Ian et. al..
>
> Thanks for your pointers -- worked perfectly!
>
> I'm liking the speed and ease of development enough that I'm thinking of
> using as a suplementary editor. I'm pretty confident I can wire in a
> context menu easily but not so confident about drawing new connections.
> Is this way outside of the Zest usage target?
Re: Zest: Hints about Integrating Context Menus / New Connections? [message #240975 is a reply to message #240721] Sun, 27 January 2008 02:13 Go to previous message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1340
Registered: July 2009
Senior Member
On 2008-01-14 22:04:10 -0700, Ian Bull <irbull@cs.uvic.ca> said:

> The context menu should be pretty easy. In the PDE Viz viewer [1] I
> added one simply on the view:

Yep, got it.. actually I have some minor issues with integration with
the EMF editor but that has nothing to do with Zest...

> As for adding new connections, drawing them (i.e. with a palette) opens
> up a whole can of worms. Actually, if you want to add connections,
> then what about nodes? This is really what GEF is ideal at. If you
> want to add them "programmatically", this shouldn't be to hard. (Just
> create a new GraphConnection).

Yeah, the whole palette thing is exactly what I was hoping to avoid. :)
(OTOH I really like the simple check-boxes and so on you have for the
PDE vis.) Elegant to develop == elegant for users, I think. My agenda
with these tools is precisely to avoid the kind of fiddly UML ish or
every-possible-situation-covered GMF stuff -- not that that isn't great
but its just too heavyweight. I'm aiming for an auto-layout kind of
situation where people can highlight and move nodes around to visualize
thigns but none of that is persisted. Context menus already support the
creation of nodes, so I really am thinking of some kind of
shift-drag-click thing. But I assume that I can do that very simply by
listening for a key-mod mouse-click on source, perhaps creating a
tracking arrow figure, and taking the target from the node at mouse
release, if any.
Previous Topic:Multiple layers for nodes
Next Topic:Any news about a GEF Book
Goto Forum:
  


Current Time: Fri Dec 19 08:57:06 GMT 2014

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

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