Class MyTorrentsSuperView

java.lang.Object
com.biglybt.ui.swt.views.MyTorrentsSuperView
All Implemented Interfaces:
AEDiagnosticsEvidenceGenerator, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener, UISWTViewEventListener, UISWTViewCoreEventListener

Wraps a "Incomplete" torrent list and a "Complete" torrent list into one view
  • Field Details

    • SASH_WIDTH

      private static int SASH_WIDTH
    • SPLIT_MODE

      private static int SPLIT_MODE
    • torrentview

      private MyTorrentsView torrentview
    • seedingview

      private MyTorrentsView seedingview
    • form

      private org.eclipse.swt.widgets.Composite form
    • lastSelectedView

      private MyTorrentsView lastSelectedView
    • child1

      private org.eclipse.swt.widgets.Composite child1
    • child2

      private org.eclipse.swt.widgets.Composite child2
    • filterBox

      private final BubbleTextBox filterBox
    • initialDS

      private final Object initialDS
    • ds

      private Object ds
    • swtView

      private UISWTView swtView
    • viewWhenDeactivated

      private MyTorrentsView viewWhenDeactivated
  • Constructor Details

  • Method Details

    • getComposite

      public org.eclipse.swt.widgets.Composite getComposite()
    • initialize

      public void initialize(org.eclipse.swt.widgets.Composite parent, Object dataSource)
    • initializeWithCore

      private void initializeWithCore(Core core, org.eclipse.swt.widgets.Composite parent, Object dataSource)
    • initializeDone

      public void initializeDone()
    • updateLanguage

      public void updateLanguage()
    • getFullTitle

      public String getFullTitle()
    • getCurrentView

      private MyTorrentsView getCurrentView()
    • getActiveToolbarListener

      private UIPluginViewToolBarListener getActiveToolbarListener()
    • 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 -
    • 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
    • getSelectedDownloads

      public DownloadManager[] getSelectedDownloads()
    • generate

      public void generate(IndentWriter writer)
      Specified by:
      generate in interface AEDiagnosticsEvidenceGenerator
    • obfuscatedImage

      private org.eclipse.swt.graphics.Image obfuscatedImage(org.eclipse.swt.graphics.Image image)
    • getPrivateMenu

      public org.eclipse.swt.widgets.Menu getPrivateMenu()
    • viewActivated

      public void viewActivated()
    • viewDeactivated

      public void viewDeactivated()
    • getIncompleteColumns

      protected TableColumnCore[] getIncompleteColumns()
      Returns the set of columns for the incomplete torrents view Subclasses my override to return a different set of columns
      Returns:
    • getCompleteColumns

      protected TableColumnCore[] getCompleteColumns()
      Returns the set of columns for the completed torrents view Subclasses my override to return a different set of columns
      Returns:
    • createTorrentView

      protected MyTorrentsView createTorrentView(Core _core, String tableID, boolean isSeedingView, TableColumnCore[] columns, org.eclipse.swt.widgets.Composite c)
      Returns an instance of MyTorrentsView Subclasses my override to return a different instance of MyTorrentsView
      Parameters:
      _core -
      isSeedingView -
      columns -
      c -
      Returns:
    • getTorrentview

      public MyTorrentsView getTorrentview()
    • getSeedingview

      public MyTorrentsView getSeedingview()
    • dataSourceChanged

      public 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
    • getSWTView

      public UISWTView getSWTView()