use of org.pentaho.di.core.vfs.KettleVfsDelegatingResolver in project pentaho-kettle by pentaho.
the class Spoon method getVfsFileChooserDialog.
public VfsFileChooserDialog getVfsFileChooserDialog(FileObject rootFile, FileObject initialFile) {
if (vfsFileChooserDialog == null) {
vfsFileChooserDialog = new VfsFileChooserDialog(shell, new KettleVfsDelegatingResolver(), rootFile, initialFile);
}
vfsFileChooserDialog.setRootFile(rootFile);
vfsFileChooserDialog.setInitialFile(initialFile);
return vfsFileChooserDialog;
}
Aggregations