- public TmfTraceContext(ITmfTimestamp beginTs, ITmfTimestamp endTs, TmfTimeRange tr, @Nullable IFile editorFile) {
- fSelection = new TmfTimeRange(beginTs, endTs);
- fWindowRange = tr;
- fEditorFile = editorFile;
- fFilter = null;
- }
-
- public TmfTraceContext(TmfTraceContext prevCtx, ITmfTimestamp beginTs, ITmfTimestamp endTs) {
- fSelection = new TmfTimeRange(beginTs, endTs);
- fWindowRange = prevCtx.fWindowRange;
- fEditorFile = prevCtx.fEditorFile;
- fFilter = prevCtx.fFilter;
- }
-
- public TmfTraceContext(TmfTraceContext prevCtx, TmfTimeRange tr) {
- fSelection = prevCtx.fSelection;
- fWindowRange = tr;
- fEditorFile = prevCtx.fEditorFile;
- fFilter = prevCtx.fFilter;
- }
-