| 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2010, 2012 Ericsson |
| 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 | * Contributors: |
| 10 | * Patrick Tasse - Initial API and implementation |
| 11 | *******************************************************************************/ |
| 12 | |
| 13 | package org.eclipse.linuxtools.tmf.ui.editors; |
| 14 | |
| 15 | import org.eclipse.core.resources.IFile; |
| 16 | import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace; |
| 17 | |
| 18 | /** |
| 19 | * The trace editor interface |
| 20 | * |
| 21 | * @version 1.0 |
| 22 | * @author Patrick Tasse |
| 23 | */ |
| 24 | public interface ITmfTraceEditor { |
| 25 | |
| 26 | /** |
| 27 | * Get the trace to which this editor is assigned |
| 28 | * |
| 29 | * @return The trace |
| 30 | */ |
| 31 | public ITmfTrace getTrace(); |
| 32 | |
| 33 | /** |
| 34 | * Get the bookmark file associated to this trace |
| 35 | * |
| 36 | * @return The IFile object pointing to the bookmark file |
| 37 | */ |
| 38 | public IFile getBookmarksFile(); |
| 39 | } |