Class Abstractions


  • public final class Abstractions
    extends java.lang.Object
    Static access to the abstractions used to hide whether Faktor-IPS is running in Eclipse or on plain old Java.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getImplementationId()
      Returns the implementation's ID.
      static java.util.Locale getLocale()
      Returns the locale the implementation is using, for example for texts or value formatting.
      static ALog getLog()
      Returns the log used by the implementation.
      static AVersion getVersion()
      Returns the Faktor-IPS implementation version.
      static AWorkspace getWorkspace()
      Returns the current workspace.
      static boolean isEclipseRunning()
      Returns whether Eclipse is running
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isEclipseRunning

        public static boolean isEclipseRunning()
        Returns whether Eclipse is running
      • getWorkspace

        public static AWorkspace getWorkspace()
        Returns the current workspace.
      • getLocale

        public static java.util.Locale getLocale()
        Returns the locale the implementation is using, for example for texts or value formatting.
      • getVersion

        public static AVersion getVersion()
        Returns the Faktor-IPS implementation version.
      • getLog

        public static ALog getLog()
        Returns the log used by the implementation.
      • getImplementationId

        public static java.lang.String getImplementationId()
        Returns the implementation's ID.