Class TmfTraceColumnManager
java.lang.Object
org.eclipse.tracecompass.tmf.ui.editors.TmfTraceColumnManager
This class manages the column settings associated with a trace type.
- Since:
- 1.0
- Author:
- Patrick Tasse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearColumnOrder(String traceTypeId) Clears the table column order for the specified trace type.static int[]loadColumnOrder(String traceTypeId) Get the latest saved table column order for the specified trace type.static voidsaveColumnOrder(String traceTypeId, int[] columnOrder) Saves the table column order for the specified trace type.
-
Constructor Details
-
TmfTraceColumnManager
public TmfTraceColumnManager()
-
-
Method Details
-
loadColumnOrder
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
Saves the table column order for the specified trace type. Passing a null column order clears it.- Parameters:
traceTypeId- the trace type idcolumnOrder- the table column order
-
clearColumnOrder
Clears the table column order for the specified trace type.- Parameters:
traceTypeId- the trace type id
-