public interface IServiceWithSources extends IDisposable
A service that responds to changes in one or more sources. These sources can be plugged into the service. Sources represent a common event framework for services.
Clients must not extend or implement.
Modifier and Type | Method and Description |
---|---|
void |
addSourceProvider(ISourceProvider provider)
Adds a source provider to this service.
|
void |
removeSourceProvider(ISourceProvider provider)
Removes a source provider from this service.
|
dispose
void addSourceProvider(ISourceProvider provider)
provider
- The provider to add; must not be null
.void removeSourceProvider(ISourceProvider provider)
provider
- The provider to remove; must not be null
.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.