Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » show information in problems view
show information in problems view [message #332117] Sun, 05 October 2008 17:04
Martin Geisse is currently offline Martin GeisseFriend
Messages: 24
Registered: July 2009
Junior Member
Hello,

I am currently writing a compiler that produces error messages which are
turned to error markers and correctly show up in the problems view. I
also managed to allow the user to "Go To" the location of the marker to
fix the problem. However, the compiler produces lots of helpful
information besides the error message and location itself which I also
want to show, and I do not really know how to do that.

This additional information is available as a number of "nodes" for each
error marker. The number of nodes per marker as well as the data stored
in them is only known until runtime (i.e. when an error is detected).
Each node provides an action that opens a dialog to show the information
contained in it. I am able to access the nodes for a marker
programmatically, so the problem now is how to attach these actions to
the UI.

My idea was to have the pop-up menu of the "Problems" view show an
additional item with a submenu that displays all nodes for the selected
marker. However, I do not know how to add a submenu to the pop-up menu.
I did not find any specific information about the Problems view in this
regard, and the generic menu contribution mechanism seems to allow
submenus only for the main workbench menus as well as tool bars, but not
for pop-up menus of views.

Thanks in advance for any help.

Greetings,
Martin Geisse
Previous Topic:Xbrl in eclipse
Next Topic:Initialize plugin on activation
Goto Forum:
  


Current Time: Fri Sep 06 04:01:14 GMT 2024

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

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

Back to the top