Author: adietish
Date: 2010-10-11 09:11:26 -0400 (Mon, 11 Oct 2010)
New Revision: 25714
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionModel.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnection.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnection.java
Log:
[JBIDE-7282] [JBIDE-7283] [JBIDE-7284] corrected connection name retrieval
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-10-11 12:55:47
UTC (rev 25713)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-10-11 13:11:26
UTC (rev 25714)
@@ -1,7 +1,13 @@
2010-10-11 André Dietisheim <adietish(a)redhat.com>
- * src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java :
[JBIDE-7282] [JBIDE-7283] [JBIDE-7284] added decorations, (switched to databinding)
corrected page validity, added wizard messages
- * src/org/jboss/tools/internal/deltacloud/ui/wizards/WizardMessages.properties:
[JBIDE-7282] [JBIDE-7283] [JBIDE-7284] Added new messages.
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnection.java
(performTest):
+ [JBIDE-7282] [JBIDE-7283] [JBIDE-7284] removed autogenerated comments, changed setting
access to use presentation model
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnection.java:
+ [JBIDE-7282] [JBIDE-7283] [JBIDE-7284] removed autogenerated comments, changed setting
access to use presentation model
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionPage.java :
+ [JBIDE-7282] [JBIDE-7283] [JBIDE-7284] added decorations, (switched to databinding)
corrected page validity, added wizard messages
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/WizardMessages.properties:
+ [JBIDE-7282] [JBIDE-7283] [JBIDE-7284] Added new messages.
2010-10-08 Jeff Johnston <jjohnstn(a)redhat.com>
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionModel.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionModel.java 2010-10-11
12:55:47 UTC (rev 25713)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/CloudConnectionModel.java 2010-10-11
13:11:26 UTC (rev 25714)
@@ -36,6 +36,9 @@
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+/**
+ * @author Andre Dietisheim
+ */
public class CloudConnectionModel extends ObservablePojo {
public static final String PROPERTY_URL = "url";
@@ -135,7 +138,6 @@
connection.setRequestProperty(HTTPHEADER_KEY_ACCEPT, HTTPHEADER_VALUE_ACCEPTXML);
return connection.getContent();
}
-
}
public static class CloudTypeValidator implements IValidator {
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnection.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnection.java 2010-10-11
12:55:47 UTC (rev 25713)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnection.java 2010-10-11
13:11:26 UTC (rev 25714)
@@ -35,7 +35,6 @@
@Override
public void init(IWorkbench workbench, IStructuredSelection selection) {
- // TODO Auto-generated method stub
}
@Override
@@ -91,5 +90,4 @@
}
return true;
}
-
}
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnection.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnection.java 2010-10-11
12:55:47 UTC (rev 25713)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnection.java 2010-10-11
13:11:26 UTC (rev 25714)
@@ -31,12 +31,10 @@
@Override
public void init(IWorkbench workbench, IStructuredSelection selection) {
- // TODO Auto-generated method stub
}
@Override
public void addPages() {
- // TODO Auto-generated method stub
mainPage = new CloudConnectionPage(WizardMessages.getString(MAINPAGE_NAME), this);
addPage(mainPage);
}
@@ -62,7 +60,7 @@
@Override
public boolean performFinish() {
- String name = mainPage.getName();
+ String name = mainPage.getModel().getName();
String url = mainPage.getModel().getUrl();
String username = mainPage.getModel().getUsername();
String password = mainPage.getModel().getPassword();
Show replies by date