|
Eclipse Platform Release 3.4 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A service from which all of the source providers can be retrieved.
This service can be acquired from your service locator:
ISourceProviderService service = (ISourceProviderService) getSite().getService(ISourceProviderService.class);
IEvaluationService
Method Summary | |
ISourceProvider |
getSourceProvider(String sourceName)
Retrieves a source provider providing the given source. |
ISourceProvider[] |
getSourceProviders()
Retrieves all of the source providers registered with this service at the time of this call. |
Method Detail |
public ISourceProvider getSourceProvider(String sourceName)
sourceName
- The name of the source; must not be null
.
null
if no such source exists.ISources
public ISourceProvider[] getSourceProviders()
org.eclipse.ui.services.IEvaluationService
can be used
to receive notifications about source variable changes and to
evaluate core expressions against source providers.
null
, but may be empty.
|
Eclipse Platform Release 3.4 |
||||||||||
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, 2008. All rights reserved.