At the moment I think the best (read 'only practical') way to do it
is via a wizard. The user selects a NamedQuery from the map, sets
key/value parameters, and picks from the results.
How about expanding the control panel capabilities? Current control
panel opens a new "Object Editor" window on every query run. We can
do two things:
* (optionally) open the results in the same Object Editor.
I see where you are coming from, but this would introduce quite some
complexity because the automatic graph layout algorithm relies on the
graph being fully connected. I have seen an application where dummy
edges are introduced to counter this, but it compromises the algorithm
to a certain extent - in the normal case the layout isn't as good.
Just a note: the latest version of GEF seems to allow for graphs which
are not fully connected - nice! So I'll work this in.
Marcel