/** @generated */
 protected void setLabelIconHelper(IFigure figure, Image icon) {
   if (figure instanceof WrapLabel) {
     ((WrapLabel) figure).setIcon(icon);
   } else {
     ((Label) figure).setIcon(icon);
   }
 }
 /** @generated */
 protected void setLabelTextHelper(IFigure figure, String text) {
   if (figure instanceof WrapLabel) {
     ((WrapLabel) figure).setText(text);
   } else {
     ((Label) figure).setText(text);
   }
 }