public static List getMixinAttributeCompartment_7004SemanticChildren(
View view) {
if (false == view.eContainer() instanceof View) {
return Collections.EMPTY_LIST;
}
View containerView = (View) view.eContainer();
if (!containerView.isSetElement()) {
return Collections.EMPTY_LIST;
}
OntoUML.Mixin modelElement = (OntoUML.Mixin) containerView.getElement();
List result = new LinkedList();
for (Iterator it = modelElement.getAttribute().iterator(); it.hasNext();) {
OntoUML.Property childElement = (OntoUML.Property) it.next();
int visualID = OntoUML.diagram.part.OntoUMLVisualIDRegistry
.getNodeVisualID(view, childElement);