Search in sources :

Example 1 with KettleVfsDelegatingResolver

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;
}
Also used : VfsFileChooserDialog(org.pentaho.vfs.ui.VfsFileChooserDialog) KettleVfsDelegatingResolver(org.pentaho.di.core.vfs.KettleVfsDelegatingResolver)

Aggregations

KettleVfsDelegatingResolver (org.pentaho.di.core.vfs.KettleVfsDelegatingResolver)1 VfsFileChooserDialog (org.pentaho.vfs.ui.VfsFileChooserDialog)1