|
Re: Scope Provider: Context [message #763885 is a reply to message #763875] |
Sat, 10 December 2011 20:25 |
|
Hi,
i do not understand your question. here is the IScopeProvider interface
public interface IScopeProvider {
IScope getScope(EObject context, EReference reference);
}
it has everything you need. you can walk up the context and its econtainers to find out where you are.
so could you elaborate what you exactly want to do what
is not given by the default implementation and its hooks for customization?
never the less resource.getContents().get(0) gives you the model root.
~Christian
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
[Updated on: Sat, 10 December 2011 20:27] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03053 seconds