blob: c7ba7ee4bd82a238f09d86aa7e73a7af3fc3a638 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2018 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.tracecompass.internal.tmf.ui.viewers.timegraph.handlers;
import org.eclipse.tracecompass.tmf.ui.widgets.timegraph.TimeGraphViewer;
/**
* Time graph add (toggle) a bookmark handler.
*
* @author Matthew Khouzam
*/
public class TimeGraphAddBookmarkHandler extends TimeGraphBaseHandler {
@Override
public void execute(TimeGraphViewer viewer) {
viewer.getToggleBookmarkAction().runWithEvent(null);
}
}