void () { myShellPathField.setText(myProjectOptionsProvider.getShellPath()); myStartDirectoryField.setText(myProjectOptionsProvider.getStartingDirectory()); myTabNameTextField.setText(myOptionsProvider.getTabName()); myCloseSessionCheckBox.setSelected(myOptionsProvider.getCloseSessionOnLogout()); myMouseReportCheckBox.setSelected(myOptionsProvider.getMouseReporting()); mySoundBellCheckBox.setSelected(myOptionsProvider.getAudibleBell()); myCopyOnSelectionCheckBox.setSelected(myOptionsProvider.getCopyOnSelection()); myPasteOnMiddleButtonCheckBox.setSelected(myOptionsProvider.getPasteOnMiddleMouseButton()); myOverrideIdeShortcuts.setSelected(myOptionsProvider.getOverrideIdeShortcuts()); myShellIntegration.setSelected(myOptionsProvider.getShellIntegration()); myHighlightHyperlinks.setSelected(myOptionsProvider.getHighlightHyperlinks()); myUseOptionAsMetaKey.setSelected(myOptionsProvider.getUseOptionAsMetaKey()); myConfigurables.forEach(c -> c.reset()); myEnvVarField.setData(myProjectOptionsProvider.getEnvData()); myCursorShape.setItem(myOptionsProvider.getCursorShape()); myEnvVarField.setEnabled(TrustedProjects.isTrusted(myProject)); }