Interface ApplicationInformationAccess

    • Method Detail

      • getLicenseInformationProvider

        ro.sync.exml.workspace.api.license.LicenseInformationProvider getLicenseInformationProvider()
        Get information about the license used in the current Oxygen application.
        Returns:
        The license information provider
        Since:
        12.1
      • getPreferencesDirectory

        java.lang.String getPreferencesDirectory()
        Get the options directory where the Oxygen preferences are saved. Can be used to save additional user data there.
        Returns:
        the directory where the Oxygen preferences are saved. Returns a string like: c:\\Documents and Settings\\username\\com.oxygenxml
        Since:
        12.1
      • getUserInterfaceLanguage

        java.lang.String getUserInterfaceLanguage()
        Get the language used to display the GUI controls (buttons, label) in Oxygen. Examples of format: en_US, fr_FR, de_DE, jp_JP, it_IT, nl_NL
        Returns:
        The language used to display the GUI controls (buttons, label) in Oxygen.
        Since:
        12.1
      • getVersion

        java.lang.String getVersion()
        Get the current version of the Oxygen/Author product. Can be used to decide if some extension functions are available or not.
        Returns:
        The version of the Oxygen application in which the extension runs. Returns a string like: 11.2
        Since:
        12
      • getVersionBuildID

        java.lang.String getVersionBuildID()
        Get the build ID of the current application. It is a string with a format like "YYYYMMDDHH". Example: "2013110816". This is the same information present in the Help menu -> About dialog.
        Returns:
        the build ID of the current application.
        Since:
        16
      • getApplicationType

        ApplicationType getApplicationType()
        Get the type of the application.
        Returns:
        the type of the application, one of the constants in the ApplicationType enumeration.
        Since:
        19
      • getApplicationName

        java.lang.String getApplicationName()
        Get the display name of the application.
        Returns:
        the display name of the application, one of the constants in the ro.sync.ui.application.ApplicationMainFrameDescriptor interface.
        Since:
        19
      • getPlatform

        Platform getPlatform()
        Return the oXygen platform that is currently running.
        Returns:
        Platform.STANDALONE if the code is running in the oXygen stand alone application, Platform.ECLIPSE if the code is running in the oXygen Eclipse plugin, and Platform.WEBAPP if the code is running inside the oXygen WebApp.
        Since:
        17