Class TmfTraceColumnManager

java.lang.Object
org.eclipse.tracecompass.tmf.ui.editors.TmfTraceColumnManager

public class TmfTraceColumnManager extends Object
This class manages the column settings associated with a trace type.
Since:
1.0
Author:
Patrick Tasse
  • Constructor Details

    • TmfTraceColumnManager

      public TmfTraceColumnManager()
  • Method Details

    • loadColumnOrder

      public static int[] loadColumnOrder(String traceTypeId)
      Get the latest saved table column order for the specified trace type. Returns null if no column order is set.
      Parameters:
      traceTypeId - the trace type id
      Returns:
      the table column order, or null
    • saveColumnOrder

      public static void saveColumnOrder(String traceTypeId, int[] columnOrder)
      Saves the table column order for the specified trace type. Passing a null column order clears it.
      Parameters:
      traceTypeId - the trace type id
      columnOrder - the table column order
    • clearColumnOrder

      public static void clearColumnOrder(String traceTypeId)
      Clears the table column order for the specified trace type.
      Parameters:
      traceTypeId - the trace type id