SyncInfoDirectionFilter filter = new SyncInfoDirectionFilter(new int[] {SyncInfo.OUTGOING}); if (!filter.select(info)) return false;
	protected FastSyncInfoFilter getSyncInfoFilter() {		return new FastSyncInfoFilter() {			public boolean select(SyncInfo info) {			    IStructuredSelection selection = getStructuredSelection();			    if (selection.size() != 1) return false;		        ISynchronizeModelElement element = (ISynchronizeModelElement)selection.getFirstElement();			    IResource resource = element.getResource();		        if (resource == null) return false;                ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resource);			                    try {            	    //If the resource is a IProject then the action should not be enabled.            	    if( svnResource.getIResource() instanceof IProject)            	        return false;            		// If the parent is not managed there is no way to set the svn:ignore property            		if (!svnResource.getParent().isManaged()) {            			return false;            		}               	                    return !svnResource.getStatus().isManaged() && resource.exists();                } catch (SVNException e) {                    return false;                }			}		};	}    