From 786939290ca427d781dc49c9d9e4804911164398 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Thu, 27 Oct 2016 15:21:14 -0400 Subject: [PATCH] Add pin state to TimeGraphBaseControl Change-Id: I538606eb0ebcac832fcd1905c8adf0d70330577b Signed-off-by: Jonathan Rajotte --- .../timegraph/widgets/TimeGraphBaseControl.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphBaseControl.java b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphBaseControl.java index 003e5e593d..154b8d5367 100644 --- a/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphBaseControl.java +++ b/tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/widgets/timegraph/widgets/TimeGraphBaseControl.java @@ -113,5 +113,15 @@ public abstract class TimeGraphBaseControl extends Canvas implements PaintListen return fFontHeight; } + /** + * Set the pin state + * + * @param pinned + * The pin state + * @since 2.2 + */ + public synchronized void setPinned(boolean pinned) { + } + abstract void paint(Rectangle bound, PaintEvent e); } -- 2.34.1