|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IService
An interface for arbitrary services. Services can be implemented by one or more providers. EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the RDT team.
IServiceProvider| Method Summary | |
|---|---|
IServiceCategory |
getCategory()
Returns the service category that contains this service or null if the service is not associated with a category. |
java.lang.String |
getId()
Get the ID of this service provider. |
java.lang.String |
getName()
Get the name of this service provider. |
java.util.Set<java.lang.String> |
getNatures()
Get the set of natures that this service applies to. |
IServiceProvider |
getNullProvider()
Returns the special null "no-op" service provider, or null if there is none. |
java.lang.Integer |
getPriority()
Get the priority of this service. |
IServiceProviderDescriptor |
getProviderDescriptor(java.lang.String id)
Gets a specific provider of this service. |
java.util.Set<IServiceProviderDescriptor> |
getProviders()
Get the set of all providers for this service. |
java.util.SortedSet<IServiceProviderDescriptor> |
getProvidersByPriority()
Return the set of providers sorted by priority |
void |
removeServiceProvider(IServiceProviderDescriptor provider)
Remove service provider from list of providers for this service. |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Method Detail |
|---|
java.lang.String getId()
java.lang.String getName()
java.util.Set<java.lang.String> getNatures()
java.lang.Integer getPriority()
IServiceProviderDescriptor getProviderDescriptor(java.lang.String id)
id - The unique ID of the service requested.
java.util.Set<IServiceProviderDescriptor> getProviders()
java.util.SortedSet<IServiceProviderDescriptor> getProvidersByPriority()
service - service containing providers
void removeServiceProvider(IServiceProviderDescriptor provider)
provider - provider to removeIServiceCategory getCategory()
IServiceProvider getNullProvider()
|
PTP Release 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||