|Access EObject from an outline view filter [message #898024]
||Wed, 25 July 2012 11:52
| Jeff MAURY
Registered: July 2009
I am implementing an outline view filter.
I want to filter on nodes that have a specific feature set so I need to access the EObject from the IOutlineNode.
The way I did it was to inject a Provider<XtextResourceSet> in my filter and if the node if an EObjectNode, then resolve the EObject using the XtextResourceSet returned by the provider.
This works but this first time my filter apply method is called, the XtextResource is loaded and this seems curious to me as the resource has probably been loaded by the editor.
Powered by FUDForum
. Page generated in 0.02569 seconds