org.gudy.azureus2.ui.swt.views
Class TrackerView

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.views.table.impl.TableViewTab<TrackerPeerSource>
      extended by org.gudy.azureus2.ui.swt.views.TrackerView
All Implemented Interfaces:
TableDataSourceChangedListener, TableLifeCycleListener, DownloadManagerTPSListener, AEDiagnosticsEvidenceGenerator, ObfusticateImage, UISWTViewEventListener, UISWTViewCoreEventListener, TableViewSWTMenuFillListener

public class TrackerView
extends TableViewTab<TrackerPeerSource>
implements TableLifeCycleListener, TableDataSourceChangedListener, DownloadManagerTPSListener, TableViewSWTMenuFillListener

aka "Sources" view


Field Summary
static String MSGID_PREFIX
           
 
Fields inherited from interface com.aelitis.azureus.ui.common.table.TableLifeCycleListener
EVENT_DESTROYED, EVENT_INITIALIZED
 
Constructor Summary
TrackerView()
          Initialize
 
Method Summary
 void addThisColumnSubMenu(String columnName, org.eclipse.swt.widgets.Menu menuThisColumn)
          Create a SubMenu for column specific tasks.
 boolean eventOccurred(UISWTViewEvent event)
          Triggers when an even listed in UISWTViewEvent occurs
 void fillMenu(String sColumnName, org.eclipse.swt.widgets.Menu menu)
           
 TableViewSWT<TrackerPeerSource> initYourTableView()
           
 void tableDataSourceChanged(Object newDataSource)
           
 void tableViewDestroyed()
           
 void tableViewInitialized()
           
 void trackerPeerSourcesChanged()
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.views.table.impl.TableViewTab
dataSourceChanged, delete, enableFilterCheck, generate, getComposite, getFullTitle, getPrivateMenu, getPropertiesPrefix, getSWTView, getTableView, initComposite, initialize, obfusticatedImage, refresh, tableViewTabInitComplete, updateLanguage, viewActivated
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSGID_PREFIX

public static final String MSGID_PREFIX
See Also:
Constant Field Values
Constructor Detail

TrackerView

public TrackerView()
Initialize

Method Detail

initYourTableView

public TableViewSWT<TrackerPeerSource> initYourTableView()
Specified by:
initYourTableView in class TableViewTab<TrackerPeerSource>

fillMenu

public void fillMenu(String sColumnName,
                     org.eclipse.swt.widgets.Menu menu)
Specified by:
fillMenu in interface TableViewSWTMenuFillListener

addThisColumnSubMenu

public void addThisColumnSubMenu(String columnName,
                                 org.eclipse.swt.widgets.Menu menuThisColumn)
Description copied from interface: TableViewSWTMenuFillListener
Create a SubMenu for column specific tasks. Everytime the user opens the context menu, the "This Column" submenu is cleared, and this function is called to refill it.

Specified by:
addThisColumnSubMenu in interface TableViewSWTMenuFillListener
Parameters:
columnName - The name of the column the user clicked on
menuThisColumn - the menu to fill with MenuItems

trackerPeerSourcesChanged

public void trackerPeerSourcesChanged()
Specified by:
trackerPeerSourcesChanged in interface DownloadManagerTPSListener

tableDataSourceChanged

public void tableDataSourceChanged(Object newDataSource)
Specified by:
tableDataSourceChanged in interface TableDataSourceChangedListener

tableViewInitialized

public void tableViewInitialized()
Specified by:
tableViewInitialized in interface TableLifeCycleListener

tableViewDestroyed

public void tableViewDestroyed()
Specified by:
tableViewDestroyed in interface TableLifeCycleListener

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
Overrides:
eventOccurred in class TableViewTab<TrackerPeerSource>
Parameters:
event - event that occurred
Returns:
meaning dependent upon event type