Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » quickasist/markerresolution triggered by clicking on the left side editor icon?
quickasist/markerresolution triggered by clicking on the left side editor icon? [message #640712] Mon, 22 November 2010 16:39 Go to next message
Eclipse UserFriend
I've created a Marker (of my own type) in pom.xml files. Added a MarkerResolutionGenerator and also registered a quickassist provider. So both when trying to fix from the Problems view and the via keyboard shortcut Ctrl-1 from the editor, my fix for the marker problem gets invoked.

BUT I cannot click on the left side warning icon (i managed to show it a lightbulb+warning overlay icon). clicking on it does nothing and I haven't found a way to listen or somehow react on the click. In the java editor it seems to work but I was not able to make it work in the xm editor.

Thanks for any help.

Milos Kleint
Re: quickasist/markerresolution triggered by clicking on the left side editor icon? [message #640789 is a reply to message #640712] Tue, 23 November 2010 03:00 Go to previous message
Eclipse UserFriend
FYI this commit contains the code that I used to show the lightbulb icon appear. https://github.com/sonatype/m2eclipse-core/commit/51942da8ce 53f226d85dc6fb4aa8261c08c9d7aa

It involved creating my annotation model factory that creates my own annotation model that recognizes my own markers specially and only calls super for the rest.
Previous Topic:Helios Unhandled event loop exception
Next Topic:extending the wtp xml-editor
Goto Forum:
  


Current Time: Mon Jun 30 23:56:07 EDT 2025

Powered by FUDForum. Page generated in 0.27671 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top