Class TmfTimeViewAlignmentSignal
java.lang.Object
org.eclipse.tracecompass.tmf.core.signal.TmfSignal
org.eclipse.tracecompass.tmf.ui.signal.TmfTimeViewAlignmentSignal
A signal to inform about the state of time alignment. Typically, the emitter
will inform the receivers about the position of a sash that separates the
time axis on right side and extra information on the left side.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTmfTimeViewAlignmentSignal(Object source, TmfTimeViewAlignmentInfo alignmentInfo) Creates a new TmfTimeViewAlignmentSignalTmfTimeViewAlignmentSignal(Object source, TmfTimeViewAlignmentInfo alignmentInfo, boolean synchronous) Creates a new TmfTimeViewAlignmentSignal -
Method Summary
Modifier and TypeMethodDescriptionGet the time alignment information.booleanGet whether or not the signal should be processed right away, without being throttled.toString()Methods inherited from class org.eclipse.tracecompass.tmf.core.signal.TmfSignal
getReference, getSource, setReference
-
Constructor Details
-
TmfTimeViewAlignmentSignal
Creates a new TmfTimeViewAlignmentSignal- Parameters:
source- the source of the signalalignmentInfo- information about the time alignment
-
TmfTimeViewAlignmentSignal
public TmfTimeViewAlignmentSignal(Object source, TmfTimeViewAlignmentInfo alignmentInfo, boolean synchronous) Creates a new TmfTimeViewAlignmentSignal- Parameters:
source- the source of the signalalignmentInfo- information about the time alignmentsynchronous- whether or not the signal should be processed right away. This is useful for signals that are sent not repetitively. For example, a sash being dragged would not be synchronous because the signal gets fired repeatedly. A view that has completed computing it's data could send a synchronous signal.
-
-
Method Details
-
getTimeViewAlignmentInfo
Get the time alignment information.- Returns:
- the time alignment information
-
toString
-
IsSynchronous
public boolean IsSynchronous()Get whether or not the signal should be processed right away, without being throttled.- Returns:
- whether or not the signal should be processed right away
-