how to fire a request or how to nest commands [message #222070] |
Thu, 24 August 2006 21:25 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02794 seconds