Summary: | [New editor] Can't contribute toolbar actions to plugin.xml source outline | ||
---|---|---|---|
Product: | [Eclipse Project] PDE | Reporter: | Wassim Melhem <wassim.melhem> |
Component: | UI | Assignee: | Dejan Glozic <dejan> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | ||
Version: | 3.0 | ||
Target Milestone: | 3.0 M9 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Wassim Melhem
2004-03-09 14:08:10 EST
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. |