JIVE Platform
Release 0.3.1

edu.buffalo.cse.jive.ui
Class JiveUITools

java.lang.Object
  extended by edu.buffalo.cse.jive.ui.JiveUITools

public class JiveUITools
extends Object

Miscellaneous utility methods used to access portions of the JIVE UI plug-in. This class will be expanded in the future.


Constructor Summary
JiveUITools()
           
 
Method Summary
static Image getImage(String key)
          Returns the Image associated with the supplied key.
static ImageDescriptor getImageDescriptor(String key)
          Returns the ImageDescriptor associated with the supplied key.
static Display getStandardDisplay()
          Returns the standard display to be used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiveUITools

public JiveUITools()
Method Detail

getStandardDisplay

public static Display getStandardDisplay()
Returns the standard display to be used. The method first checks, if the thread calling this method has an associated display. If so, this display is returned. Otherwise the method returns the default display.

Returns:
the standard display

getImageDescriptor

public static ImageDescriptor getImageDescriptor(String key)
Returns the ImageDescriptor associated with the supplied key.

Parameters:
key - the key for the image descriptor
Returns:
the image descriptor associated with the key
See Also:
IJiveUIConstants

getImage

public static Image getImage(String key)
Returns the Image associated with the supplied key.

Parameters:
key - the key for the image
Returns:
the image associated with the key
See Also:
IJiveUIConstants

JIVE Platform
Release 0.3.1