Reputation: 3
I would like to write small eclipse plugin for code estimation. At start I would like to use results shown in "problems" tab (warnings and errors) instead of writing next, own tool for code analysis. The question is: Is it possible to use data from one plugin in another? I would be greatful for any examples or links to tutorials.
Thank you in advance :)
Upvotes: 0
Views: 62
Reputation: 111218
The objects in the Problems view are called 'markers' and are represented by the org.eclipse.core.resources.IMarker
interface.
You get the markers defined on a file, folder or project by calling the findMarkers
method on the IResource
. You can ask for all types of marker or just specific types.
Upvotes: 1