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