|MultiPageEditorPart and menu contribution [message #756649]
||Mon, 14 November 2011 10:13
| Jan Krakora
Registered: December 2009
I have an Editor part and several menu contributions with <visibleWhen> expression bounded to the activeEditorId property. It's working as expected, the menu is visible only when this editor is active.
Now I would like to create a multi page editor (MultiPageEditorPart). This multi page editor contains several editors and one of them is the editor part mentioned earlier. But when I select the tab containing the editor part, my menu contribution is not visible.
When I turn tracing on, I can see that the multi page editor part is the active editor all the time regardless of the selected tab. That's not what I've expected. I thought that when I select a tab containing an editor part, the multi page editor part activates (somehow) this editor part.
I'm I missing something?
Powered by FUDForum
. Page generated in 0.02271 seconds