Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » how to fire a request or how to nest commands
how to fire a request or how to nest commands [message #222070] Thu, 24 August 2006 21:25
Eclipse UserFriend
Originally posted by: guen.my-lounge.net

Hi,

in my GEF editor there are to different Figures (a and b), which could
be connected with each other. The problem is now, that the connection
should be set automatically.

user action:
a) the figure b is selected from the editors palette
b) the source for figure b is selected by clicking on an existing figure
a in the editor
c) automatically a line is set on the selected source figure a and the
target is automatically the new figure b, which is not placed in the
diagram right now
d) it is possible to place the figure b somewhere in the editor
e) figure a is connected with figure b and both figures placed in the editor

One resolution could be to chain the commands (create figure, create
connection), so :


==> Question: is it possible to fire a request for a figure creation out
of a connection creation (set source for connection - create figure -
set target for connection)



I'am trying to handle this for weeks - I would be very thankful for any
help!

Greetings
Christian
Previous Topic:XML document as input rather than serialized objects
Next Topic:anyway to use GEF Editor outside Eclipse ie, in a Swing environment
Goto Forum:
  


Current Time: Sat Apr 27 02:15:17 GMT 2024

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

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

Back to the top