HistoryDialog dialog = new HistoryDialog(getShell(), remoteFolder);
HistoryDialog dialog = new HistoryDialog(getShell(), remoteResource);
	protected void showLog() {        HistoryDialog dialog = new HistoryDialog(getShell(), remoteFolder);        if (dialog.open() == HistoryDialog.CANCEL) return;        ILogEntry[] selectedEntries = dialog.getSelectedLogEntries();        if (selectedEntries.length == 0) return;        revisionText.setText(Long.toString(selectedEntries[selectedEntries.length - 1].getRevision().getNumber()));        setOkButtonStatus();    }