/** @generated */
 public void setLabelText(String text) {
   setLabelTextHelper(getFigure(), text);
   Object pdEditPolicy = getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
   if (pdEditPolicy instanceof MappingTextSelectionEditPolicy) {
     ((MappingTextSelectionEditPolicy) pdEditPolicy).refreshFeedback();
   }
   Object sfEditPolicy = getEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE);
   if (sfEditPolicy instanceof MappingTextSelectionEditPolicy) {
     ((MappingTextSelectionEditPolicy) sfEditPolicy).refreshFeedback();
   }
 }
 /** @generated */
 protected void refreshLabel() {
   setLabelTextHelper(getFigure(), getLabelText());
   setLabelIconHelper(getFigure(), getLabelIcon());
   Object pdEditPolicy = getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
   if (pdEditPolicy instanceof MappingTextSelectionEditPolicy) {
     ((MappingTextSelectionEditPolicy) pdEditPolicy).refreshFeedback();
   }
   Object sfEditPolicy = getEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE);
   if (sfEditPolicy instanceof MappingTextSelectionEditPolicy) {
     ((MappingTextSelectionEditPolicy) sfEditPolicy).refreshFeedback();
   }
 }