Reputation: 155
I am creating an Eclipse Plugin. I want to add a column to the Eclipse Problem view that allows me to select from a drop down menu of preset selections. How would I go about adding this functionality? I would like to add it to the current Eclipse Problems View without having to create my own custom Problems View.
Upvotes: 1
Views: 1052
Reputation: 22070
It is probably not possible to add a column there, as the logical content of that view is provided by its content provider.
However, you can at least add actions to the issues (that is, the real objects being shown in the problems view) by using object contributions. They will occur in the popup menu of an issue and they have the advantage of occuring everywhere, where a popup for issues exists, not only in the problems view.
You might also be able to solve your problem by adding a new button or menu item to the toolbar of the problems view (using so called view actions), which can then invoke your selection.
If you want to compare those different alternatives, you may also want to have a look at the general overview of how to extend the Eclipse workbench UI.
Upvotes: 2