editor = new FileFieldEditor("fileSelect","Select File: ",fileSelectionArea); //NON-NLS-1 //NON-NLS-2
editor.getTextControl(fileSelectionArea).addModifyListener(new ModifyListener(){
public void modifyText(ModifyEvent e) {
IPath path = new Path(ImportWizardPage.this.editor.getStringValue());
setFileName(path.lastSegment());
}
});
String[] extensions = new String[] { "*.*" }; //NON-NLS-1
editor.setFileExtensions(extensions);
fileSelectionArea.moveAbove(null);