if (setting.getEStructuralFeature() != Fd2Package.eINSTANCE
.getOneOneRelation_TargetFeatureNode()
|| false == setting.getEObject() instanceof MandatoryRelation) {
continue;
}
MandatoryRelation link = (MandatoryRelation) setting.getEObject();
if (MandatoryRelationEditPart.VISUAL_ID != Fd2VisualIDRegistry
.getLinkWithClassVisualID(link)) {
continue;
}
if (false == link.eContainer() instanceof BaseFeatureNode) {
continue;
}
BaseFeatureNode container = (BaseFeatureNode) link.eContainer();
result.add(new Fd2LinkDescriptor(container, target, link,
Fd2ElementTypes.MandatoryRelation_4008,
MandatoryRelationEditPart.VISUAL_ID));
}