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);
}
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();
}
Aggregations