Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » no title on perspectiveBar icons
no title on perspectiveBar icons [message #120518] Thu, 05 February 2009 11:28 Go to next message
Tom H is currently offline Tom HFriend
Messages: 139
Registered: July 2009
Senior Member
Hi,

The titles are showing on the demo app, so I am assuming its my own doing.
But I have an app with 3 perspectives and in the perspectiveBar in the top
right of the workbench, no Titles are being displayed, though the tooltips
work OK.

The code is plucked straight from the demo code, and the "name" is set in
the plugin.xml files.

in my workbench advisor preWindowOpen();
configurer.setShowPerspectiveBar(true);

in my plugin.xml;
<perspective
class="myapp.CatManagerPerspective"
icon="icons/status.gif"
id="myapp.perspective1"
name="AccountOverview">
</perspective>

but no titles

Any ideas?

Cheers,

Tom
Re: no title on perspectiveBar icons [message #120558 is a reply to message #120518] Thu, 05 February 2009 12:44 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
Hi Tom,

it may be that you changed the value of some preferences to control the
look and feel.

See IWorkbenchPreferenceConstants.SHOW_TEXT_ON_PERSPECTIVE_BAR

Or just try to clear your configuration area to reset the default
values. Default is true (show text) as long as you don't override the
value yourself.

Greets
Benny

Tom H wrote:
> Hi,
>
> The titles are showing on the demo app, so I am assuming its my own
> doing. But I have an app with 3 perspectives and in the perspectiveBar
> in the top right of the workbench, no Titles are being displayed, though
> the tooltips work OK.
>
> The code is plucked straight from the demo code, and the "name" is set
> in the plugin.xml files.
>
> in my workbench advisor preWindowOpen();
> configurer.setShowPerspectiveBar(true);
>
> in my plugin.xml;
> <perspective
> class="myapp.CatManagerPerspective"
> icon="icons/status.gif"
> id="myapp.perspective1"
> name="AccountOverview">
> </perspective>
>
> but no titles
>
> Any ideas?
>
> Cheers,
>
> Tom
>
Previous Topic:strange look on first start of app
Next Topic:putting Titles on the coolbar icons
Goto Forum:
  


Current Time: Tue Dec 07 12:59:59 GMT 2021

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

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

Back to the top