Class LastSegmentManager


  • public final class LastSegmentManager
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int getLastSegmentNumber()
      Read the user's last-visited segment number from persistent storage.
      static void saveLastSegment()
      Save current entry position for repositioning on reload (RFE#35).
      • Methods inherited from class java.lang.Object

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

      • saveLastSegment

        public static void saveLastSegment()
        Save current entry position for repositioning on reload (RFE#35). This method is called from RealProject during saveProject(boolean)
      • getLastSegmentNumber

        public static int getLastSegmentNumber()
        Read the user's last-visited segment number from persistent storage. The segment number is the user-visible number that starts with 1.
        Returns:
        The segment number (starts from 1)