Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » how to get ImageDesc for PaletteEntries
how to get ImageDesc for PaletteEntries [message #173869] Mon, 28 March 2005 19:45 Go to next message
mithun ruikar is currently offline mithun ruikarFriend
Messages: 43
Registered: July 2009
Member
Hello ,
I have scenario where user adds entries to palette at runtime ,
and can specify icons for these entries.
Now to display large and small icons from these images , i need to have
ImageDescriptor for them which are supplied to
CombinedTemplateCreationToolEntry.

My problem is that , these entries are being added dynamically and icon
images for these palette entries are specified by their location on disk.

ImageDescriptor has createfromFile and createFromURL methods ( which i
tried and i fail).

SO How can i get imageDescriptors of these Images. ?
Re: how to get ImageDesc for PaletteEntries [message #174201 is a reply to message #173869] Tue, 29 March 2005 15:33 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Sounds like you'll have to write a new ImageDescriptor if the existing ones
don't fit your needs.
"mithun ruikar" <mithun.ruikar@gmail.com> wrote in message
news:4e941246c68d7c4e91895651cca4ed5a$1@www.eclipse.org...
> Hello , I have scenario where user adds entries to palette at runtime ,
> and can specify icons for these entries.
> Now to display large and small icons from these images , i need to have
> ImageDescriptor for them which are supplied to
> CombinedTemplateCreationToolEntry.
>
> My problem is that , these entries are being added dynamically and icon
> images for these palette entries are specified by their location on disk.
>
> ImageDescriptor has createfromFile and createFromURL methods ( which i
> tried and i fail).
>
> SO How can i get imageDescriptors of these Images. ?
>
Previous Topic:ActiveX control behind the viewport figure?
Next Topic:Should these actions be retargetable?
Goto Forum:
  


Current Time: Tue Apr 23 06:20:53 GMT 2024

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

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

Back to the top