Class InfoDialog

java.lang.Object
io.github.jbastgen.stemma.app.ui.dialog.InfoDialog

public final class InfoDialog extends Object
About Stemma: version, the system it runs on (for bug reports), and the libraries it is built from.
  • Method Details

    • create

      public static DialogOverlay create(String gitBackend, int repositories, Runnable close, Runnable welcome, Runnable support)
      Parameters:
      support - opens the support page, or null when the support link is switched off in the settings
    • create

      public static DialogOverlay create(String gitBackend, int repositories, Runnable close, Runnable welcome, Runnable support, Runnable openLogFolder)
      Parameters:
      openLogFolder - shows the log folder in the file manager, or null when that is not available
    • brandingBlock

      public static javafx.scene.Node brandingBlock(Branding brand, Path configDir)
      The company data and the logo of the branding (feature 16) as a block for the About page; null when there is none.
    • create

      public static DialogOverlay create(String gitBackend, int repositories, Runnable close, Runnable welcome, Runnable support, Runnable openLogFolder, javafx.scene.Node branding)
      The About dialog: About, Libraries, Support and System information.
      Parameters:
      gitBackend - the name of the Git backend in use, for the system information
      repositories - the number of repositories in the library
    • selectableText

      public static javafx.scene.control.TextArea selectableText(String text, int rows)
      Text that can be selected with the mouse and copied in part: a read-only text area that looks like the other boxes.