* (relative to the web content folder) returned by getFilenames(), and
* updates the set of {@link IJSFAppConfigProvider} instances accordingly.
*/
public void locateProviders() {
IProject project = getJSFAppConfigManager().getProject();
IVirtualFolder webContentFolder = new DefaultVirtualComponentQuery().getWebContentFolder(project);
if (webContentFolder != null) {
List filenames = getFilenames();
Iterator itFilenames = filenames.iterator();
Set newConfigProviders = new LinkedHashSet();
while (itFilenames.hasNext()) {
String filename = (String)itFilenames.next();
IVirtualResource appConfigResource = webContentFolder.findMember(filename);
if (appConfigResource != null && appConfigResource.getType() == IVirtualResource.FILE) {
IFile file = (IFile)appConfigResource.getUnderlyingResource();
if (file != null && file.exists()) {
ArtifactEditJSFAppConfigProvider configProvider = new ArtifactEditJSFAppConfigProvider(file);
newConfigProviders.add(configProvider);