| Editors tab order + menu text [message #676687] |
Mon, 06 June 2011 03:06  |
Gennady Gromov Messages: 23 Registered: May 2011 |
Junior Member |
|
|
Hello!
The method IWorkbenchPage.getEditorReferences() returns the array of open editors but not in an order of their tabs oder (for instance when I change this order manually by mouse).
How to get the information of the editors tab order?
Thank you.
[Updated on: Tue, 07 June 2011 07:43] Report message to a moderator
|
|
|
|
| Re: Editors tab order [message #677036 is a reply to message #676778] |
Tue, 07 June 2011 07:32   |
Gennady Gromov Messages: 23 Registered: May 2011 |
Junior Member |
|
|
Thank you for answer! I am waiting for Eclipse 4.1 .
Also one question...
The text or image of a menu item (created as a commands) can be updated in updateElement() method in IElementUpdater interface implemented in handler of a command based on AbstractHandler class. But how to update the menu text which contains such item? The way similar to update the item text don't work...
[Updated on: Tue, 07 June 2011 07:41] Report message to a moderator
|
|
|
|
| Re: Editors tab order [message #677059 is a reply to message #677052] |
Tue, 07 June 2011 08:37  |
Gennady Gromov Messages: 23 Registered: May 2011 |
Junior Member |
|
|
Text of menu items (as commands) can be updated in the updateElement() method implemented into the handler of a command. Menus (not items, such as "File", "Edit" etc.) has no command but I need to update their texts programmically too...
Which is the right way. Of course, I can do it directly via the MenuMeneger but I think it is not right way in RCP.
[Updated on: Wed, 08 June 2011 03:27] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03297 seconds