diff options
author | Francois Chouinard | 2012-05-29 18:32:57 +0000 |
---|---|---|
committer | Francois Chouinard | 2012-05-29 18:32:57 +0000 |
commit | ae3d53b09f90004c7c35fcf62c08204e3b39fed9 (patch) | |
tree | 7da46477e8f44a4945484a0c091c0fbfe5f2ef40 /lttng/org.eclipse.linuxtools.tmf.core | |
parent | c3415159881d69479a925b74d34b1351e6d2ac78 (diff) | |
download | org.eclipse.linuxtools-ae3d53b09f90004c7c35fcf62c08204e3b39fed9.tar.gz org.eclipse.linuxtools-ae3d53b09f90004c7c35fcf62c08204e3b39fed9.tar.xz org.eclipse.linuxtools-ae3d53b09f90004c7c35fcf62c08204e3b39fed9.zip |
Add the TmfStateSystemBuildCompleted signal (bug 380945)
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.core')
-rw-r--r-- | lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfStateSystemBuildCompleted.java | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfStateSystemBuildCompleted.java b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfStateSystemBuildCompleted.java new file mode 100644 index 0000000000..d90266dd09 --- /dev/null +++ b/lttng/org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfStateSystemBuildCompleted.java @@ -0,0 +1,51 @@ +/******************************************************************************* + * Copyright (c) 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: + * Francois Chouinard - Initial API and implementation + *******************************************************************************/ + +package org.eclipse.linuxtools.tmf.core.signal; + +import org.eclipse.linuxtools.tmf.core.trace.ITmfTrace; + +/** + * Signal sent when the state system has completed its build. + * + * @version 1.0 + * @author Francois Chouinard + */ +public class TmfStateSystemBuildCompleted extends TmfSignal { + + private ITmfTrace<?> fTrace; + + /** + * @param source + */ + public TmfStateSystemBuildCompleted(Object source, ITmfTrace<?> trace) { + super(source); + fTrace = trace; + } + + /** + * @param source + */ + public ITmfTrace<?> getTrace() { + return fTrace; + } + + /* (non-Javadoc) + * @see java.lang.Object#toString() + */ + @Override + @SuppressWarnings("nls") + public String toString() { + return "[TmfStateSystemBuildCompleted (" + fTrace.toString() + ")]"; + } + +} |