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

java.lang.Object
  extended by com.aelitis.azureus.plugins.net.buddy.swt.BuddyPluginViewInstance
All Implemented Interfaces:
BuddyPluginBuddyRequestListener, BuddyPluginListener

public class BuddyPluginViewInstance
extends java.lang.Object
implements BuddyPluginListener, BuddyPluginBuddyRequestListener


Nested Class Summary
protected  class BuddyPluginViewInstance.FilterComparator
           
 
Constructor Summary
protected BuddyPluginViewInstance(BuddyPluginView _view, BuddyPlugin _plugin, UIInstance _ui_instance, org.eclipse.swt.widgets.Composite _composite)
           
 
Method Summary
 void buddyAdded(BuddyPluginBuddy buddy)
           
 void buddyChanged(BuddyPluginBuddy buddy)
           
 void buddyRemoved(BuddyPluginBuddy buddy)
           
protected  void destroy()
           
 void enabledStateChanged(boolean enabled)
           
 void initialised(boolean available)
           
 void messageLogged(java.lang.String str, boolean error)
           
 void pendingMessages(BuddyPluginBuddy[] from_buddies)
           
protected  void print(java.lang.String str)
           
protected  void print(java.lang.String str, int log_type, boolean clear_first, boolean log_to_plugin)
           
protected  void print(java.lang.String str, java.lang.Throwable e)
           
protected  java.lang.String readFromClipboard()
           
 java.util.Map requestReceived(BuddyPluginBuddy from_buddy, int subsystem, java.util.Map request)
          Request receieved for a buddy.
protected  void selectClassicTab()
           
 void updated()
           
protected  void updateTable()
           
protected  void writeToClipboard(java.lang.String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuddyPluginViewInstance

protected BuddyPluginViewInstance(BuddyPluginView _view,
                                  BuddyPlugin _plugin,
                                  UIInstance _ui_instance,
                                  org.eclipse.swt.widgets.Composite _composite)
Method Detail

selectClassicTab

protected void selectClassicTab()

readFromClipboard

protected java.lang.String readFromClipboard()

writeToClipboard

protected void writeToClipboard(java.lang.String str)

updateTable

protected void updateTable()

initialised

public void initialised(boolean available)
Specified by:
initialised in interface BuddyPluginListener

buddyAdded

public void buddyAdded(BuddyPluginBuddy buddy)
Specified by:
buddyAdded in interface BuddyPluginListener

buddyRemoved

public void buddyRemoved(BuddyPluginBuddy buddy)
Specified by:
buddyRemoved in interface BuddyPluginListener

buddyChanged

public void buddyChanged(BuddyPluginBuddy buddy)
Specified by:
buddyChanged in interface BuddyPluginListener

messageLogged

public void messageLogged(java.lang.String str,
                          boolean error)
Specified by:
messageLogged in interface BuddyPluginListener

enabledStateChanged

public void enabledStateChanged(boolean enabled)
Specified by:
enabledStateChanged in interface BuddyPluginListener

updated

public void updated()
Specified by:
updated in interface BuddyPluginListener

requestReceived

public java.util.Map requestReceived(BuddyPluginBuddy from_buddy,
                                     int subsystem,
                                     java.util.Map request)
                              throws BuddyPluginException
Description copied from interface: BuddyPluginBuddyRequestListener
Request receieved for a buddy. If the buddy is not authorised then the BuddyPluginBuddy is transient and should only be used for the duration of this request. Use outside of this context is undefined. If you want to authorise a transient buddy then you need to call BuddyPlugin.addBuddy with the required public key

Specified by:
requestReceived in interface BuddyPluginBuddyRequestListener
Returns:
Throws:
BuddyPluginException

pendingMessages

public void pendingMessages(BuddyPluginBuddy[] from_buddies)
Specified by:
pendingMessages in interface BuddyPluginBuddyRequestListener

print

protected void print(java.lang.String str,
                     java.lang.Throwable e)

print

protected void print(java.lang.String str)

print

protected void print(java.lang.String str,
                     int log_type,
                     boolean clear_first,
                     boolean log_to_plugin)

destroy

protected void destroy()