Author: adietish
Date: 2011-01-28 12:28:21 -0500 (Fri, 28 Jan 2011)
New Revision: 28709
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/SshPrivateKeysPreferences.java
Log:
[JBIDE-8253][JBIDE-8254]
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java 2011-01-28
16:46:48 UTC (rev 28708)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java 2011-01-28
17:28:21 UTC (rev 28709)
@@ -409,8 +409,6 @@
new MandatoryStringValidator(WizardMessages.getString(MUST_ENTER_A_KEYNAME)))
.setBeforeSetValidator(
new KeyValidator()),
- // TODO: internationalize strings
-
null);
ControlDecorationSupport.create(textBinding, SWT.LEFT | SWT.TOP);
}
@@ -425,7 +423,7 @@
if (!isKeyKnowToSsh((String) value)) {
return ValidationStatus
.warning(
- "Key is not known to the ssh subsystem (SSH2 preferenes, private keys).
");
+ "Key not found under SSH preferences, might be needed for login after
launch.");
}
return ValidationStatus.ok();
}
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/SshPrivateKeysPreferences.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/SshPrivateKeysPreferences.java 2011-01-28
16:46:48 UTC (rev 28708)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/SshPrivateKeysPreferences.java 2011-01-28
17:28:21 UTC (rev 28709)
@@ -50,12 +50,6 @@
sshPrivateKeyPreference.add(keyName);
}
- /**
- * Checks if the given key is cotained in the ssh-preferences
- *
- * @param keyName
- * the name of the key to add
- */
public static boolean contains(File key) {
if (key == null) {
return false;
@@ -82,7 +76,7 @@
}
return keyName;
}
-
+
/**
* Removes the given keyName from the ssh-preferences
*
Show replies by date