|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.debug.core.sourcelookup.containers.AbstractSourceContainer
public abstract class AbstractSourceContainer
Common function for source containers.
Clients implementing source containers should subclass this class.
| Field Summary | |
|---|---|
static Object[] |
EMPTY
|
| Constructor Summary | |
|---|---|
AbstractSourceContainer()
|
|
| Method Summary | |
|---|---|
protected void |
abort(String message,
Throwable exception)
Throws an error exception with the given message and underlying exception. |
void |
dispose()
Disposes this source container. |
protected ISourceLookupDirector |
getDirector()
Returns the source lookup director this source container registered in, or null if none. |
ISourceContainer[] |
getSourceContainers()
Returns the source containers this container is composed of. |
protected ISourceContainerType |
getSourceContainerType(String id)
Returns the source container type identified by the given id, or null if none. |
void |
init(ISourceLookupDirector director)
Notification this source container has been added to the given source lookup director. |
boolean |
isComposite()
Returns whether this container is a composite container. |
protected boolean |
isFindDuplicates()
Returns whether this container's source should search for duplicate source elements. |
protected void |
warn(String message,
Throwable exception)
Throws a warning exception with the given message and underlying exception. |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.debug.core.sourcelookup.ISourceContainer |
|---|
findSourceElements, getName, getType |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
public static final Object[] EMPTY
| Constructor Detail |
|---|
public AbstractSourceContainer()
| Method Detail |
|---|
protected void abort(String message,
Throwable exception)
throws CoreException
message - error messageexception - underlying exception, or null
CoreException - if a problem is encountered
protected void warn(String message,
Throwable exception)
throws CoreException
message - error messageexception - underlying exception, or null
CoreException - if a problem is encounteredpublic void dispose()
ISourceContainer
dispose in interface ISourceContainer
public ISourceContainer[] getSourceContainers()
throws CoreException
ISourceContainer
getSourceContainers in interface ISourceContainerCoreException - if unable to retrieve source containerspublic boolean isComposite()
ISourceContainer
isComposite in interface ISourceContainerpublic void init(ISourceLookupDirector director)
ISourceContainer
init in interface ISourceContainerdirector - the director this container has been added toprotected ISourceLookupDirector getDirector()
null if none.
null if noneprotected boolean isFindDuplicates()
AbstractSourceLookupParticipant.
protected ISourceContainerType getSourceContainerType(String id)
null if none.
id - source container type identifier
null
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.