How to read RTC Eclipse preferences using the Java API?
How can I read the values in the Window>Preferences>Team>Jazz Source Control>External Compare Tools preference page?
In particular I am interested to find if the checkbox "Use an external compare tool as the default open action" is selected and the name of the selected 2-way compare tool there.
Thanks!
Accepted answer
You can try to export the Eclipse preferences and it should look like below
/instance/org.eclipse.ui.ide/IMPORT_FILES_AND_FOLDERS_VIRTUAL_FOLDER_MODE=prompt
/instance/com.ibm.team.filesystem.rcp.core/com.ibm.team.filesystem.rcp.core.SandboxListening=true
/instance/com.ibm.team.filesystem.ide.ui/external_compare_tool_merge_executable_path_pref_key_Beyond\ Compare=C\:\\Program Files\\Beyond Compare 4\\BComp.exe
/instance/com.ibm.team.filesystem.ide.ui/external_compare_previously_selected_compare_tool=Beyond Compare
/instance/com.ibm.team.filesystem.ide.ui/external_compare_default_tool_preference_key=true
Comments
1 vote