Search in sources :

Example 1 with SymbolProviderConfig

use of org.eclipse.tracecompass.lttng2.ust.core.trace.LttngUstTrace.SymbolProviderConfig in project tracecompass by tracecompass.

the class UstDebugInfoSymbolProviderPreferencePage method saveConfiguration.

@Override
public void saveConfiguration() {
    SymbolProviderConfig config = new SymbolProviderConfig(getCurrentCheckBoxState(), getCurrentPathPrefix());
    LttngUstTrace trace = getSymbolProvider().getTrace();
    trace.setSymbolProviderConfig(config);
}
Also used : LttngUstTrace(org.eclipse.tracecompass.lttng2.ust.core.trace.LttngUstTrace) SymbolProviderConfig(org.eclipse.tracecompass.lttng2.ust.core.trace.LttngUstTrace.SymbolProviderConfig)

Example 2 with SymbolProviderConfig

use of org.eclipse.tracecompass.lttng2.ust.core.trace.LttngUstTrace.SymbolProviderConfig in project tracecompass by tracecompass.

the class UstDebugInfoSymbolProviderPreferencePage method loadCurrentSettings.

private void loadCurrentSettings() {
    /* The settings are currently stored in the trace object */
    LttngUstTrace trace = getSymbolProvider().getTrace();
    SymbolProviderConfig config = trace.getSymbolProviderConfig();
    checkNotNull(fUseCustomDirectoryCheckbox).setSelection(config.useCustomRootDir());
    checkNotNull(fCustomDirectoryPath).setText(config.getCustomRootDirPath());
    updateContents();
}
Also used : LttngUstTrace(org.eclipse.tracecompass.lttng2.ust.core.trace.LttngUstTrace) SymbolProviderConfig(org.eclipse.tracecompass.lttng2.ust.core.trace.LttngUstTrace.SymbolProviderConfig)

Aggregations

LttngUstTrace (org.eclipse.tracecompass.lttng2.ust.core.trace.LttngUstTrace)2 SymbolProviderConfig (org.eclipse.tracecompass.lttng2.ust.core.trace.LttngUstTrace.SymbolProviderConfig)2