public FileObject browse( String[] fileFilters, String[] fileFilterNames, String fileUri, int fileDialogMode, boolean showLocation, boolean showCustomUI ) throws KettleException, FileSystemException { return browse( fileFilters, fileFilterNames, fileUri, fileSystemOptions, fileDialogMode, showLocation, showCustomUI ); }
public FileObject browse( String[] fileFilters, String[] fileFilterNames, String fileUri, FileSystemOptions opts ) throws KettleException, FileSystemException { return browse( fileFilters, fileFilterNames, fileUri, opts, VfsFileChooserDialog.VFS_DIALOG_OPEN_DIRECTORY ); }
public FileObject browse( String[] fileFilters, String[] fileFilterNames, String fileUri ) throws KettleException, FileSystemException { return browse( fileFilters, fileFilterNames, fileUri, VfsFileChooserDialog.VFS_DIALOG_OPEN_DIRECTORY ); }
public FileObject browse( String[] fileFilters, String[] fileFilterNames, String fileUri, int fileDialogMode, boolean showLocation ) throws KettleException, FileSystemException { return browse( fileFilters, fileFilterNames, fileUri, fileSystemOptions, fileDialogMode, showLocation, true ); }
public FileObject browse( String[] fileFilters, String[] fileFilterNames, String fileUri, int fileDialogMode ) throws KettleException, FileSystemException { return browse( fileFilters, fileFilterNames, fileUri, fileSystemOptions, fileDialogMode ); }
public FileObject browse( String[] fileFilters, String[] fileFilterNames, String fileUri, FileSystemOptions opts, int fileDialogMode ) throws KettleException, FileSystemException { return browse( fileFilters, fileFilterNames, fileUri, opts, fileDialogMode, true, true ); }
protected FileObject browseVfs( FileObject root, FileObject initial, int dialogMode, String[] schemeRestrictions, boolean showFileScheme, String defaultScheme, NamedCluster namedCluster, boolean showLocation, boolean showCustomUI ) throws KettleFileException { if ( initial == null ) { initial = KettleVFS.getFileObject( Spoon.getInstance().getLastFileOpened() ); } if ( root == null ) { try { root = initial.getFileSystem().getRoot(); } catch ( FileSystemException e ) { throw new KettleFileException( e ); } } VfsFileChooserHelper fileChooserHelper = new VfsFileChooserHelper( getShell(), Spoon.getInstance().getVfsFileChooserDialog( root, initial ), jobEntry ); fileChooserHelper.setDefaultScheme( defaultScheme ); fileChooserHelper.setSchemeRestrictions( schemeRestrictions ); fileChooserHelper.setShowFileScheme( showFileScheme ); if ( namedCluster != null ) { fileChooserHelper.setNamedCluster( namedCluster ); } try { return fileChooserHelper.browse( getFileFilters(), getFileFilterNames(), initial.getName().getURI(), dialogMode, showLocation, showCustomUI ); } catch ( KettleException e ) { throw new KettleFileException( e ); } catch ( FileSystemException e ) { throw new KettleFileException( e ); } }