Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [UI] - Migrating plugins from 2.x to 3.x
[UI] - Migrating plugins from 2.x to 3.x [message #274982] Tue, 02 November 2004 07:04 Go to next message
Eclipse UserFriend
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 #275001 is a reply to message #274982] Tue, 02 November 2004 10:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

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.
Re: [UI] - Migrating plugins from 2.x to 3.x [message #275002 is a reply to message #275001] Tue, 02 November 2004 10:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

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.
Re: [UI] - Migrating plugins from 2.x to 3.x [message #275003 is a reply to message #275002] Tue, 02 November 2004 10:53 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: [UI] - Migrating plugins from 2.x to 3.x [message #275005 is a reply to message #275003] Tue, 02 November 2004 11:20 Go to previous message
Eclipse UserFriend
Chemi wrote:
[..]
>> Is there any place where it is documented the size of the icons to be
>> used in different parts of Eclipse platform?
>
> Well, for View's toolbar, the icon has to be 16 x 16 pixels. But I
> haven't seen it documented....

www.eclipse.org > Articles > Eclipse User Interface Guidelines:
http://eclipse.org/articles/Article-UI-Guidelines/Contents.h tml#IconSpecsSize_VDG

HTH
Markus
Previous Topic:plugin startup mystery
Next Topic:[CORE] - Migrating plugins from 2.x to 3.x
Goto Forum:
  


Current Time: Tue Sep 16 18:40:41 EDT 2025

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

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

Back to the top