org.gudy.azureus2.ui.swt
Class UserAlerts

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

public class UserAlerts
extends Object

Contains methods to alert the user of certain events.

Author:
Rene Leonhardt

Constructor Summary
UserAlerts(GlobalManager global_manager)
           
 
Method Summary
static void requestUserAttention(int type, 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

tidyUp

protected void tidyUp()

requestUserAttention

public static void requestUserAttention(int type,
                                        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