Community
Participate
Working Groups
Currenlty, in XMLOutlinePage, when I call getSite(), it returns null. Thus, I am unable to add toolbar actions.
Don't call getSite(). Instead, I am now calling 'setActionBars' after 'createControl'. The method in turn calls 'makeContributions' on the outline page. I placed the following empty method in SourceOutlinePage: public void makeContributions( IMenuManager menuManager, IToolBarManager toolBarManager, IStatusLineManager statusLineManager) { //Create actions and contribute into the provided managers } This is the place to make contributions to the outline view's tool bar.