Class TmfStrings

java.lang.Object
org.eclipse.tracecompass.tmf.core.TmfStrings

public final class TmfStrings extends Object
Get externalized strings to identify various core TMF concepts. These strings can be used in views and analyses to have a common term to identify often used concepts, or as keys for searches and filters by the user.

These strings are meant to be used and viewed by the user. Example: views will display Time in English, Poh in Klingon, searches for a time would be written Time < 'formatted time' in English, Poh < 'formatted time' in Klingon.

Since:
5.1
Author:
Geneviève Bastien
  • Method Details

    • startTime

      public static @NonNull String startTime()
      Get the string for the start time
      Returns:
      The externalized label for start time
    • endTime

      public static @NonNull String endTime()
      Get the string for the end time
      Returns:
      The externalized label for end time
    • time

      public static @NonNull String time()
      Get the string for the time
      Returns:
      The externalized label for time
    • duration

      public static @NonNull String duration()
      Get the string for the duration
      Returns:
      The externalized label for duration
    • cpu

      public static @NonNull String cpu()
      Get the string for the cpu string
      Returns:
      The externalized label for CPU
      Since:
      5.2
    • source

      public static String source()
      Get the string for the source code location
      Returns:
      The externalized label for source
      Since:
      5.2
    • nsTime

      public static @NonNull String nsTime()
      Get the string for nanosecond timestamp
      Returns:
      the label for nanosecond timestamp
      Since:
      9.4