gef, draw2D, break point and view repaint [message #241738] |
Mon, 10 March 2008 15:31 |
Eclipse User |
|
|
|
Originally posted by: son.nguyen.softeareagusa.com
Hi,
I need some expert advice on gef, draw2D and breakpoints.
I have an issue with a view not getting repainted after I add an
ImageFigure to a figure.
I have a view that implements IBreakpointsListener. It also listens to an
editor as a Selection listener. The view is gef and draw2D based. When an
item is selected in the editor, its contents are displayed in the view.
The view 's contents can be selected and breakpoints can be set via a
context meny. When a breakpoint is set, I have no problems enabling or
disabling it from the Breakpoint View. In other words, the ImageFigure
that I change in the
breakpointsChanged() method of the IBreakpointsListener interface is
properly repainted. Now, if I select another item in the editor and switch
back to the item where I set the breakpoint, the breakpoint icons don't
get repainted when disabling or enabling from the Breakpoint View. The
ImageFigure is set properly though because selecting another item and
switching back the that item of the editor does show the correct icon. It
simply does not get repainted when the icon is added.
Any help will be greatly appreciated.
Son Nguyen.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02905 seconds