Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Paint overlay in view of other plug-in
Paint overlay in view of other plug-in [message #498386] Mon, 16 November 2009 12:11 Go to next message
No real name is currently offline No real name
Messages: 1
Registered: November 2009
Junior Member
Hi,
I have a plug-in with a view that contains an image. Now I want to create another plug-in, which catches click events in the first plug-in and draws an overlay circle on it. I could successfully export the canvas with the image and access it in the other plug-in, and even catch the click events in the other plug-in. Unfortunately, I could not paint on the canvas (with addPaintListener() and update()). First I got an exception, because it was not in the UI thread. When I do the drawing stuff wrapped by Display.getDefault().asyncExec(...) the asynchronous part is never started Sad Can anyone help me please?
Re: Paint overlay in view of other plug-in [message #498551 is a reply to message #498386] Tue, 17 November 2009 08:08 Go to previous message
No real name is currently offline No real name
Messages: 1
Registered: November 2009
Junior Member
Or is there any other proper way to have one plugin displaying an image and antoher plugin painting an overlay on the image?
Previous Topic:Eclipse RCP user-friendly forms plugin or library?
Next Topic:start application with double click on mac
Goto Forum:
  


Current Time: Wed Jul 30 03:02:59 EDT 2014

Powered by FUDForum. Page generated in 0.02583 seconds