commit | dabcefca65273429ea31de8caa14c1d6cfd0c26e | [log] [tgz] |
---|---|---|
author | Lin Zhu <lzhu@actuate.com> | Mon Dec 11 08:27:21 2006 +0000 |
committer | Lin Zhu <lzhu@actuate.com> | Mon Dec 11 08:27:21 2006 +0000 |
tree | b013c89d46f1e4cf064e05f67aec66408be0e46b | |
parent | 22d7e54746e5ca591cc05a53d3bf73fb5d28e005 [diff] |
CheckIn:Bug 167201 Before dataset design is saved, the activation of FileSelectionWizardPage must be judged
diff --git a/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FileSelectionWizardPage.java b/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FileSelectionWizardPage.java index 3738029..ad18c5c 100644 --- a/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FileSelectionWizardPage.java +++ b/plugins/org.eclipse.datatools.connectivity.oda.flatfile.ui/src/org/eclipse/datatools/connectivity/oda/flatfile/ui/wizards/FileSelectionWizardPage.java
@@ -257,6 +257,10 @@ */ protected DataSetDesign collectDataSetDesign( DataSetDesign design ) { + //if this page in DataSetEditor hasn't been activated + if ( fileViewer == null ) + return design; + savePage( design ); return design; }