From: Jonathan Rajotte Date: Thu, 27 Oct 2016 19:21:14 +0000 (-0400) Subject: Add pin state to TimeGraphBaseControl X-Git-Url: http://git.efficios.com/?p=deliverable%2Ftracecompass.git;a=commitdiff_plain;h=786939290ca427d781dc49c9d9e4804911164398 Add pin state to TimeGraphBaseControl Change-Id: I538606eb0ebcac832fcd1905c8adf0d70330577b Signed-off-by: Jonathan Rajotte --- 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); }