Klasse Resources

java.lang.Object
org.deidentifier.arx.gui.resources.Resources

public class Resources extends Object
This class provides access to basic resources.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    Resources(org.eclipse.swt.widgets.Shell shell)
    Creates a new instance.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    org.eclipse.swt.widgets.Display
    Returns the display.
    int
    Returns the size of the gradient used in heatmaps.
    static org.eclipse.swt.graphics.Image[]
    getIconSet(org.eclipse.swt.widgets.Display display)
    Returns the logo.
    org.eclipse.swt.graphics.Image
    Returns an image.
    org.eclipse.swt.graphics.Image
    getImage(AttributeType type, boolean isResponseVariable)
    Returns an image.
    static String
    Reads the content from the file license.txt located in the package org.deidentifier.arx.gui.resources and returns the content as string.
    org.apache.log4j.Logger
    Returns the logger.
    org.eclipse.swt.graphics.Image
    Returns an image.
    static String
    Returns the associated message TODO: Make this method non-static.
    org.eclipse.swt.widgets.Shell
    Returns the shell.
    static org.eclipse.swt.graphics.Image
    getSplash(org.eclipse.swt.widgets.Display display)
    Returns the splash image.
    Returns a stream.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • Resources

      public Resources(org.eclipse.swt.widgets.Shell shell)
      Creates a new instance.
      Parameter:
      shell -
  • Methodendetails

    • getIconSet

      public static org.eclipse.swt.graphics.Image[] getIconSet(org.eclipse.swt.widgets.Display display)
      Returns the logo.
      Parameter:
      display -
      Gibt zurück:
    • getLicenseText

      public static String getLicenseText()
      Reads the content from the file license.txt located in the package org.deidentifier.arx.gui.resources and returns the content as string.
      Gibt zurück:
    • getMessage

      public static String getMessage(String key)
      Returns the associated message TODO: Make this method non-static.
      Parameter:
      key -
      Gibt zurück:
    • getSplash

      public static org.eclipse.swt.graphics.Image getSplash(org.eclipse.swt.widgets.Display display)
      Returns the splash image.
      Parameter:
      display -
      Gibt zurück:
    • getDisplay

      public org.eclipse.swt.widgets.Display getDisplay()
      Returns the display.
      Gibt zurück:
    • getGradientLength

      public int getGradientLength()
      Returns the size of the gradient used in heatmaps.
      Gibt zurück:
    • getLogger

      public org.apache.log4j.Logger getLogger()
      Returns the logger.
      Gibt zurück:
    • getManagedImage

      public org.eclipse.swt.graphics.Image getManagedImage(String name)
      Returns an image. Do not dispose the image.
      Parameter:
      name -
      Gibt zurück:
    • getShell

      public org.eclipse.swt.widgets.Shell getShell()
      Returns the shell.
      Gibt zurück:
    • getStream

      public InputStream getStream(String name)
      Returns a stream.
      Parameter:
      name -
      Gibt zurück:
    • getImage

      public org.eclipse.swt.graphics.Image getImage(AttributeType type)
      Returns an image.
      Parameter:
      type -
      Gibt zurück:
    • getImage

      public org.eclipse.swt.graphics.Image getImage(AttributeType type, boolean isResponseVariable)
      Returns an image.
      Parameter:
      type -
      isResponseVariable -
      Gibt zurück: