| Access EObject from an outline view filter [message #898024] |
Wed, 25 July 2012 11:52  |
Jeff MAURY Messages: 29 Registered: July 2009 |
Junior Member |
|
|
Hello,
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.
Thanks
Jeff
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01672 seconds