Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Hufmann2012-07-27 18:38:09 +0000
committerBernd Hufmann2012-07-27 18:46:20 +0000
commitecc18b80174f38b1319b524888c0f7655f996543 (patch)
tree3375a711f52e2188157456afb561168c9563e566 /lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/views/uml2sd/loader/Uml2SDSignalValidator.java
parentd184aaa40527c67adddb57b142a7cc31b29ea3ac (diff)
downloadorg.eclipse.linuxtools-ecc18b80174f38b1319b524888c0f7655f996543.tar.gz
org.eclipse.linuxtools-ecc18b80174f38b1319b524888c0f7655f996543.tar.xz
org.eclipse.linuxtools-ecc18b80174f38b1319b524888c0f7655f996543.zip
Fix more compiler/javadoc warnings as per new project specific settings
See also bug 385535 for the set of settings. Change-Id: I76b5e8a78113908379cb9d73bbbbfae6bf1006a6 Reviewed-on: https://git.eclipse.org/r/7006 Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
Diffstat (limited to 'lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/views/uml2sd/loader/Uml2SDSignalValidator.java')
-rw-r--r--lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/views/uml2sd/loader/Uml2SDSignalValidator.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/views/uml2sd/loader/Uml2SDSignalValidator.java b/lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/views/uml2sd/loader/Uml2SDSignalValidator.java
index c35e6f28e2..dd83c3b66e 100644
--- a/lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/views/uml2sd/loader/Uml2SDSignalValidator.java
+++ b/lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/views/uml2sd/loader/Uml2SDSignalValidator.java
@@ -22,6 +22,8 @@ import org.eclipse.linuxtools.tmf.core.signal.TmfTimeSynchSignal;
/**
* Class to implement that certain signals are sent as well as are sent with correct content.
+ *
+ * @author Bernd Hufmann
*/
public class Uml2SDSignalValidator extends TmfComponent implements IUml2SdSignalValidator {
@@ -42,12 +44,19 @@ public class Uml2SDSignalValidator extends TmfComponent implements IUml2SdSignal
// ------------------------------------------------------------------------
// Constructor
// ------------------------------------------------------------------------
+ /**
+ * Constructor
+ */
public Uml2SDSignalValidator() {
}
// ------------------------------------------------------------------------
// Operations
// ------------------------------------------------------------------------
+ /**
+ * Signal handler for time synch signal.
+ * @param signal the signal to handle.
+ */
@TmfSignalHandler
public void synchToTime(TmfTimeSynchSignal signal) {
// Set results so that it can be validated in the test case
@@ -56,6 +65,10 @@ public class Uml2SDSignalValidator extends TmfComponent implements IUml2SdSignal
setCurrentTimeError(!getCurrentTime().equals(signal.getCurrentTime()));
}
+ /**
+ * Signal handler for time range synch signal.
+ * @param signal the signal to handle.
+ */
@TmfSignalHandler
public void synchToTimeRange(TmfRangeSynchSignal signal) {
// Set results so that it can be validated in the test case
@@ -65,6 +78,10 @@ public class Uml2SDSignalValidator extends TmfComponent implements IUml2SdSignal
setRangeError(!getCurrentRange().equals(signal.getCurrentRange()));
}
+ /**
+ * Signal handler for handling start synch signal.
+ * @param signal the signal to handle.
+ */
@TmfSignalHandler
public void startSynch(TmfStartSynchSignal signal) {
fSignalDepth++;
@@ -75,6 +92,10 @@ public class Uml2SDSignalValidator extends TmfComponent implements IUml2SdSignal
setSignalError(fSignalDepth > 1);
}
+ /**
+ * Signal handler for handling end synch signal.
+ * @param signal the signal to handle.
+ */
@TmfSignalHandler
public void endSynch(TmfEndSynchSignal signal) {
fSignalDepth = fSignalDepth > 0 ? fSignalDepth - 1 : 0;

Back to the top