12301231123212331234123512361237123812391240
if (disableNotify) { for (Iterator<?> i = EcoreUtil.getAllContents(xmlResource.getContents(), false); i.hasNext(); ) { EObject eObject = (EObject)i.next(); eObject.eSetDeliver(true); } } if (extendedMetaData != null) {
21862187218821892190219121922193219421952196
newObject = helper.createObject(factory, typeName); if (newObject != null) { if (disableNotify) newObject.eSetDeliver(false); handleObjectAttribs(newObject); } }
22022203220422052206220722082209221022112212
EObject newObject = helper.createObject(eFactory, type); if (newObject != null && !documentRoot) { if (disableNotify) { newObject.eSetDeliver(false); } handleObjectAttribs(newObject); } return newObject; }
183184185186187188189190191192193
// EFeatureInternal eInternal = eInternal(eStructure, eObject); // // Disable notifications // eObject.eSetDeliver(false); // // Ensure that any changes are written to given transaction // eInternal.enter(transaction); //
218219220221222223224225226227228
// eInternal.leave(); // // Restore notification delivery state // eObject.eSetDeliver(eDeliver); // // Notify if changed // eNotify(eObject, eData); }