new ExportRemoteFolderOperation(targetPart, remoteFolder, directory, revision).run();
new ExportRemoteFolderOperation(targetPart, remoteResource, directory, revision).run();
	protected void okPressed() {		boolean success = true;		SVNRevision revision = null;		if (headButton.getSelection()) revision = SVNRevision.HEAD;		else {			int revisionNumber = Integer.parseInt(revisionText.getText().trim());			long revisionLong = revisionNumber;			revision = new SVNRevision.Number(revisionLong);		}		File directory = new File(directoryText.getText().trim() + File.separator + remoteFolder.getName());		try {			new ExportRemoteFolderOperation(targetPart, remoteFolder, directory, revision).run();		} catch (Exception e) {			MessageDialog.openError(getShell(), Policy.bind("ExportRemoteFolderAction.directoryDialogText"), e.getMessage()); //$NON-NLS-1$			success = false;		}		if (!success) return;		super.okPressed();	}