org.mockcentral.editor
Class TitleImagesManager

java.lang.Object
  extended by org.mockcentral.editor.TitleImagesManager

public class TitleImagesManager
extends java.lang.Object

A Class used for accessing the available title images for the MockCentralPluginEditor.

Author:
David Hutchinson

Constructor Summary
TitleImagesManager()
          Creates a new instance.
 
Method Summary
 void dispose()
          Disposes the stored images.
 org.eclipse.swt.graphics.Image getImage(java.lang.String key)
          Returns an Image for the corresponding key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TitleImagesManager

public TitleImagesManager()
Creates a new instance.

Method Detail

getImage

public org.eclipse.swt.graphics.Image getImage(java.lang.String key)
Returns an Image for the corresponding key. Valid keys include the toString() values of any of the NodeProblemSeverity enum values.

Parameters:
key - the key.
Returns:
an Image for the corresponding key.

dispose

public void dispose()
Disposes the stored images.