| CNF interceptRefresh method [message #331697] | 
Wed, 17 September 2008 01:57  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
I am a bit confused with the interceptRefresh and similar CNF methods. 
 
It was my understanding that that method is designed to allow a  
FooProvider that has replaced say IResource with Foo objects to do the  
same when viewer.refresh(IResource) is called. 
The FooProvider defines possibleChildren as instanceof(Foo). 
 
The NavigatorPipelineService however only dispatches to interceptRefresh  
if the refreshable is a "possibleChildren"  
 (overrideableExtension.getOverridingExtensionsForPossibleChi ld(refreshable)  
of the overriding content provider - that is, if the replacement has  
already been performed. 
 
Given this what is the purpose of those intercept methods?? 
 
Thanks! 
Franck
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.04170 seconds