summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxwu2011-10-25 06:21:16 (EDT)
committerlzhu2011-10-25 06:21:16 (EDT)
commit52723d050c986768eff116ec2f1353ef86b6b15e (patch)
tree414b45c7067a6e3403d3e60a8a2d5eeb7ff15d80
parent1f46c47ab7bd5b18836b329f9681d0adc927d67c (diff)
downloadorg.eclipse.datatools.enablement.oda-52723d050c986768eff116ec2f1353ef86b6b15e.zip
org.eclipse.datatools.enablement.oda-52723d050c986768eff116ec2f1353ef86b6b15e.tar.gz
org.eclipse.datatools.enablement.oda-52723d050c986768eff116ec2f1353ef86b6b15e.tar.bz2
CheckIn: Fix an issue - Update the description of the dialog which
selects folder for flat file.
-rw-r--r--plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/i18n/messages.properties6
-rw-r--r--plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/RelativeFileSelectionDialog.java3
2 files changed, 7 insertions, 2 deletions
diff --git a/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/i18n/messages.properties b/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/i18n/messages.properties
index e89583c..60c2a14 100644
--- a/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/i18n/messages.properties
+++ b/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/i18n/messages.properties
@@ -12,8 +12,10 @@
#************************************************************************
#
wizard.title.selectColumns=Select Columns
-wizard.defaultMessage.selectFolder=Select a folder that contains the flat files or enter an URI for the flat file.
wizard.defaultMessage.selectFile=Select the file and the columns for the data set.
+wizard.WizardTitle.DEFAULT_MESSAGE=Select a folder that contains the flat files or enter an URI for the flat file.
+
+FolderSelectionPageHelper.SelectFolderDialog.Title=Select a folder that contains the flat files.
label.selectFolder=S&elect home folder:
label.fileURI=Enter file &URI:
@@ -98,3 +100,5 @@ Connection.warning.untested=Connection has not been tested. Please test connecti
Connection.error.invalidPath=No valid flat file locations found.
Connection.error.invalidHomeFolder=Invalid flat file home folder <{0}>.
Connection.error.invalidFileURI=Invalid flat file URI path <{0}>.
+
+RelativeFileSelectionDialog.Title.SelectFile=Select File
diff --git a/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/RelativeFileSelectionDialog.java b/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/RelativeFileSelectionDialog.java
index 2810c2e..84fafad 100644
--- a/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/RelativeFileSelectionDialog.java
+++ b/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/RelativeFileSelectionDialog.java
@@ -26,6 +26,7 @@ import java.util.List;
import org.eclipse.core.runtime.IStatus;
import org.eclipse.core.runtime.Status;
+import org.eclipse.datatools.connectivity.oda.flatfile.ui.i18n.Messages;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.jface.viewers.ITreeContentProvider;
@@ -60,7 +61,7 @@ public class RelativeFileSelectionDialog extends ElementTreeSelectionDialog
this.setValidator( new SelectionValidator( ) );
this.setInput( rootFolder.getAbsolutePath( ) );
- this.setTitle( "SelectFile.Title" ); //$NON-NLS-1$
+ this.setTitle( Messages.getString( "RelativeFileSelectionDialog.Title.SelectFile" ) ); //$NON-NLS-1$
this.rootFolder = rootFolder;
}