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
.IResource
;
16 import org
.eclipse
.linuxtools
.tmf
.signal
.TmfSignal
;
17 import org
.eclipse
.linuxtools
.tmf
.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 IResource fResource
;
27 private final ITmfEventsFilterProvider fEventsFilterProvider
;
29 public TmfTraceOpenedSignal(Object source
, ITmfTrace trace
, IResource resource
, ITmfEventsFilterProvider eventsFilterProvider
) {
33 fEventsFilterProvider
= eventsFilterProvider
;
36 public ITmfTrace
getTrace() {
40 public IResource
getResource() {
44 public ITmfEventsFilterProvider
getEventsFilterProvider() {
45 return fEventsFilterProvider
;
49 public String
toString() {
50 return "[TmfTraceOpenedSignal (" + fTrace
.getName() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$