Skip to main content


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 17:11 Go to next message
No real name is currently offline No real nameFriend
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 13:08 Go to previous message
No real name is currently offline No real nameFriend
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: Thu Apr 25 08:40:08 GMT 2024

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

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

Back to the top