Class LastOpenedApplication

java.lang.Object
com.saperion.ngc.maintab.LastOpenedApplication

public final class LastOpenedApplication extends Object
This class is used to store and retrieve the event used to open the last application from the settings-database.
Author:
cmerkel
  • Field Details

  • Method Details

    • store

      public static void store(NavigationFormEvent openEvent)
      Stores the event that was used to open the last application in the database.
      Parameters:
      openEvent - the event that was used to open the last application
    • get

      public static NavigationFormEvent get()
      Restores the event that was used to open the last application from the setting stored in the database.
      Returns:
      the event or null if the setting was not found or empty