}
boolean parentIsDotWO = parentWoAdapter != null;
if (parentIsDotWO) {
return;
}
IDotEOModeldAdapter parentDotEOModeldAdapter = null;
if (resource.getParent() != null) {
parentDotEOModeldAdapter = (IDotEOModeldAdapter) resource.getParent().getAdapter(IDotEOModeldAdapter.class);
}
boolean parentIsDotEOModeld = parentDotEOModeldAdapter != null;
if (parentIsDotEOModeld) {