com.aelitis.azureus.plugins.net.buddy.swt
Class BuddyPluginView

java.lang.Object
  extended by com.aelitis.azureus.plugins.net.buddy.swt.BuddyPluginView
All Implemented Interfaces:
BuddyPluginViewInterface, UISWTViewEventListener

public class BuddyPluginView
extends Object
implements UISWTViewEventListener, BuddyPluginViewInterface


Nested Class Summary
protected  class BuddyPluginView.statusUpdater
           
 
Nested classes/interfaces inherited from interface com.aelitis.azureus.plugins.net.buddy.BuddyPluginViewInterface
BuddyPluginViewInterface.DownloadAdapter, BuddyPluginViewInterface.View, BuddyPluginViewInterface.ViewListener
 
Field Summary
 
Fields inherited from interface com.aelitis.azureus.plugins.net.buddy.BuddyPluginViewInterface
VP_CHAT, VP_DOWNLOAD, VP_SWT_COMPOSITE
 
Constructor Summary
BuddyPluginView(BuddyPlugin _plugin, UIInstance _ui_instance, String _VIEW_ID)
           
 
Method Summary
protected  void betaMessagePending(BuddyPluginBeta.ChatInstance chat, org.eclipse.swt.widgets.Control comp_maybe_null, BuddyPluginBeta.ChatMessage pending_message)
           
 BuddyPluginViewInterface.View buildView(Map<String,Object> properties, BuddyPluginViewInterface.ViewListener listener)
           
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
 BuddyPluginViewInterface.DownloadAdapter getDownloadAdapter(Download download)
           
 void openChat(BuddyPluginBeta.ChatInstance chat)
           
protected  void playSound()
           
protected  void registerUI(BuddyPluginBeta.ChatInstance chat)
           
protected  void unregisterUI(BuddyPluginBeta.ChatInstance chat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuddyPluginView

public BuddyPluginView(BuddyPlugin _plugin,
                       UIInstance _ui_instance,
                       String _VIEW_ID)
Method Detail

eventOccurred

public boolean eventOccurred(UISWTViewEvent event)
Description copied from interface: UISWTViewEventListener
Triggers when an even listed in UISWTViewEvent occurs

Specified by:
eventOccurred in interface UISWTViewEventListener
Parameters:
event - event that occurred
Returns:
meaning dependent upon event type

openChat

public void openChat(BuddyPluginBeta.ChatInstance chat)
Specified by:
openChat in interface BuddyPluginViewInterface

registerUI

protected void registerUI(BuddyPluginBeta.ChatInstance chat)

unregisterUI

protected void unregisterUI(BuddyPluginBeta.ChatInstance chat)

playSound

protected void playSound()

betaMessagePending

protected void betaMessagePending(BuddyPluginBeta.ChatInstance chat,
                                  org.eclipse.swt.widgets.Control comp_maybe_null,
                                  BuddyPluginBeta.ChatMessage pending_message)

getDownloadAdapter

public BuddyPluginViewInterface.DownloadAdapter getDownloadAdapter(Download download)

buildView

public BuddyPluginViewInterface.View buildView(Map<String,Object> properties,
                                               BuddyPluginViewInterface.ViewListener listener)
Specified by:
buildView in interface BuddyPluginViewInterface