/** @generated */ protected boolean isOrphaned(Collection semanticChildren, final View view) { int visualID = WebmlVisualIDRegistry.getVisualID(view); switch (visualID) { case DocTopicEditPart.VISUAL_ID: if (!semanticChildren.contains(view.getElement())) { return true; } } return false; }
/** @generated */ public IParser getParser() { if (parser == null) { parser = WebmlParserProvider.getParser( WebmlElementTypes.ContentUnit_2003, getParserElement(), WebmlVisualIDRegistry.getType( webml.diagram.edit.parts.ContentUnitNameEditPart.VISUAL_ID)); } return parser; }