[232696] Missing string separation
diff --git a/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/Messages.java b/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/Messages.java
index dc4d8c5..614db83 100644
--- a/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/Messages.java
+++ b/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/Messages.java
@@ -21,6 +21,7 @@
public static String installDir;
public static String browse;
public static String install;
+ public static String installDialogTitle;
public static String selectInstallDir;
public static String installedJRE;
public static String installedJREs;
diff --git a/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/Messages.properties b/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/Messages.properties
index 62539cd..e2e80d5 100644
--- a/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/Messages.properties
+++ b/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/Messages.properties
@@ -14,6 +14,7 @@
runtimeName=Na&me:
browse=B&rowse...
install=Download and Install...
+installDialogTitle=Download and Install
installDir=Tomcat installation &directory:
installedJRE=&JRE:
installedJREs=&Installed JREs...
diff --git a/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/TomcatRuntimeComposite.java b/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/TomcatRuntimeComposite.java
index bfe6752..cd95d02 100644
--- a/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/TomcatRuntimeComposite.java
+++ b/plugins/org.eclipse.jst.server.tomcat.ui/tomcatui/org/eclipse/jst/server/tomcat/ui/internal/TomcatRuntimeComposite.java
@@ -183,7 +183,7 @@
}
TaskModel taskModel = new TaskModel();
taskModel.putObject(LicenseWizardFragment.LICENSE, license);
- TaskWizard wizard2 = new TaskWizard(Messages.install, new WizardFragment() {
+ TaskWizard wizard2 = new TaskWizard(Messages.installDialogTitle, new WizardFragment() {
protected void createChildFragments(List list) {
list.add(new LicenseWizardFragment());
}
@@ -193,7 +193,6 @@
if (dialog2.open() == Window.CANCEL)
return;
-
DirectoryDialog dialog = new DirectoryDialog(TomcatRuntimeComposite.this.getShell());
dialog.setMessage(Messages.selectInstallDir);
dialog.setFilterPath(installDir.getText());