Advanced property changes on a figure [message #224918] |
Mon, 23 October 2006 18:42  |
Eclipse User |
|
|
|
Hi,
I have a view that is sort of a "mirror" view for other GEF views. Basically,
for every figure that I find in the other view, I create a new figure in my
mirror view. I would like to listen for property changes in the figures in the
other view to update the visuals in my mirror view. The FigureListener makes
this easy for when a figure moves, but I can't find any way to watch for other
changes such as colors, etc. Does anyone have any ideas how I can watch for
these? Thanks.
Del.
|
|
|
Re: Advanced property changes on a figure [message #224944 is a reply to message #224918] |
Mon, 23 October 2006 22:40  |
Eclipse User |
|
|
|
在 2006-10-23一的 11:42 -0700,Del Myers写道:
> Hi,
>
> I have a view that is sort of a "mirror" view for other GEF views. Basically,
> for every figure that I find in the other view, I create a new figure in my
> mirror view. I would like to listen for property changes in the figures in the
> other view to update the visuals in my mirror view. The FigureListener makes
> this easy for when a figure moves, but I can't find any way to watch for other
> changes such as colors, etc. Does anyone have any ideas how I can watch for
> these? Thanks.
>
> Del.
Hi,
1, you can communicate with source model of source view, if you can.
2, find editpart from source view by given source figure, and
getModel(), if there has editparts.
3, God knows.
Regards,
Qinxian
|
|
|
Powered by
FUDForum. Page generated in 0.03442 seconds