1 /*******************************************************************************
2 * Copyright (c) 2010 Ericsson
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
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.signal
;
15 import org
.eclipse
.core
.resources
.IFile
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.signal
.TmfSignal
;
17 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
18 import org
.eclipse
.linuxtools
.tmf
.ui
.viewers
.events
.ITmfEventsFilterProvider
;
21 * <b><u>TmfTraceOpenedSignal</u></b>
23 public class TmfTraceOpenedSignal
extends TmfSignal
{
25 private final ITmfTrace
<?
> fTrace
;
26 private final IFile fBookmarksFile
;
27 private final ITmfEventsFilterProvider fEventsFilterProvider
;
29 public TmfTraceOpenedSignal(Object source
, ITmfTrace
<?
> trace
, IFile bookmarksFile
, ITmfEventsFilterProvider eventsFilterProvider
) {
32 fBookmarksFile
= bookmarksFile
;
33 fEventsFilterProvider
= eventsFilterProvider
;
36 public ITmfTrace
<?
> getTrace() {
40 public IFile
getBookmarksFile() {
41 return fBookmarksFile
;
44 public ITmfEventsFilterProvider
getEventsFilterProvider() {
45 return fEventsFilterProvider
;
49 public String
toString() {
50 return "[TmfTraceOpenedSignal (" + fTrace
.getName() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$