org.gudy.azureus2.ui.swt
Class UserAlerts

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.UserAlerts

public class UserAlerts
extends java.lang.Object

Contains methods to alert the user of certain events.

Author:
Rene Leonhardt

Constructor Summary
UserAlerts(GlobalManager global_manager)
           
 
Method Summary
static UserAlerts getSingleton()
           
 void notificationAdded()
           
static void requestUserAttention(int type, java.lang.Object data)
          Grab the user's attention in a platform dependent way
protected  void tidyUp()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAlerts

public UserAlerts(GlobalManager global_manager)
Method Detail

getSingleton

public static UserAlerts getSingleton()

notificationAdded

public void notificationAdded()

tidyUp

protected void tidyUp()

requestUserAttention

public static void requestUserAttention(int type,
                                        java.lang.Object data)
Grab the user's attention in a platform dependent way

Parameters:
type - one of PlatformManager.USER_REQUEST_INFO, PlatformManager.USER_REQUEST_WARNING, OR PlatformManager.USER_REQUEST_QUESTION
data - user-defined data object; see the platform-specific PlatformManager for what may be supported