Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2007

Tip: Looking for answers? Try searching our database.

how to change the default PerspectiveMenu of RCP app

Thread view: 
Quan - 21 Dec 2007 03:38 GMT
Dear all,
I use Eclipse RCP for implementing application using locale language.
I would like to change
the "Other" item text in Perspective Menu to other text. Howerver, I
don't know how to do that.
Can you explain me how to do?
Thank you very much.

Ocean,

===============================

The Eclipse RCP creates a dynamic menu using ContributionItemFactory.
The perspectiveList has always "Other..." text

the code is:

....
perspectiveList =
ContributionItemFactory.PERSPECTIVES_SHORTLIST.create(window);
....

and then

MenuManager perspectiveMenu = new MenuManager("My menu",
"openPerspective"); //$NON-NLS-1$ //$NON-NLS-2$
perspectiveMenu.add(perspectiveList);
Quan - 23 Dec 2007 13:42 GMT
somebody knows ??

Thanks

> Dear all,
> I use Eclipse RCP for implementing application using locale language.
[quoted text clipped - 23 lines]
> "openPerspective"); //$NON-NLS-1$ //$NON-NLS-2$
> perspectiveMenu.add(perspectiveList);


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.