org.gudy.azureus2.ui.swt
Class UserAlerts
java.lang.Object
org.gudy.azureus2.ui.swt.UserAlerts
public class UserAlerts
- extends Object
Contains methods to alert the user of certain events.
- Author:
- Rene Leonhardt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserAlerts
public UserAlerts(GlobalManager global_manager)
getSingleton
public static UserAlerts getSingleton()
notificationAdded
public void notificationAdded()
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