Author: adietish
Date: 2011-10-17 04:52:30 -0400 (Mon, 17 Oct 2011)
New Revision: 35702
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewDomainWizardPage.java
Log:
[JBIDE-9793] updating "ssh key warning" after new key was added/removed from
SSH2 prefs
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewDomainWizardPage.java
===================================================================
---
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewDomainWizardPage.java 2011-10-17
08:51:20 UTC (rev 35701)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewDomainWizardPage.java 2011-10-17
08:52:30 UTC (rev 35702)
@@ -175,6 +175,7 @@
@Override
public void widgetSelected(SelectionEvent e) {
SshPrivateKeysPreferences.openPreferencesPage(getShell());
+ getDatabindingContext().updateTargets();
}
};
}
@@ -197,8 +198,8 @@
}
if (!isKeyKnownToSsh((String) value)) {
return ValidationStatus.warning(
- NLS.bind("Could not find the private portion for the public key
\"{0}\". "
- + "Make sure your private key is listed in the ssh2 preferences.",
value));
+ NLS.bind("Could not find the private portion for your public key. "
+ + "Make sure it is listed in the ssh2 preferences.", value));
}
return ValidationStatus.ok();
}
Show replies by date