/** @generated */
 protected boolean isOrphaned(Collection semanticChildren, final View view) {
   int visualID = ControlVisualIDRegistry.getVisualID(view);
   switch (visualID) {
     case ControlConstructBag3EditPart.VISUAL_ID:
       if (!semanticChildren.contains(view.getElement())) {
         return true;
       }
   }
   return false;
 }
 /** @generated */
 public IParser getParser() {
   if (parser == null) {
     parser =
         ControlParserProvider.getParser(
             ControlElementTypes.Ontology_2029,
             getParserElement(),
             ControlVisualIDRegistry.getType(
                 control.diagram.edit.parts.OntologyNameEditPart.VISUAL_ID));
   }
   return parser;
 }
 /** @generated */
 public IParser getParser() {
   if (parser == null) {
     parser =
         ControlParserProvider.getParser(
             ControlElementTypes.ControlConstructBag_3008,
             getParserElement(),
             ControlVisualIDRegistry.getType(
                 control.diagram.edit.parts.ControlConstructBagName2EditPart.VISUAL_ID));
   }
   return parser;
 }
 /** @generated */
 public IParser getParser() {
   if (parser == null) {
     parser =
         ControlParserProvider.getParser(
             ControlElementTypes.RepeatWhile_3088,
             getParserElement(),
             ControlVisualIDRegistry.getType(
                 control.diagram.edit.parts.RepeatWhileName7EditPart.VISUAL_ID));
   }
   return parser;
 }
 /** @generated */
 public EditPart getPrimaryChildEditPart() {
   return getChildBySemanticHint(
       ControlVisualIDRegistry.getType(SplitJoinName3EditPart.VISUAL_ID));
 }