Package org.omegat.core.data
Class LastSegmentManager
- java.lang.Object
-
- org.omegat.core.data.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).
-
-
-
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)
-
-