Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Advanced property changes on a figure
Advanced property changes on a figure [message #224918] Mon, 23 October 2006 18:42 Go to next message
Del Myers is currently offline Del MyersFriend
Messages: 82
Registered: July 2009
Member
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 Go to previous message
Xiang Qinxian is currently offline Xiang QinxianFriend
Messages: 119
Registered: July 2009
Senior Member
在 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
Previous Topic:zooming text
Next Topic:Background image in rootEditPart
Goto Forum:
  


Current Time: Tue Oct 19 00:15:09 GMT 2021

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

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

Back to the top