Class UIDebugGenerator

java.lang.Object
com.biglybt.ui.swt.debug.UIDebugGenerator

public class UIDebugGenerator extends Object
  • Constructor Details

    • UIDebugGenerator

      public UIDebugGenerator()
  • Method Details

    • generate

      public static void generate(String sourceRef, String additionalText)
    • getShellImages

      public static List<org.eclipse.swt.graphics.Image> getShellImages()
    • generateObfuscatedImage

      public static org.eclipse.swt.graphics.Image generateObfuscatedImage(org.eclipse.swt.widgets.Shell shell)
    • generate

      public static UIDebugGenerator.GeneratedResults generate(File[] extraLogDirs, UIDebugGenerator.DebugPrompterListener debugPrompterListener)
    • promptUser

      private static void promptUser(boolean allowEmpty, UIDebugGenerator.GeneratedResults gr)
    • emptyCheck

      protected static boolean emptyCheck(org.eclipse.swt.widgets.Text textMessage, boolean allowEmpty)
      Parameters:
      textMessage -
      allowEmpty -
      Returns:
      Since:
      4.5.0.3
    • addFilesToZip

      private static void addFilesToZip(ZipOutputStream out, File[] files)
    • obfuscateArea

      public static void obfuscateArea(org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Rectangle bounds)
      Parameters:
      image -
      bounds -
    • obfuscateArea

      public static void obfuscateArea(org.eclipse.swt.graphics.Image image, org.eclipse.swt.graphics.Rectangle bounds, String text)
      Parameters:
      image -
      bounds -
      text -
    • obfuscateArea

      public static void obfuscateArea(org.eclipse.swt.graphics.Image image, org.eclipse.swt.widgets.Control control, String text)
      Parameters:
      image -
      control -
      text -
      shellOffset -
    • obfuscateDownloadName

      public static String obfuscateDownloadName(Object ds)
    • obfuscateDownloadName

      public static String obfuscateDownloadName(PEPeer peer)
    • obfuscateDownloadName

      public static String obfuscateDownloadName(PEPiece piece)
    • obfuscateDownloadName

      public static String obfuscateDownloadName(DownloadManager dm)
    • obfuscateFileName

      public static String obfuscateFileName(DiskManagerFileInfo fileInfo)