Loading plugins/org.etsi.mts.tdl.wizards/src/org/etsi/mts/tdl/wizards/importWizards/ImportWizardPage.java +9 −5 Original line number Diff line number Diff line Loading @@ -182,12 +182,16 @@ public class ImportWizardPage extends WizardNewFileCreationPage { protected boolean validatePage() { boolean validatePage = super.validatePage(); //basic check for referenced data file if (this.editor != null) { IPath sourcePath = Path.fromOSString(this.editor.getStringValue()); boolean exists = sourcePath.toFile().exists(); if (!exists) { setErrorMessage("The selected data file path is not valid."); } return exists && validatePage; } else { return false; } } private void flattenDataDefinitions(SelectionEvent e) { Loading Loading
plugins/org.etsi.mts.tdl.wizards/src/org/etsi/mts/tdl/wizards/importWizards/ImportWizardPage.java +9 −5 Original line number Diff line number Diff line Loading @@ -182,12 +182,16 @@ public class ImportWizardPage extends WizardNewFileCreationPage { protected boolean validatePage() { boolean validatePage = super.validatePage(); //basic check for referenced data file if (this.editor != null) { IPath sourcePath = Path.fromOSString(this.editor.getStringValue()); boolean exists = sourcePath.toFile().exists(); if (!exists) { setErrorMessage("The selected data file path is not valid."); } return exists && validatePage; } else { return false; } } private void flattenDataDefinitions(SelectionEvent e) { Loading