com.aelitis.azureus.plugins.net.buddy.swt
Class BuddyPluginViewInstance
java.lang.Object
com.aelitis.azureus.plugins.net.buddy.swt.BuddyPluginViewInstance
- All Implemented Interfaces:
- BuddyPluginBuddyRequestListener, BuddyPluginListener
public class BuddyPluginViewInstance
- extends Object
- implements BuddyPluginListener, BuddyPluginBuddyRequestListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuddyPluginViewInstance
protected BuddyPluginViewInstance(BuddyPluginView _view,
BuddyPlugin _plugin,
UIInstance _ui_instance,
org.eclipse.swt.widgets.Composite _composite)
readFromClipboard
protected String readFromClipboard()
writeToClipboard
protected void writeToClipboard(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(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 Map requestReceived(BuddyPluginBuddy from_buddy,
int subsystem,
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(String str,
Throwable e)
print
protected void print(String str)
print
protected void print(String str,
int log_type,
boolean clear_first,
boolean log_to_plugin)
destroy
protected void destroy()