how to change the default PerspectiveMenu of RCP app

Q

Quan

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);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top