IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.recorder.ui.extensibility
Interface IRecordingComponentImageProvider


public interface IRecordingComponentImageProvider

Enables extensions to provide specific icons for recording components. This interface allows extensions to provide an icon for a type of recording component, for a specific configuration of a recording component, and for a specific instance of a recording component.


Method Summary
 Image getImage(AbstractTypedConfiguration configuration)
          Provides an image for a recording component configuration.
 Image getImage(String componentType)
          Provides an image for a recording component of the specific type.
 ImageDescriptor getImageDescriptor(AbstractTypedConfiguration configuration)
          Provides an image for a recording component configuration.
 ImageDescriptor getImageDescriptor(String componentType)
          Provides an image for a recording component of the specific type.
 

Method Detail

getImageDescriptor

ImageDescriptor getImageDescriptor(String componentType)
Provides an image for a recording component of the specific type.

Parameters:
componentType - A recording component (client or recorder) type.
Returns:
An image descriptor. If null is returned, the framework will use the icon statically declared in plugin.xml, or a default icon if none is defined.

getImageDescriptor

ImageDescriptor getImageDescriptor(AbstractTypedConfiguration configuration)
Provides an image for a recording component configuration.

Parameters:
configuration - A recording component (client or recorder) configuration.
Returns:
An image descriptor. If null is returned, the framework will use the image returned by IRecordingComponentImageProvider.getImage(String).

getImage

Image getImage(String componentType)
Provides an image for a recording component of the specific type.

Parameters:
componentType - A recording component (client or recorder) type.
Returns:
An image. If null is returned, the framework will use the icon statically declared in plugin.xml, or a default icon if none is defined.

getImage

Image getImage(AbstractTypedConfiguration configuration)
Provides an image for a recording component configuration.

Parameters:
configuration - A recording component (client or recorder) configuration.
Returns:
An image. If null is returned, the framework will use the image returned by IRecordingComponentImageProvider.getImage(String).

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.