Community
Participate
Working Groups
When switch pages in multi-page, the behavior is not the same as swith stand alone editor. The actions in the action bar are not refresh. Use following code to resolve this issue, but have to import a inernal class PartSite. // hack to refresh the actions in the action bars of the multi-page // editor. SubActionBars bars = (SubActionBars) ( (PartSite) this.getSite ( ) ) .getActionBars( );
Please provide more details about your scenario. Are you talking about a subclass of MultiPageEditorPart or some other class? Who is adding the actions - the nested editor, the outer editor, or the outer editor's action bar contributor? How does the workaround work - are you adding to the obtained bars directly? This should have the exact same effect as calling getEditorSite().getActionBars() from the nested editor, since MultiPageEditorSite.getActionBars() just returns the outer editor's action bars.
As of now 'LATER' and 'REMIND' resolutions are no longer supported. Please reopen this bug if it is still valid for you.