Commit | Line | Data |
---|---|---|
739b9fec AM |
1 | /******************************************************************************* |
2 | * Copyright (c) 2016 EfficiOS Inc., Alexandre Montplaisir | |
3 | * | |
4 | * All rights reserved. This program and the accompanying materials are | |
5 | * made available under the terms of the Eclipse Public License v1.0 which | |
6 | * accompanies this distribution, and is available at | |
7 | * http://www.eclipse.org/legal/epl-v10.html | |
8 | *******************************************************************************/ | |
9 | ||
10 | package org.eclipse.tracecompass.tmf.ui.tests.views.timegraph2.swtjfx; | |
11 | ||
12 | import org.eclipse.core.runtime.IProgressMonitor; | |
13 | import org.eclipse.jdt.annotation.NonNull; | |
14 | import org.eclipse.jdt.annotation.Nullable; | |
15 | import org.eclipse.tracecompass.internal.provisional.tmf.core.views.timegraph2.TimeGraphModelRender; | |
16 | import org.eclipse.tracecompass.internal.provisional.tmf.core.views.timegraph2.TimeGraphModelRenderProvider; | |
17 | import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace; | |
18 | ||
19 | public class ModelRenderProviderStub extends TimeGraphModelRenderProvider { | |
20 | ||
21 | protected ModelRenderProviderStub() { | |
22 | super(null, null); | |
23 | } | |
24 | ||
25 | @Override | |
26 | public @NonNull TimeGraphModelRender getRender(@NonNull ITmfTrace trace, long rangeStart, long rangeEnd, long resolution, @Nullable IProgressMonitor monitor) { | |
27 | return TimeGraphModelRender.EMPTY_RENDER; | |
28 | } | |
29 | ||
30 | } |