org.gudy.azureus2.ui.swt
Class TorrentMenuFancy

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

public class TorrentMenuFancy
extends java.lang.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, java.lang.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, java.lang.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, java.lang.String menuID, java.lang.String[] ids)
           
 void addTableItemsWithID(org.eclipse.swt.widgets.Composite detailArea, java.lang.String menuID, java.lang.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, java.util.List<MenuItem> items)
           
 void buildTorrentCustomMenu_Social(org.eclipse.swt.widgets.Composite detailArea)
           
protected  java.lang.Object findData(org.eclipse.swt.widgets.Widget widget, java.lang.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,
                        java.lang.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 java.lang.Object findData(org.eclipse.swt.widgets.Widget widget,
                                    java.lang.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,
                                java.lang.String menuID,
                                java.lang.String[] ids)

addMenuItemsWithID

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

addItemsArray

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

buildTorrentCustomMenu_Other

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

buildTorrentCustomMenu_Content

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