org.gudy.azureus2.ui.swt.views
Class GeneralView
java.lang.Object
org.gudy.azureus2.ui.swt.views.GeneralView
- All Implemented Interfaces:
- ParameterListener, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener, UISWTViewEventListener, UISWTViewCoreEventListener
public class GeneralView
- extends Object
- implements ParameterListener, UISWTViewCoreEventListener, UIPluginViewToolBarListener
View of General information on the torrent
- Author:
- Olivier
Constructor Summary |
GeneralView()
Initialize GeneralView |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSGID_PREFIX
public static final String MSGID_PREFIX
- See Also:
- Constant Field Values
this_mon
protected AEMonitor this_mon
GeneralView
public GeneralView()
- Initialize GeneralView
dataSourceChanged
public void dataSourceChanged(Object newDataSource)
initialize
public void initialize(org.eclipse.swt.widgets.Composite composite)
getComposite
public org.eclipse.swt.widgets.Composite getComposite()
refresh
public void refresh()
delete
public void delete()
parameterChanged
public void parameterChanged(String parameterName)
- Description copied from interface:
ParameterListener
- Called, when a parameter has changed.
The listener could only react if the parameter name is relevant.
Or the listener can just read all parameters again.
- Specified by:
parameterChanged
in interface ParameterListener
- Parameters:
parameterName
- the name of the parameter that has changed
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
toolBarItemActivated
public boolean toolBarItemActivated(ToolBarItem item,
long activationType,
Object datasource)
- Specified by:
toolBarItemActivated
in interface UIToolBarActivationListener
refreshToolBarItems
public void refreshToolBarItems(Map<String,Long> list)
- Description copied from interface:
UIPluginViewToolBarListener
- Fill in list with the toolbar ids and states you wish to set
- Specified by:
refreshToolBarItems
in interface UIPluginViewToolBarListener