Creating own marker with annotations in Eclipse-Plugin?
I want to create a marker with own annotations within a PlugIn us开发者_如何学Cing the common Eclipse Editor and not adding an own editor. The markers will be set when an action is performed;
I read some stuff about markers in an own editor, but not in the common editor. Has anyone an idea? thanks
It is not necessarily all that difficult... Have a look at these slides from a course I have run on numerous occations.
Markers can be created on a Resource (file/folder), using IResource.createMarker(). You don't need an editor for that. The existing editors should be able to display the markers on the resource.
精彩评论