-/*******************************************************************************\r
- * Copyright (c) 2010 Ericsson\r
- * \r
- * All rights reserved. This program and the accompanying materials are\r
- * made available under the terms of the Eclipse Public License v1.0 which\r
- * accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- * \r
- * Contributors:\r
- * Patrick Tasse - Initial API and implementation\r
- *******************************************************************************/\r
-\r
-package org.eclipse.linuxtools.tmf.ui.editors;\r
-\r
-import org.eclipse.linuxtools.tmf.trace.ITmfTrace;\r
-\r
-public interface ITmfTraceEditor {\r
-\r
- public ITmfTrace getTrace();\r
-}\r
+/*******************************************************************************
+ * Copyright (c) 2010, 2012 Ericsson
+ *
+ * All rights reserved. This program and the accompanying materials are
+ * made available under the terms of the Eclipse Public License v1.0 which
+ * accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Patrick Tasse - Initial API and implementation
+ *******************************************************************************/
+
+package org.eclipse.linuxtools.tmf.ui.editors;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace;
+
+/**
+ * The trace editor interface
+ *
+ * @version 1.0
+ * @author Patrick Tasse
+ */
+public interface ITmfTraceEditor {
+
+ /**
+ * Get the trace to which this editor is assigned
+ *
+ * @return The trace
+ */
+ public ITmfTrace getTrace();
+
+ /**
+ * Get the bookmark file associated to this trace
+ *
+ * @return The IFile object pointing to the bookmark file
+ */
+ public IFile getBookmarksFile();
+}