|Re: Advanced property changes on a figure [message #224944 is a reply to message #224918]
||Mon, 23 October 2006 22:40
| Xiang Qinxian
Registered: July 2009
在 2006-10-23一的 11:42 -0700，Del Myers写道：|
> 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.
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.
Powered by FUDForum
. Page generated in 0.02089 seconds