Hi all,
As I told you, I worked on a new release of the context explorer, merging some features of the old version (in org.eclipse.e4.core.contexts.debug) and mine.
There is a test plugin to launch both versions and to compare them (contextExplorer.test).
Here are the main features of this release : - display the local values and context functions managed in a context
- for each value :
- display methods where a value is injected (as parameter)
- display fields where a value is injected
- display classes where a value is updated
- for context functions display the name and the computed value
- distinguish local values and inherited values used via a context
- search in context tree and in context data
- refresh button
- display tooltips to explain the content (could be better)
- display images depending on the element (could be better too :) )
- sort columns in context data (from the 2nd level of the tree)
The following issues could be done : - defining a Processor to display this part with a specific shortcut (what could be this shortcut Alt Shift Fx ?). For the moment you have to put it explicitly in your application model.
- update text, tooltips and icons
- implementing an IEclipseContextDebugger to refresh the tree automatically
- display the stack trace showing where a context has been created (feature was present in the old version)
- allow editing for values that could be edited : strings, integer, ...
Here is below a screenshot of this version where you can see : a search of ‘*selection*’ found in several contexts. In the selected context, you can see where this selection is injected (here in : ContextDataPart#listenToContext).
|