org.gudy.azureus2.plugins.ui.model
Interface BasicPluginViewModel

All Superinterfaces:
PluginViewModel
All Known Implementing Classes:
BasicPluginViewModelImpl

public interface BasicPluginViewModel
extends PluginViewModel


Method Summary
 void attachLoggerChannel(LoggerChannel channel)
          Convenience method to configure this model to receive any logged messages on the associated channel and display it in the main window area.
 UITextField getActivity()
           
 java.lang.String getConfigSectionID()
           
 UITextArea getLogArea()
           
 UIProgressBar getProgress()
           
 UITextField getStatus()
          All UI Components are initially enabled - disable if not required
 void setConfigSectionID(java.lang.String id)
           
 
Methods inherited from interface org.gudy.azureus2.plugins.ui.model.PluginViewModel
destroy, getName, getPluginInterface
 

Method Detail

getStatus

UITextField getStatus()
All UI Components are initially enabled - disable if not required

Returns:

getActivity

UITextField getActivity()

getLogArea

UITextArea getLogArea()

getProgress

UIProgressBar getProgress()

setConfigSectionID

void setConfigSectionID(java.lang.String id)
Parameters:
id -
Since:
2.3.0.7

getConfigSectionID

java.lang.String getConfigSectionID()
Returns:
Since:
2.3.0.7

attachLoggerChannel

void attachLoggerChannel(LoggerChannel channel)
Convenience method to configure this model to receive any logged messages on the associated channel and display it in the main window area.

You can handle this manually if you want to, by creating your own LoggerChannelListener instance and making it append to the log area on this object.

Parameters:
channel - The log channel to listen to.
Since:
3.0.5.3