/** @generated */
 private IElementType getElementType(View view) {
   // For intermediate views climb up the containment hierarchy to find the one associated with an
   // element type.
   while (view != null) {
     int vid = PipelineVisualIDRegistry.getVisualID(view);
     IElementType etype = PipelineElementTypes.getElementType(vid);
     if (etype != null) {
       return etype;
     }
     view = view.eContainer() instanceof View ? (View) view.eContainer() : null;
   }
   return null;
 }
 /** @generated */
 public Image getImage(Object element) {
   IElementType etype = getElementType(getView(unwrap(element)));
   return etype == null ? null : PipelineElementTypes.getImage(etype);
 }