Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » rap GC
rap GC [message #658652] Wed, 09 March 2011 11:51 Go to next message
marie Missing name is currently offline marie Missing nameFriend
Messages: 63
Registered: March 2011
Member
HI All
is there any constructor in GC class like this one
GC gc =new GC(Image);
here i am trying to build it in rap application
i saw that image class does not imlements Drawable interface
so tell me soltuion for this please
thanks for paying attention
Re: rap GC [message #658659 is a reply to message #658652] Wed, 09 March 2011 12:12 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi mamta,
currently, GC drawing is only supported on Canvas, but not on image -
see bug:
318900: Image class doesn't implement Drawable
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318900
You could try to draw on AWT image and convert it to SWT image. See an
example here:
https://bugs.eclipse.org/bugs/attachment.cgi?id=138591
HTH,
Ivan

On 3/9/2011 1:51 PM, mamta wrote:
> HI All
> is there any constructor in GC class like this one
> GC gc =new GC(Image);
> here i am trying to build it in rap application
> i saw that image class does not imlements Drawable interface
> so tell me soltuion for this please
> thanks for paying attention
>
Re: rap GC [message #658875 is a reply to message #658659] Thu, 10 March 2011 09:02 Go to previous messageGo to next message
marie Missing name is currently offline marie Missing nameFriend
Messages: 63
Registered: March 2011
Member
thanks it is working now..
Re: rap GC [message #1824421 is a reply to message #658875] Wed, 15 April 2020 06:59 Go to previous message
Marco Descher is currently offline Marco DescherFriend
Messages: 197
Registered: October 2010
Location: Austria
Senior Member
Picking up to this discussion - please see https://github.com/col-panic/eclipse-rap-nebula/tree/master
Previous Topic:Removement of PhaseListener
Next Topic:Problem: Cannot selected row in checkbox tableviewer ?
Goto Forum:
  


Current Time: Sat Jul 27 05:50:41 GMT 2024

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

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

Back to the top