private void updateDialog(final File directory){
  final InstallationState cppState=CBinExportInstallationChecker.getState(directory);
  m_cppStateLabel.setText(getText(cppState));
  m_cppButton.setEnabled(cppState == InstallationState.NotInstalled);
}

private void updateDialog ( final File directory ) { final InstallationState cppState = CBinExportInstallationChecker . getState ( directory ) ; m_cppStateLabel . setText ( getText ( cppState ) ) ; m_cppButton . setEnabled ( cppState == InstallationState . NotInstalled ) ; }
updates the components of the dialog after the user changed the current directory .
