| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReferenceProvider
Provides Reference instances.
 
 A ReferenceProvider can be registered through the extension
 manifest, or using DependencyManager.addReferenceProvider(oracle.ide.dependency.ReferenceProvider).
| Method Summary | |
|---|---|
 boolean | 
canFindReferences(Context context,
                  Scope scope,
                  Declaration declaration)
Determine whether this provider can find references to a declaration.  | 
 boolean | 
canGetReference(Context context)
Determine whether there could be a reference in the context.  | 
 boolean | 
canGetReferences(Context context,
                 Node node)
Determine whether this provider can get references for a Node.  | 
 java.util.Collection<? extends Reference> | 
findReferences(Context context,
               Scope scope,
               Declaration declaration,
               ProgressIndicator progress)
Find all references to the given declaration that this provider knows about.  | 
 Reference | 
getReference(Context context)
Get the reference for the given context, or null if there is no reference in this context.  | 
 java.util.Collection<? extends Reference> | 
getReferences(Context context,
              Node node)
Get all references for a Node.  | 
| Method Detail | 
|---|
boolean canGetReference(Context context)
context - the context
Reference getReference(Context context)
canGetReference(oracle.ide.Context) returned true for this context.
context - the context
boolean canGetReferences(Context context,
                         Node node)
context - the contextnode - the Node
java.util.Collection<? extends Reference> getReferences(Context context,
                                                        Node node)
                                                        throws java.lang.InterruptedException
context - the contextnode - the Node
java.lang.InterruptedException - if the operation is interrupted
boolean canFindReferences(Context context,
                          Scope scope,
                          Declaration declaration)
context - the contextdeclaration - the declaration
java.util.Collection<? extends Reference> findReferences(Context context,
                                                         Scope scope,
                                                         Declaration declaration,
                                                         ProgressIndicator progress)
                                                         throws java.lang.InterruptedException
canFindReferences(Context, Scope, Declaration)
 returns true for this context and declaration.
context - the contextdeclaration - the declaration to search forprogress - the progress indicator
java.lang.InterruptedException - if the operation is interrupted
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||