mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 23:25:26 +02:00
[doc] Added internal comment to restoreWidgetValues() to document current selected system type history priorities
This commit is contained in:
parent
dc33640fab
commit
bb7750de47
1 changed files with 6 additions and 0 deletions
|
@ -404,6 +404,12 @@ public class RSEMainNewConnectionWizard extends Wizard implements INewWizard, IS
|
|||
protected void restoreWidgetValues() {
|
||||
IDialogSettings dialogSettings = getDialogSettings();
|
||||
if (dialogSettings != null) {
|
||||
// Note: Current mode is that the remembered last selected system type id
|
||||
// has priority over the type of a host selection within the remote
|
||||
// systems view. We are leaving it that way for now out of consistency
|
||||
// reason. If the host selection within the remote system view should
|
||||
// get ever the priority, check for 'selectedSystemType == null' additional
|
||||
// to the check for 'systemTypeId != null'.
|
||||
String systemTypeId = dialogSettings.get(LAST_SELECTED_SYSTEM_TYPE_ID);
|
||||
if (systemTypeId != null) {
|
||||
IRSESystemType systemType = RSECorePlugin.getTheCoreRegistry().getSystemTypeById(systemTypeId);
|
||||
|
|
Loading…
Add table
Reference in a new issue