public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( destination.getText() != null ) { String fpath = destination.getText(); // String fpath = StringUtil.environmentSubstitute(destination.getText()); dialog.setFilterPath( fpath ); } if ( dialog.open() != null ) { String str = dialog.getFilterPath(); destination.setText( str ); } } };
public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( destination.getText() != null ) { String fpath = destination.getText(); // String fpath = StringUtil.environmentSubstitute(destination.getText()); dialog.setFilterPath( fpath ); } if ( dialog.open() != null ) { String str = dialog.getFilterPath(); destination.setText( str ); } } };
public void widgetSelected( SelectionEvent arg0 ) { DirectoryDialog dd = new DirectoryDialog( shell, SWT.NONE ); dd.setFilterPath( wSortDir.getText() ); String dir = dd.open(); if ( dir != null ) { wSortDir.setText( dir ); } } } );
@Override public void widgetSelected( SelectionEvent arg0 ) { DirectoryDialog dd = new DirectoryDialog( shell, SWT.NONE ); dd.setFilterPath( wSortDir.getText() ); String dir = dd.open(); if ( dir != null ) { wSortDir.setText( dir ); } } } );
public void widgetSelected( SelectionEvent arg0 ) { DirectoryDialog dd = new DirectoryDialog( shell, SWT.NONE ); dd.setFilterPath( wSpoolDir.getText() ); String dir = dd.open(); if ( dir != null ) { wSpoolDir.setText( dir ); } } } );
public void widgetSelected( SelectionEvent arg0 ) { DirectoryDialog dd = new DirectoryDialog( shell, SWT.NONE ); dd.setFilterPath( wSortDir.getText() ); String dir = dd.open(); if ( dir != null ) { wSortDir.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wDestinationFolder.getText() != null ) { dialog.setFilterPath( jobMeta.environmentSubstitute( wDestinationFolder.getText() ) ); } String dir = dialog.open(); if ( dir != null ) { wDestinationFolder.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wFoldername.getText() != null ) { dialog.setFilterPath( jobMeta.environmentSubstitute( wFoldername.getText() ) ); } String dir = dialog.open(); if ( dir != null ) { wFoldername.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wDestinationFolder.getText() != null ) { dialog.setFilterPath( jobMeta.environmentSubstitute( wDestinationFolder.getText() ) ); } String dir = dialog.open(); if ( dir != null ) { wDestinationFolder.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wFoldername.getText() != null ) { dialog.setFilterPath( jobMeta.environmentSubstitute( wFoldername.getText() ) ); } String dir = dialog.open(); if ( dir != null ) { wFoldername.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wFoldername.getText() != null ) { dialog.setFilterPath( jobMeta.environmentSubstitute( wFoldername.getText() ) ); } String dir = dialog.open(); if ( dir != null ) { wFoldername.setText( dir ); } } } );
@Override public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wDestinationFolder.getText() != null ) { dialog.setFilterPath( jobMeta.environmentSubstitute( wDestinationFolder.getText() ) ); } String dir = dialog.open(); if ( dir != null ) { wDestinationFolder.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wErrorFilename.getText() != null ) { dialog.setFilterPath( jobMeta.environmentSubstitute( wErrorFilename.getText() ) ); } String dir = dialog.open(); if ( dir != null ) { wErrorFilename.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog ddialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wFilename.getText() != null ) { ddialog.setFilterPath( jobMeta.environmentSubstitute( wFilename.getText() ) ); } // Calling open() will open and run the dialog. // It will return the selected directory, or // null if user cancels String dir = ddialog.open(); if ( dir != null ) { // Set the text box to the new selection wFilename.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog ddialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wFilename.getText() != null ) { ddialog.setFilterPath( jobMeta.environmentSubstitute( wFilename.getText() ) ); } // Calling open() will open and run the dialog. // It will return the selected directory, or // null if user cancels String dir = ddialog.open(); if ( dir != null ) { // Set the text box to the new selection wFilename.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog ddialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wDestinationFileFolder.getText() != null ) { ddialog.setFilterPath( jobMeta.environmentSubstitute( wDestinationFileFolder.getText() ) ); } // Calling open() will open and run the dialog. // It will return the selected directory, or // null if user cancels String dir = ddialog.open(); if ( dir != null ) { // Set the text box to the new selection wDestinationFileFolder.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog ddialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wMovetoDirectory.getText() != null ) { ddialog.setFilterPath( jobMeta.environmentSubstitute( wMovetoDirectory.getText() ) ); } // Calling open() will open and run the dialog. // It will return the selected directory, or // null if user cancels String dir = ddialog.open(); if ( dir != null ) { // Set the text box to the new selection wMovetoDirectory.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog ddialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wTargetDirectory.getText() != null ) { ddialog.setFilterPath( jobMeta.environmentSubstitute( wTargetDirectory.getText() ) ); } // Calling open() will open and run the dialog. // It will return the selected directory, or // null if user cancels String dir = ddialog.open(); if ( dir != null ) { // Set the text box to the new selection wTargetDirectory.setText( dir ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wTrustStorePath.getText() != null ) { String fpath = transMeta.environmentSubstitute( wTrustStorePath.getText() ); dialog.setFilterPath( fpath ); } if ( dialog.open() != null ) { String str = dialog.getFilterPath(); wTrustStorePath.setText( str ); } } } );
public void widgetSelected( SelectionEvent e ) { DirectoryDialog dialog = new DirectoryDialog( shell, SWT.OPEN ); if ( wFoldername.getText() != null ) { String fpath = transMeta.environmentSubstitute( wFoldername.getText() ); dialog.setFilterPath( fpath ); } if ( dialog.open() != null ) { String str = dialog.getFilterPath(); wFoldername.setText( str ); } } } );