org.gudy.azureus2.ui.swt
Class TorrentMenuFancy

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.TorrentMenuFancy

public class TorrentMenuFancy
extends Object

Author:
TuxPaper

Field Summary
protected static boolean DEBUG_MENU
           
 
Constructor Summary
TorrentMenuFancy(TableViewSWT<?> tv, boolean isSeedingView, org.eclipse.swt.widgets.Shell parentShell, DownloadManager[] dms, String tableID)
           
 
Method Summary
protected  void activateHeader(org.gudy.azureus2.ui.swt.TorrentMenuFancy.HeaderInfo header)
           
 void addItemsArray(org.eclipse.swt.widgets.Composite detailArea, MenuItem[] items, String[] onlyIDs)
           
protected  void addMenuItemListener(org.eclipse.swt.widgets.Menu menu, org.eclipse.swt.widgets.Listener l)
           
 void addMenuItemsWithID(org.eclipse.swt.widgets.Composite detailArea, String menuID, String[] ids)
           
 void addTableItemsWithID(org.eclipse.swt.widgets.Composite detailArea, String menuID, String[] ids)
           
protected  void buildTorrentCustomMenu_Content(org.eclipse.swt.widgets.Composite detailArea, DownloadManager[] dms)
           
 void buildTorrentCustomMenu_Control(org.eclipse.swt.widgets.Composite cParent, DownloadManager[] dms)
           
 void buildTorrentCustomMenu_Organize(org.eclipse.swt.widgets.Composite detailArea, DownloadManager[] dms)
           
 void buildTorrentCustomMenu_Other(org.eclipse.swt.widgets.Composite detailArea, List<MenuItem> items)
           
 void buildTorrentCustomMenu_Social(org.eclipse.swt.widgets.Composite detailArea)
           
protected  Object findData(org.eclipse.swt.widgets.Widget widget, String id)
           
 void showMenu(TableColumnCore acolumn, org.eclipse.swt.widgets.Menu fallbackMenu)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_MENU

protected static final boolean DEBUG_MENU
See Also:
Constant Field Values
Constructor Detail

TorrentMenuFancy

public TorrentMenuFancy(TableViewSWT<?> tv,
                        boolean isSeedingView,
                        org.eclipse.swt.widgets.Shell parentShell,
                        DownloadManager[] dms,
                        String tableID)
Method Detail

showMenu

public void showMenu(TableColumnCore acolumn,
                     org.eclipse.swt.widgets.Menu fallbackMenu)

activateHeader

protected void activateHeader(org.gudy.azureus2.ui.swt.TorrentMenuFancy.HeaderInfo header)

buildTorrentCustomMenu_Control

public void buildTorrentCustomMenu_Control(org.eclipse.swt.widgets.Composite cParent,
                                           DownloadManager[] dms)

addMenuItemListener

protected void addMenuItemListener(org.eclipse.swt.widgets.Menu menu,
                                   org.eclipse.swt.widgets.Listener l)

findData

protected Object findData(org.eclipse.swt.widgets.Widget widget,
                          String id)

buildTorrentCustomMenu_Organize

public void buildTorrentCustomMenu_Organize(org.eclipse.swt.widgets.Composite detailArea,
                                            DownloadManager[] dms)

buildTorrentCustomMenu_Social

public void buildTorrentCustomMenu_Social(org.eclipse.swt.widgets.Composite detailArea)

addTableItemsWithID

public void addTableItemsWithID(org.eclipse.swt.widgets.Composite detailArea,
                                String menuID,
                                String[] ids)

addMenuItemsWithID

public void addMenuItemsWithID(org.eclipse.swt.widgets.Composite detailArea,
                               String menuID,
                               String[] ids)

addItemsArray

public void addItemsArray(org.eclipse.swt.widgets.Composite detailArea,
                          MenuItem[] items,
                          String[] onlyIDs)

buildTorrentCustomMenu_Other

public void buildTorrentCustomMenu_Other(org.eclipse.swt.widgets.Composite detailArea,
                                         List<MenuItem> items)

buildTorrentCustomMenu_Content

protected void buildTorrentCustomMenu_Content(org.eclipse.swt.widgets.Composite detailArea,
                                              DownloadManager[] dms)