public static List<DispelNodeDescriptor> getDispelFunction_1000SemanticChildren(
View view) {
if (!view.isSetElement()) {
return Collections.emptyList();
}
DispelFunction modelElement = (DispelFunction) view.getElement();
LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
for (Iterator<?> it = modelElement.getStatements().iterator(); it
.hasNext();) {
Statement childElement = (Statement) it.next();
int visualID = DispelVisualIDRegistry.getNodeVisualID(view,
childElement);
if (visualID == LocalVariableStatementEditPart.VISUAL_ID) {
result.add(new DispelNodeDescriptor(childElement, visualID));
continue;
}
if (visualID == ConnectionStatementEditPart.VISUAL_ID) {
result.add(new DispelNodeDescriptor(childElement, visualID));
continue;
}
if (visualID == ReturnEditPart.VISUAL_ID) {
result.add(new DispelNodeDescriptor(childElement, visualID));
continue;
}
}
//TODO IFO
Resource resource = modelElement.eResource();
for (Iterator<EObject> it = getPhantomNodesIterator(resource); it
.hasNext();) {
EObject childElement = it.next();
if (childElement == modelElement) {
continue;