|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
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 contextReference getReference(Context context)
canGetReference(oracle.ide.Context)
returned true for this context.context
- the contextboolean canGetReferences(Context context, Node node)
context
- the contextnode
- the Nodejava.util.Collection<? extends Reference> getReferences(Context context, Node node) throws java.lang.InterruptedException
context
- the contextnode
- the Nodejava.lang.InterruptedException
- if the operation is interruptedboolean canFindReferences(Context context, Scope scope, Declaration declaration)
context
- the contextdeclaration
- the declarationjava.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 indicatorjava.lang.InterruptedException
- if the operation is interrupted
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.2) E13403-10 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |