[UI] - Migrating plugins from 2.x to 3.x [message #274982] |
Tue, 02 November 2004 07:04  |
Eclipse User |
|
|
|
Originally posted by: jmordax.terra.es
Hi, I am in the middle of the migration process and I have observer an
important UI difference. I add some actions to my view ToolBar, but it
seems that in Eclipse 3.x those actions are added upper. I mean, at the
same level than tabs, while my code add them in a new zone between the
tabs and the view.
This is the code I am using:
IMenuManager menuMgr =
this.getViewSite().getActionBars().getMenuManager();
menuMgr.add(........);
Which should be the code now?
Thanks in advance,
Chemi.
|
|
|
|
|
Re: [UI] - Migrating plugins from 2.x to 3.x [message #275003 is a reply to message #275002] |
Tue, 02 November 2004 10:53   |
Eclipse User |
|
|
|
Originally posted by: jmordax.terra.es
Chemi wrote:
> Chemi wrote:
>
>> Chemi wrote:
>>
>>> Hi, I am in the middle of the migration process and I have observer
>>> an important UI difference. I add some actions to my view ToolBar,
>>> but it seems that in Eclipse 3.x those actions are added upper. I
>>> mean, at the same level than tabs, while my code add them in a new
>>> zone between the tabs and the view.
>>>
>>> This is the code I am using:
>>>
>>> IMenuManager menuMgr =
>>> this.getViewSite().getActionBars().getMenuManager();
>>> menuMgr.add(........);
>>>
>>> Which should be the code now?
>>>
>>> Thanks in advance,
>>>
>>> Chemi.
>>
>>
>>
>> Opps! I found the problem.... it is the size of the icons. My icons
>> are 21 x 21 pixels and it seems they don't fit with the new look and
>> feel of Eclipse R3.x :-(
>> So I will have to change my icons...
>>
>> Regards,
>>
>> Chemi.
>
>
> Is there any place where it is documented the size of the icons to be
> used in different parts of Eclipse platform?
>
> Thanks in advance,
>
> Chemi.
Well, for View's toolbar, the icon has to be 16 x 16 pixels. But I
haven't seen it documented....
Regards,
Chemi.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04388 seconds