private final Cursor fZoomCursor = Display.getDefault().getSystemCursor(SWT.CURSOR_SIZEWE);
private final List<ViewerFilter> fFilters = new ArrayList<ViewerFilter>();
private MenuDetectEvent fPendingMenuDetectEvent = null;
+ private boolean fHideArrows = false;
private int fBorderWidth = 0;
private int fHeaderHeight = 0;
fTimeProvider.setStartFinishTimeNotify(time0, time1);
}
+ /**
+ * Hide arrows
+ *
+ * @param hideArrows true to hide arrows
+ *
+ * @since 2.1
+ */
+ public void hideArrows(boolean hideArrows) {
+ fHideArrows = hideArrows;
+ }
+
/**
* Return the currently selected trace
*
*/
public void drawLinks(Rectangle bounds, ITimeDataProvider timeProvider,
List<ILinkEvent> links, int nameSpace, GC gc) {
+ if (fHideArrows) {
+ return;
+ }
for (ILinkEvent event : links) {
drawLink(event, bounds, timeProvider, nameSpace, gc);
}