|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for all service providers. Specifies a part of the contract between a service and its providers:
Service implementers are expected to expose service specific classes implementing this interface.
Service provider implementers never need to implement this interface directly, they instead derive their provider implementation from the service specific implementation of this interface.
Method Summary | |
void |
addProviderChangeListener(IProviderChangeListener listener)
Adds the specified listener to the list of provider change listeners for this provider. |
boolean |
provides(IOperation operation)
Indicates whether this provider provides the specified operation. |
void |
removeProviderChangeListener(IProviderChangeListener listener)
Removes the specified listener from the list of provider change listeners for this provider. |
Method Detail |
public void addProviderChangeListener(IProviderChangeListener listener)
listener
- The listener to be added.public boolean provides(IOperation operation)
Providers generally cast the operation to a service specific
IOperation
-derived class in order to determine whether they
support the request.
operation
- The operation in question.
true
if this provider provides the operation;
false
otherwise.public void removeProviderChangeListener(IProviderChangeListener listener)
listener
- The listener to be removed.
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.