org.gudy.azureus2.ui.swt.views
Class PeersView
java.lang.Object
org.gudy.azureus2.ui.swt.views.table.impl.TableViewTab<PEPeer>
org.gudy.azureus2.ui.swt.views.PeersView
- All Implemented Interfaces:
- TableDataSourceChangedListener, TableLifeCycleListener, DownloadManagerPeerListener, AEDiagnosticsEvidenceGenerator, ObfusticateImage, UISWTViewEventListener, UISWTViewCoreEventListener, UISWTViewCoreEventListenerEx, TableViewSWTMenuFillListener
public class PeersView
- extends TableViewTab<PEPeer>
- implements DownloadManagerPeerListener, TableDataSourceChangedListener, TableLifeCycleListener, TableViewSWTMenuFillListener, UISWTViewCoreEventListenerEx
- Author:
- Olivier, TuxPaper
2004/Apr/20: Use TableRowImpl instead of PeerRow
2004/Apr/20: Remove need for tableItemToObject
2004/Apr/21: extends TableView instead of IAbstractView, MjrTom
2005/Oct/08: Add PieceItem
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 |
MSGID_PREFIX
public static final java.lang.String MSGID_PREFIX
- See Also:
- Constant Field Values
PeersView
public PeersView()
- Initialize
isCloneable
public boolean isCloneable()
- Specified by:
isCloneable
in interface UISWTViewCoreEventListenerEx
getClone
public UISWTViewCoreEventListener getClone()
- Specified by:
getClone
in interface UISWTViewCoreEventListenerEx
initYourTableView
public TableViewSWT<PEPeer> initYourTableView()
- Specified by:
initYourTableView
in class TableViewTab<PEPeer>
tableDataSourceChanged
public void tableDataSourceChanged(java.lang.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
fillMenu
public void fillMenu(java.lang.String sColumnName,
org.eclipse.swt.widgets.Menu menu)
- Specified by:
fillMenu
in interface TableViewSWTMenuFillListener
fillMenu
public static void fillMenu(org.eclipse.swt.widgets.Menu menu,
PEPeer peer,
DownloadManager download_specific)
fillMenu
public static void fillMenu(org.eclipse.swt.widgets.Menu menu,
TableView<PEPeer> tv,
org.eclipse.swt.widgets.Shell shell,
DownloadManager download_specific)
addThisColumnSubMenu
public void addThisColumnSubMenu(java.lang.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 onmenuThisColumn
- the menu to fill with MenuItems
peerAdded
public void peerAdded(PEPeer created)
- Specified by:
peerAdded
in interface DownloadManagerPeerListener
peerRemoved
public void peerRemoved(PEPeer removed)
- Specified by:
peerRemoved
in interface DownloadManagerPeerListener
selectPeer
public void selectPeer(PEPeer peer)
peerManagerWillBeAdded
public void peerManagerWillBeAdded(PEPeerManager peer_manager)
- Description copied from interface:
DownloadManagerPeerListener
- Called when a peer manager is created but not yet started
- Specified by:
peerManagerWillBeAdded
in interface DownloadManagerPeerListener
peerManagerAdded
public void peerManagerAdded(PEPeerManager manager)
- Specified by:
peerManagerAdded
in interface DownloadManagerPeerListener
peerManagerRemoved
public void peerManagerRemoved(PEPeerManager manager)
- Specified by:
peerManagerRemoved
in interface DownloadManagerPeerListener
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<PEPeer>
- Parameters:
event
- event that occurred
- Returns:
- meaning dependent upon event type