tmf: Define the StateChangeInput's event type at the constructor
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 18 Sep 2012 19:31:28 +0000 (15:31 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 18 Sep 2012 22:22:54 +0000 (18:22 -0400)
commit79044a6650ef5192750088d73c792c6d81874f73
tree9857b78f79601fa7ae5830e00dc6a6c18767cd1f
parent79e0a1df954d039e574838ef642d0e3ab1fb0ba1
tmf: Define the StateChangeInput's event type at the constructor

instead of using an abstract method just for that.

With this we can also check in the abstract class itself if the
event type is the right one before calling the method from the
sub-class.

Change-Id: I0cbce6c87e3ec51acfac4061c9db38f32bbcce9a
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/7807
Tested-by: Hudson CI
org.eclipse.linuxtools.lttng2.kernel.core/src/org/eclipse/linuxtools/internal/lttng2/kernel/core/stateprovider/CtfKernelStateInput.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/HistoryBuilder.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/AbstractStateChangeInput.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statesystem/IStateChangeInput.java
This page took 0.029157 seconds and 5 git commands to generate.