Author: adietish
Date: 2011-03-08 12:28:05 -0500 (Tue, 08 Mar 2011)
New Revision: 29608
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/EditCloudConnectionWizard.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImageWizard.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ImageFilterWizard.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/InstanceFilterWizard.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysWizard.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnectionWizard.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/WizardMessages.properties
Log:
[JBIDE-8090] set window titles to wizards
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2011-03-08 17:19:35
UTC (rev 29607)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2011-03-08 17:28:05
UTC (rev 29608)
@@ -1,5 +1,12 @@
2011-03-08 André Dietisheim <André Dietisheim@adietisheim-thinkpad>
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImageWizard.java (addPages):
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/InstanceFilterWizard.java
(addPages):
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/ImageFilterWizard.java (addPages):
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnectionWizard.java
(init):
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnectionWizard.java
(init):
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java (addPages):
+ [JBIDE-8090] set window titles to wizards
* src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java
(createWidgets):
[JBIDE-8293] added link to SSH2 private keys in preferences
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnectionWizard.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnectionWizard.java 2011-03-08
17:19:35 UTC (rev 29607)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/EditCloudConnectionWizard.java 2011-03-08
17:28:05 UTC (rev 29608)
@@ -16,6 +16,8 @@
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
import org.eclipse.core.runtime.jobs.Job;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.ui.IWorkbench;
import org.jboss.tools.deltacloud.core.DeltaCloud;
import org.jboss.tools.deltacloud.core.DeltaCloudDriver;
import org.jboss.tools.deltacloud.core.job.AbstractCloudJob;
@@ -34,6 +36,11 @@
}
@Override
+ public void init(IWorkbench workbench, IStructuredSelection selection) {
+ setWindowTitle(WizardMessages.getString("EditCloudConnection.name"));
+ }
+
+ @Override
public boolean performFinish() {
String name = mainPage.getConnectionName();
String url = mainPage.getUrl();
@@ -43,6 +50,7 @@
return editCloud(initialCloud, name, url, username, password, driver);
}
+
private boolean editCloud(final DeltaCloud cloud, final String name, final String url,
final String username,
final String password, final DeltaCloudDriver driver) {
try {
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImageWizard.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImageWizard.java 2011-03-08
17:19:35 UTC (rev 29607)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImageWizard.java 2011-03-08
17:28:05 UTC (rev 29608)
@@ -32,6 +32,7 @@
@Override
public void addPages() {
+ setWindowTitle(WizardMessages.getString("FindImage.title"));
mainPage = new FindImagePage(cloud);
addPage(mainPage);
}
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ImageFilterWizard.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ImageFilterWizard.java 2011-03-08
17:19:35 UTC (rev 29607)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ImageFilterWizard.java 2011-03-08
17:28:05 UTC (rev 29608)
@@ -26,7 +26,7 @@
@Override
public void addPages() {
- // TODO Auto-generated method stub
+ setWindowTitle(WizardMessages.getString("ImageFilter.title"));
mainPage = new ImageFilterPage(getDeltaCloud());
addPage(mainPage);
}
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/InstanceFilterWizard.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/InstanceFilterWizard.java 2011-03-08
17:19:35 UTC (rev 29607)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/InstanceFilterWizard.java 2011-03-08
17:28:05 UTC (rev 29608)
@@ -27,6 +27,7 @@
@Override
public void addPages() {
+ setWindowTitle(WizardMessages.getString("InstanceFilter.title"));
mainPage = new InstanceFilterPage(getDeltaCloud());
addPage(mainPage);
}
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysWizard.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysWizard.java 2011-03-08
17:19:35 UTC (rev 29607)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/ManageKeysWizard.java 2011-03-08
17:28:05 UTC (rev 29608)
@@ -32,6 +32,7 @@
@Override
public void addPages() {
+ setWindowTitle(WizardMessages.getString("ManageKeys.title"));
mainPage = new ManageKeysPage(getDeltaCloud());
addPage(mainPage);
}
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnectionWizard.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnectionWizard.java 2011-03-08
17:19:35 UTC (rev 29607)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewCloudConnectionWizard.java 2011-03-08
17:28:05 UTC (rev 29608)
@@ -72,6 +72,7 @@
@Override
public void init(IWorkbench workbench, IStructuredSelection selection) {
+ setWindowTitle(WizardMessages.getString("NewCloudConnection.name"));
}
@Override
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java 2011-03-08
17:19:35 UTC (rev 29607)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstanceWizard.java 2011-03-08
17:28:05 UTC (rev 29608)
@@ -61,6 +61,7 @@
@Override
public void addPages() {
+ setWindowTitle(WizardMessages.getString("NewInstance.title"));
mainPage = new NewInstancePage(getDeltaCloud(), image);
addPage(mainPage);
additionalPages =
DeltacloudUIExtensionManager.getDefault().loadNewInstanceWizardPages();
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/WizardMessages.properties
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/WizardMessages.properties 2011-03-08
17:19:35 UTC (rev 29607)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/WizardMessages.properties 2011-03-08
17:28:05 UTC (rev 29608)
@@ -15,6 +15,7 @@
CloudConnectionTestFailure.msg=Connection Test failed
CloudConnectionTestingCredentials.msg=Testing credentials...
CloudConnectionInvalidCredentials.msg=Invalid credentials
+NewCloudConnection.name=New Cloud Connection
EditCloudConnection.name=Edit Cloud Connection
EditCloudConnectionError.title=Error Editing Cloud Connection
Show replies by date