// Check if required all exist
//
if (params.containsKey(EFEATURE_CONTEXT_ID)
&& params.containsKey(EDITING_DOMAIN_ID)
&& params.containsKey(ERESOURCE_URI)) {
EditingDomain eDomain = eDomain(eContextID, eDomainID);
if (eDomain != null) {
if(params.containsKey(EFOLDERS_QUERY)) {
if( !(eFolders==null || eFolders.length()==0)) {
for (String eFolder : dialect.toFolderQueries(eFolders)) {
EFeaturePackageInfo eInfo = ePackageInfo(eContextID,eNsURI);
if (eInfo == null)
return false;
String eURIFragment = dialect.getFolderFragment(eFolder);
if (!(eURIFragment == null || eURIFragment.length() == 0)) {
URI uri = eURI.appendFragment(eURIFragment);
if (eDomain.getResourceSet().getEObject(uri, true) == null)
return false;
}
}
}