Q: Custom Marker View with Expandable Marker Descriptions [message #1219612] |
Wed, 04 December 2013 17:18 |
Eclipse User |
|
|
|
Hi all,
In my plug-in, I am extending ui.views.markers.MarkerSupportView to provide a custom view for my plug-in specific markers.
All works well with simple descriptions for the markers, however I want to provide the full description in the view, if possible.
My markers are test errors, and in the view (if possible), I would like to show the following information to the user:
- The test header message summarizing the failure
- Detailed exception trace that shows the call graph that led to the failure.
As you can see I inlined the second information, as I don't want the full exception trace to be shown by default. I want something like high level categorizations (e.g., a triangle that is clickable in the description field). If the user clicks on this triangle, the detailed trace should be shown.
Is this possible? As far as I can see, we can only put String (or Integer, or Boolean) as marker attributes, so I don't see a way to express hierarchical representation. That being said, would that be possible that I still provide the complete string (but with a special delim that separates the summary and the trace) and then write a custom marker field representation that can show this information hierarchically?
If this is not possible, is it at least possible to show the information on this view on multiple lines? I tried to create a custom markerField that contains the trace information (which has new lines in it), however the view (by default) only shows the first line (actually only a part of it). The user has to hover to see the complete trace, which makes it very hard to use.
Thanks in advance, please let me know if something is not clear.
Best regards,
|
|
|
Powered by
FUDForum. Page generated in 0.02940 seconds