org.gudy.azureus2.ui.swt.views
Class PeersSuperView
java.lang.Object
org.gudy.azureus2.ui.swt.views.table.impl.TableViewTab<PEPeer>
org.gudy.azureus2.ui.swt.views.PeersSuperView
- All Implemented Interfaces:
- TableLifeCycleListener, DownloadManagerPeerListener, GlobalManagerListener, AEDiagnosticsEvidenceGenerator, ObfusticateImage, UISWTViewEventListener, UISWTViewCoreEventListener, UISWTViewCoreEventListenerEx, TableViewSWTMenuFillListener
public class PeersSuperView
- extends TableViewTab<PEPeer>
- implements GlobalManagerListener, DownloadManagerPeerListener, TableLifeCycleListener, TableViewSWTMenuFillListener, UISWTViewCoreEventListenerEx
AllPeersView
- 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, eventOccurred, 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 |
VIEW_ID
public static final java.lang.String VIEW_ID
- See Also:
- Constant Field Values
registeredCoreSubViews
protected static boolean registeredCoreSubViews
PeersSuperView
public PeersSuperView()
- 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>
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
peerAdded
public void peerAdded(PEPeer created)
- Specified by:
peerAdded
in interface DownloadManagerPeerListener
peerRemoved
public void peerRemoved(PEPeer removed)
- Specified by:
peerRemoved
in interface DownloadManagerPeerListener
downloadManagerAdded
public void downloadManagerAdded(DownloadManager dm)
- Specified by:
downloadManagerAdded
in interface GlobalManagerListener
downloadManagerRemoved
public void downloadManagerRemoved(DownloadManager dm)
- Specified by:
downloadManagerRemoved
in interface GlobalManagerListener
destroyInitiated
public void destroyInitiated()
- Specified by:
destroyInitiated
in interface GlobalManagerListener
destroyed
public void destroyed()
- Specified by:
destroyed
in interface GlobalManagerListener
seedingStatusChanged
public void seedingStatusChanged(boolean seeding_only_mode,
boolean b)
- Description copied from interface:
GlobalManagerListener
- Notification of global seeding status changes.
- Specified by:
seedingStatusChanged
in interface GlobalManagerListener
- Parameters:
seeding_only_mode
- true if only seeding torrents (no downloads), false otherwiseb
- - as above but true if queued seeds
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
peerManagerAdded
public void peerManagerAdded(PEPeerManager manager)
- Specified by:
peerManagerAdded
in interface DownloadManagerPeerListener
peerManagerRemoved
public void peerManagerRemoved(PEPeerManager manager)
- Specified by:
peerManagerRemoved
in interface DownloadManagerPeerListener
peerManagerWillBeAdded
public void peerManagerWillBeAdded(PEPeerManager manager)
- Description copied from interface:
DownloadManagerPeerListener
- Called when a peer manager is created but not yet started
- Specified by:
peerManagerWillBeAdded
in interface DownloadManagerPeerListener