com.buglabs.bug.menu.pub
Class StatusBarUtils

java.lang.Object
  extended by com.buglabs.bug.menu.pub.StatusBarUtils

public class StatusBarUtils
extends java.lang.Object

Some helper methods for the Status Bar.


Constructor Summary
StatusBarUtils()
           
 
Method Summary
static java.lang.String displayImage(BundleContext context, boolean[][] image)
          Allocates space and displays a bitmap.
static java.lang.String displayImage(BundleContext context, boolean[][] image, java.lang.String client)
          Allocates space and displays a bitmap, checking with CM to determine if user has disabled image.
static java.lang.String displayText(BundleContext context, java.lang.String message)
          Allocates space and displays a text message.
static boolean releaseRegion(BundleContext context, java.lang.String regionKey)
          Releases a region.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusBarUtils

public StatusBarUtils()
Method Detail

displayText

public static java.lang.String displayText(BundleContext context,
                                           java.lang.String message)
Allocates space and displays a text message.

Parameters:
context -
message -
Returns:

displayImage

public static java.lang.String displayImage(BundleContext context,
                                            boolean[][] image)
Allocates space and displays a bitmap.

Parameters:
context -
image -
Returns:

displayImage

public static java.lang.String displayImage(BundleContext context,
                                            boolean[][] image,
                                            java.lang.String client)
Allocates space and displays a bitmap, checking with CM to determine if user has disabled image.

Parameters:
context -
image -
client -
Returns:

releaseRegion

public static boolean releaseRegion(BundleContext context,
                                    java.lang.String regionKey)
Releases a region.

Parameters:
context -
regionKey -
Returns: