Class NetStatusPluginView

java.lang.Object
com.biglybt.ui.swt.plugin.net.netstatus.swt.NetStatusPluginView
All Implemented Interfaces:
UISWTViewEventListener

public class NetStatusPluginView extends Object implements UISWTViewEventListener
  • Field Details

    • plugin

      private NetStatusPlugin plugin
    • created

      private boolean created
    • composite

      private org.eclipse.swt.widgets.Composite composite
    • start_button

      private org.eclipse.swt.widgets.Button start_button
    • cancel_button

      private org.eclipse.swt.widgets.Button cancel_button
    • log

      private org.eclipse.swt.custom.StyledText log
    • selected_tests

      private int selected_tests
    • current_test

      private NetStatusPluginTester current_test
    • LOG_NORMAL

      private static final int LOG_NORMAL
      See Also:
    • LOG_SUCCESS

      private static final int LOG_SUCCESS
      See Also:
    • LOG_ERROR

      private static final int LOG_ERROR
      See Also:
    • LOG_INFO

      private static final int LOG_INFO
      See Also:
    • log_type

      private int log_type
  • Constructor Details

    • NetStatusPluginView

      public NetStatusPluginView()
  • Method Details

    • initSWTUI

      public static void initSWTUI(UIInstance _ui)
      Called via reflection from NetStatusPlugin
    • 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
    • initialise

      protected void initialise(org.eclipse.swt.widgets.Composite _composite)
    • addOption

      protected void addOption(org.eclipse.swt.widgets.Button button, int type, boolean enable)
    • startTest

      protected void startTest()
    • cancelTest

      protected void cancelTest()
    • startTestSupport

      protected void startTestSupport(Core core)
    • println

      protected void println(String str)
    • println

      protected void println(String str, boolean clear_first)
    • print

      protected void print(String str, boolean clear_first)
    • cancelTestSupport

      protected void cancelTestSupport()
    • destroy

      protected void destroy()