scoping: exclude items [message #989489] |
Thu, 06 December 2012 08:22  |
Eclipse User |
|
|
|
I have some crossreferences that basically work fine with the standard implementation for scoping. I just would like to exclude some scoping results the standard implementation returns.
I thought of something like this:
IScope scope_SomeType_someField(SomeType ctx, EReference ref) {
//call a super method to get the results that would be displayed if this method wasn't here
//remove some items from result
return result;
}
I don't know which method I should call to get the standard results. I tried super.getScope() but that failed horribly.
I can get what I want using validation and contentAssist, but that seems silly if it can be done with scoping.
Is something like that possible? Which methods should I call?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.61400 seconds