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

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.views.table.impl.TableViewTab<PEPeer>
      extended by org.gudy.azureus2.ui.swt.views.PeersGeneralView
All Implemented Interfaces:
TagListener, TableLifeCycleListener, AEDiagnosticsEvidenceGenerator, ObfusticateImage, UISWTViewEventListener, UISWTViewCoreEventListener, UISWTViewCoreEventListenerEx, TableViewSWTMenuFillListener

public class PeersGeneralView
extends TableViewTab<PEPeer>
implements TagListener, TableLifeCycleListener, TableViewSWTMenuFillListener, UISWTViewCoreEventListenerEx


Field Summary
 
Fields inherited from interface com.aelitis.azureus.ui.common.table.TableLifeCycleListener
EVENT_DESTROYED, EVENT_INITIALIZED
 
Constructor Summary
PeersGeneralView(Tag _tag)
           
 
Method Summary
 void addThisColumnSubMenu(String columnName, org.eclipse.swt.widgets.Menu menuThisColumn)
          Create a SubMenu for column specific tasks.
 void fillMenu(String sColumnName, org.eclipse.swt.widgets.Menu menu)
           
 UISWTViewCoreEventListener getClone()
           
 String getFullTitle()
           
 TableViewSWT<PEPeer> initYourTableView()
           
 boolean isCloneable()
           
 void tableViewDestroyed()
           
 void tableViewInitialized()
           
 void taggableAdded(Tag tag, Taggable tagged)
           
 void taggableRemoved(Tag tag, Taggable tagged)
           
 void taggableSync(Tag tag)
           
 
Methods inherited from class org.gudy.azureus2.ui.swt.views.table.impl.TableViewTab
dataSourceChanged, delete, enableFilterCheck, eventOccurred, generate, getComposite, 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
 
Methods inherited from interface org.gudy.azureus2.ui.swt.plugins.UISWTViewEventListener
eventOccurred
 

Constructor Detail

PeersGeneralView

public PeersGeneralView(Tag _tag)
Method Detail

isCloneable

public boolean isCloneable()
Specified by:
isCloneable in interface UISWTViewCoreEventListenerEx

getClone

public UISWTViewCoreEventListener getClone()
Specified by:
getClone in interface UISWTViewCoreEventListenerEx

getFullTitle

public String getFullTitle()
Overrides:
getFullTitle in class TableViewTab<PEPeer>

initYourTableView

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

taggableAdded

public void taggableAdded(Tag tag,
                          Taggable tagged)
Specified by:
taggableAdded in interface TagListener

taggableSync

public void taggableSync(Tag tag)
Specified by:
taggableSync in interface TagListener

taggableRemoved

public void taggableRemoved(Tag tag,
                            Taggable tagged)
Specified by:
taggableRemoved in interface TagListener

tableViewInitialized

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

tableViewDestroyed

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

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