IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.common.core.service
Interface IOperation

All Known Subinterfaces:
ILayoutNodesOperation
All Known Implementing Classes:
CreateDecoratorsOperation, GetPropertySourceOperation

public interface IOperation

The interface for all service provider operations.

Service implementers are expected to expose service specific classes implementing this interface.

Service provider implementers never need to implement this interface, they instead use the service specific implementation in their provider implementation.

See Also:
IProvider.provides(com.ibm.xtools.common.core.service.IOperation)

Method Summary
 Object execute(IProvider provider)
          Executes this operation on the specified provider.
 

Method Detail

execute

public Object execute(IProvider provider)
Executes this operation on the specified provider.

Service implementers generally implement this method by first casting the provider to their service specific IProvider-derived class and then by delegating it the execution. Delegation is accomplished through the service specific provider derived class API.

Parameters:
provider - The provider on which to execute the operation.
Returns:
The result of executing this operation.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.