for(IResource res : members)
{
if(res.getName().matches(propertiesRegEx))
{
PropertiesFileEditor propertiesEditor = new PropertiesFileEditor();
int propertiesEditorIndex;
try {
propertiesEditorIndex = addPage(propertiesEditor, new FileEditorInput(((IFile)res)));
} catch (PartInitException e) {
ErrorDialog.openError(getSite().getShell(), "Error creating Properties editor", null, e.getStatus());
continue;
}
propertiesEditors.add(propertiesEditor);
propertiesEditorIndexs.add(propertiesEditorIndex);
setPageText(propertiesEditorIndex, propertiesEditor.getTitle());
}
}
}