public class JavaSourceLookupParticipant extends AbstractSourceLookupParticipant
This class may be instantiated.
EMPTY
Constructor and Description |
---|
JavaSourceLookupParticipant() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
protected ISourceContainer |
getDelegateContainer(ISourceContainer container) |
String |
getSourceName(Object object)
Returns the source name associated with the given object, or
null
if none. |
void |
init(ISourceLookupDirector director) |
void |
sourceContainersChanged(ISourceLookupDirector director) |
findSourceElements, getDirector, getSourceContainers, isFindDuplicates
public String getSourceName(Object object) throws CoreException
null
if none.object
- an object with an IJavaStackFrame
adapter, an IJavaValue
or an IJavaTypenull
if noneCoreException
- if unable to retrieve the source namepublic void dispose()
dispose
in interface ISourceLookupParticipant
dispose
in class AbstractSourceLookupParticipant
protected ISourceContainer getDelegateContainer(ISourceContainer container)
getDelegateContainer
in class AbstractSourceLookupParticipant
public void init(ISourceLookupDirector director)
init
in interface ISourceLookupParticipant
init
in class AbstractSourceLookupParticipant
public void sourceContainersChanged(ISourceLookupDirector director)
sourceContainersChanged
in interface ISourceLookupParticipant
sourceContainersChanged
in class AbstractSourceLookupParticipant
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.