Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » gef, draw2D, break point and view repaint
gef, draw2D, break point and view repaint [message #241738] Mon, 10 March 2008 15:31 Go to next message
Eclipse UserFriend
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.
Re: gef, draw2D, break point and view repaint [message #241741 is a reply to message #241738] Mon, 10 March 2008 19:17 Go to previous message
No real name is currently offline No real nameFriend
Messages: 2
Registered: July 2009
Junior Member
Never mind. It was an logic mistake. The edit part was not correctly set.
So it repainted the wrong icon.
Previous Topic:Font Size
Next Topic:PaletteDrawer does not scroll vertically
Goto Forum:
  


Current Time: Thu May 09 23:59:06 GMT 2024

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

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

Back to the top