this.tableHistoryViewer.resetFilters(); getClearSearchAction().setEnabled(false);
  public boolean inputSet() {    Object input = getInput();    if(input instanceof IResource) {      IResource res = (IResource) input;      RepositoryProvider teamProvider = RepositoryProvider.getProvider(res.getProject(), SVNProviderPlugin.getTypeId());      if(teamProvider != null) {        try {          ISVNLocalResource localResource = SVNWorkspaceRoot.getSVNResourceFor(res);          if(localResource != null && !localResource.getStatus().isAdded() && localResource.getStatus().isManaged()) {            this.resource = res;            this.remoteResource = localResource.getBaseResource();            this.projectProperties = ProjectProperties.getProjectProperties(res);            this.historyTableProvider.setRemoteResource(this.remoteResource);            this.tableHistoryViewer.setInput(this.remoteResource);            // setContentDescription(Policy.bind("HistoryView.titleWithArgument",            // baseResource.getName())); //$NON-NLS-1$            // setTitleToolTip(baseResource.getRepositoryRelativePath());            return true;          }        } catch(TeamException e) {          SVNUIPlugin.openError(getSite().getShell(), null, null, e);        }      }    } else if(input instanceof ISVNRemoteResource) {      this.resource = null;      this.remoteResource = (ISVNRemoteResource) input;      this.projectProperties = ProjectProperties.getProjectProperties(this.remoteResource);      this.historyTableProvider.setRemoteResource(this.remoteResource);      this.tableHistoryViewer.setInput(this.remoteResource);      // setContentDescription(Policy.bind("HistoryView.titleWithArgument",      // remoteResource.getName())); //$NON-NLS-1$      // setTitleToolTip(remoteResource.getRepositoryRelativePath());      return true;    }    return false;  }