if(!removeUnAdded) { ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resource);
ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resource);
			public boolean select(SyncInfo info) {				SyncInfoDirectionFilter filter = new SyncInfoDirectionFilter(new int[] {SyncInfo.OUTGOING,SyncInfo.CONFLICTING});				if (!filter.select(info)) return false;			    IStructuredSelection selection = getStructuredSelection();			    boolean removeUnAdded  = SVNUIPlugin.getPlugin().getPreferenceStore().getBoolean(ISVNUIConstants.PREF_REMOVE_UNADDED_RESOURCES_ON_REPLACE);			    Iterator iter = selection.iterator();			    while (iter.hasNext()) {			    	ISynchronizeModelElement element = (ISynchronizeModelElement)iter.next();			    	IResource resource = element.getResource();			    	if (resource == null || !resource.exists()) return false;			    	if(!removeUnAdded)			    	{			    		 ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resource);			    	                try {	                	if (!svnResource.isManaged()) return false;	                } catch (SVNException e) {	                    return false;	                }			    					    	}			    }                return true;			}