}
View containerView = (View) view.eContainer();
if (!containerView.isSetElement()) {
return Collections.emptyList();
}
ProcessingElementReference modelElement = (ProcessingElementReference) containerView
.getElement();
LinkedList<DispelNodeDescriptor> result = new LinkedList<DispelNodeDescriptor>();
//TODO iFo
ProcessingElementDefinition pe = (ProcessingElementDefinition) modelElement
.getTarget();
int visualID = DispelVisualIDRegistry.getNodeVisualID(view, pe);
if (visualID == ProcessingElementDefinitionEditPart.VISUAL_ID) {
result.add(new DispelNodeDescriptor(pe, visualID));