Missing Icons/Images in ISharedImages ? [message #650851] |
Wed, 26 January 2011 15:23  |
Eclipse User |
|
|
|
Hallo,
I'm trying to use a shared image like:
ISharedImages isi = PlatformUI.getWorkbench().getSharedImages();
this.action_collapseAll.setImageDescriptor(isi
.getImageDescriptor(ISharedImages.IMG_ELCL_COLLAPSEALL));
this.action_collapseAll.setText("Collapse All");
this.action_collapseAll.setToolTipText("Collapse All");
If I show this action in the View's action bar, I don't get the icon, but the text 'Collapse All'.
But if I try:
ISharedImages.IMG_OBJ_ELEMENT
The icon appears.
Is the image IMG_ELCL_COLLAPSEALL missing somehow ?
Regards
Marc
|
|
|
|
Re: Missing Icons/Images in ISharedImages ? [message #651066 is a reply to message #650851] |
Thu, 27 January 2011 11:07  |
Eclipse User |
|
|
|
Hi Marc,
just checked it with RAP from CVS HEAD and it works fine. Could you try
the CVS HEAD version too?
Best,
Ivan
On 1/26/2011 10:24 PM, Marc42 wrote:
> Hallo,
>
> I'm trying to use a shared image like:
>
> ISharedImages isi = PlatformUI.getWorkbench().getSharedImages();
>
> this.action_collapseAll.setImageDescriptor(isi
> getImageDescriptor(ISharedImages.IMG_ELCL_COLLAPSEALL));
>
> this.action_collapseAll.setText("Collapse All");
> this.action_collapseAll.setToolTipText("Collapse All");
>
>
> If I show this action in the View's action bar, I don't get the icon,
> but the text 'Collapse All'.
>
> But if I try:
>
> ISharedImages.IMG_OBJ_ELEMENT
>
> The icon appears.
>
> Is the image IMG_ELCL_COLLAPSEALL missing somehow ?
>
> Regards
>
> Marc
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.28675 seconds