org.gudy.azureus2.pluginsimpl.local.ui.model
Class BasicPluginViewModelImpl
java.lang.Object
  
org.gudy.azureus2.pluginsimpl.local.ui.model.BasicPluginViewModelImpl
- All Implemented Interfaces: 
 - BasicPluginViewModel, PluginViewModel
 
public class BasicPluginViewModelImpl
- extends Object
- implements BasicPluginViewModel
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BasicPluginViewModelImpl
public BasicPluginViewModelImpl(UIManagerImpl _ui_manager,
                                String _name)
getName
public String getName()
- Specified by:
 getName in interface PluginViewModel
 
 
getStatus
public UITextField getStatus()
- Description copied from interface: 
BasicPluginViewModel 
- All UI Components are initially enabled - disable if not required
- Specified by:
 getStatus in interface BasicPluginViewModel
 
- Returns:
 
 
 
getActivity
public UITextField getActivity()
- Specified by:
 getActivity in interface BasicPluginViewModel
 
 
getPluginInterface
public PluginInterface getPluginInterface()
- Specified by:
 getPluginInterface in interface PluginViewModel
 
 
getLogArea
public UITextArea getLogArea()
- Specified by:
 getLogArea in interface BasicPluginViewModel
 
 
getProgress
public UIProgressBar getProgress()
- Specified by:
 getProgress in interface BasicPluginViewModel
 
 
setConfigSectionID
public void setConfigSectionID(String id)
- Specified by:
 setConfigSectionID in interface BasicPluginViewModel
 
 
getConfigSectionID
public String getConfigSectionID()
- Specified by:
 getConfigSectionID in interface BasicPluginViewModel
 
- Returns:
 
 
destroy
public void destroy()
- Specified by:
 destroy in interface PluginViewModel
 
 
attachLoggerChannel
public void attachLoggerChannel(LoggerChannel channel)
- Description copied from interface: 
BasicPluginViewModel 
- 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.
- Specified by:
 attachLoggerChannel in interface BasicPluginViewModel
 
- Parameters:
 channel - The log channel to listen to.