/******************************************************************************* * Copyright (c) 2013 GoPivotal, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * GoPivotal, Inc. - initial API and implementation *******************************************************************************/ package org.springframework.ide.eclipse.beans.core.model.locate; import java.util.Collections; import java.util.Set; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.runtime.IProgressMonitor; import org.springframework.ide.eclipse.beans.core.model.IBeansConfigSet; import org.springsource.ide.eclipse.commons.core.SpringCoreUtils; /** * @author Leo Dos Santos */ public abstract class AbstractJavaConfigLocator implements IJavaConfigLocator { @Override public Set<IFile> locateBeansConfigs(IProject project, IProgressMonitor progressMonitor) { return Collections.emptySet(); } @Override public boolean isBeansConfig(IFile file) { return false; } @Override public boolean supports(IProject project) { return SpringCoreUtils.isSpringProject(project); } @Override public boolean requiresRefresh(IFile file) { return false; } @Override public String getBeansConfigSetName(Set<IFile> files) { return null; } @Override public void configureBeansConfigSet(IBeansConfigSet configSet) { // no-op } }