Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » putting Titles on the coolbar icons
putting Titles on the coolbar icons [message #120528] Thu, 05 February 2009 11:50 Go to next message
Tom H is currently offline Tom HFriend
Messages: 139
Registered: July 2009
Senior Member
Hi,

Is there any way to have the coolbar buttons have Text in them?

Thanks,

Tom
Re: putting Titles on the coolbar icons [message #120545 is a reply to message #120528] Thu, 05 February 2009 12:39 Go to previous messageGo to next message
Tom H is currently offline Tom HFriend
Messages: 139
Registered: July 2009
Senior Member
Hi,

I managed it with something like;

actionGoNewsPerspective.setText("News");

ActionContributionItem actionNewsItem = new
ActionContributionItem(actionGoNewsPerspective);
actionNewsItem.setMode(ActionContributionItem.MODE_FORCE_TEX T);

toolbar.add(actionNewsItem);
Re: putting Titles on the coolbar icons [message #120680 is a reply to message #120528] Fri, 06 February 2009 08:48 Go to previous message
Holger Staudacher is currently offline Holger StaudacherFriend
Messages: 166
Registered: July 2009
Senior Member
Hi Tom,
you need to write your own ICoolBarManager2. This can be done using the
IActionBarPresentationFactory. But this interface is still internal,
use it own your own risk.

Regards, Holger


On 2009-02-05 12:50:38 +0100, tom@limepepper.co.uk (Tom H) said:

> Hi,
>
> Is there any way to have the coolbar buttons have Text in them?
>
> Thanks,
>
> Tom
Previous Topic:no title on perspectiveBar icons
Next Topic:scrollbars on TableViewer whether specified or not
Goto Forum:
  


Current Time: Sat Nov 09 00:37:34 GMT 2024

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

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

Back to the top