Class TorrentInfoView

java.lang.Object
com.biglybt.ui.swt.views.TorrentInfoView
All Implemented Interfaces:
UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener, UISWTViewEventListener, UISWTViewCoreEventListener, EventListener, org.eclipse.swt.dnd.DragSourceListener, org.eclipse.swt.internal.SWTEventListener

public class TorrentInfoView extends Object implements UISWTViewCoreEventListener, UIPluginViewToolBarListener, org.eclipse.swt.dnd.DragSourceListener
  • Field Details

    • MSGID_PREFIX

      public static final String MSGID_PREFIX
      See Also:
    • download_manager

      private DownloadManager download_manager
    • outer_panel

      private org.eclipse.swt.widgets.Composite outer_panel
    • headerFont

      private org.eclipse.swt.graphics.Font headerFont
    • cells

      private FakeTableCell[] cells
    • parent

      private org.eclipse.swt.widgets.Composite parent
    • swtView

      private UISWTView swtView
  • Constructor Details

    • TorrentInfoView

      public TorrentInfoView()
  • Method Details

    • initialize

      private void initialize(org.eclipse.swt.widgets.Composite composite)
    • refresh

      private void refresh()
    • getComposite

      private org.eclipse.swt.widgets.Composite getComposite()
    • getFullTitle

      private String getFullTitle()
    • delete

      private void delete()
    • dataSourceChanged

      private void dataSourceChanged(Object newDataSource)
    • 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
      Parameters:
      event - event that occurred
      Returns:
      meaning dependent upon event type
    • toolBarItemActivated

      public boolean toolBarItemActivated(ToolBarItem item, long activationType, Object datasource)
      Description copied from interface: UIToolBarActivationListener
      XXX Should have been UIToolBarItem
      Specified by:
      toolBarItemActivated in interface UIToolBarActivationListener
    • refreshToolBarItems

      public void refreshToolBarItems(Map<String,Long> list)
      Description copied from interface: UIPluginViewToolBarListener
      Fill in list with the toolbar ids and states you wish to set
      Specified by:
      refreshToolBarItems in interface UIPluginViewToolBarListener
      Parameters:
      list -
    • dragStart

      public void dragStart(org.eclipse.swt.dnd.DragSourceEvent event)
      Specified by:
      dragStart in interface org.eclipse.swt.dnd.DragSourceListener
    • dragSetData

      public void dragSetData(org.eclipse.swt.dnd.DragSourceEvent event)
      Specified by:
      dragSetData in interface org.eclipse.swt.dnd.DragSourceListener
    • dragFinished

      public void dragFinished(org.eclipse.swt.dnd.DragSourceEvent event)
      Specified by:
      dragFinished in interface org.eclipse.swt.dnd.DragSourceListener