ISVNLocalResource localResource = SVNWorkspaceRoot.getSVNResourceFor(resource); try { if (localResource != null && !localResource.getStatus().isAdded()) { ISVNRemoteResource baseResource = localResource.getBaseResource(); historyTableProvider.setRemoteResource(baseResource); tableHistoryViewer.refresh(); } } catch (SVNException e) { SVNUIPlugin.openError(getViewSite().getShell(), null, null, e); } }
result[0] = dialog.open(); }});
        	public void run() {        		ISVNLocalResource localResource = SVNWorkspaceRoot.getSVNResourceFor(resource);        		try {                    if (localResource != null && !localResource.getStatus().isAdded()) {                    	ISVNRemoteResource baseResource = localResource.getBaseResource();                    	historyTableProvider.setRemoteResource(baseResource);                    	tableHistoryViewer.refresh();                    }                } catch (SVNException e) {                    SVNUIPlugin.openError(getViewSite().getShell(), null, null, e);                }        	}