* {@link #getInstance()}).
*
* @author Alexandre Montplaisir
- * @since 2.0
*/
public final class TmfTraceManager {
/**
* @return The begin timestamp of selection
- * @since 2.1
*/
public ITmfTimestamp getSelectionBeginTime() {
return getCurrentTraceContext().getSelectionBegin();
/**
* @return The end timestamp of selection
- * @since 2.1
*/
public ITmfTimestamp getSelectionEndTime() {
return getCurrentTraceContext().getSelectionEnd();
* Gets the filter applied to the current trace
*
* @return a filter, or <code>null</code>
- * @since 2.2
*/
public synchronized ITmfFilter getCurrentFilter() {
return getCurrentTraceContext().getFilter();
* @param trace
* the trace
* @return the editor file or null if the trace is not opened
- * @since 3.0
*/
public synchronized IFile getTraceEditorFile(ITmfTrace trace) {
TmfTraceContext ctx = fTraces.get(trace);
* @param trace
* The trace or experiment
* @return The corresponding trace set, including the experiment.
- * @since 3.1
*/
public static @NonNull Collection<ITmfTrace> getTraceSetWithExperiment(ITmfTrace trace) {
if (trace == null) {
*
* @param trace
* The trace for which to refresh the supplementary files
- * @since 3.0
*/
public static void refreshSupplementaryFiles(ITmfTrace trace) {
IResource resource = trace.getResource();
*
* @param signal
* The incoming signal
- * @since 2.2
*/
@TmfSignalHandler
public synchronized void filterApplied(TmfEventFilterAppliedSignal signal) {
*
* @return the temporary directory path suitable to be passed to the
* java.io.File constructor without a trailing separator
- * @since 3.2
*/
public static String getTemporaryDirPath() {
// Get the workspace path from the properties