Exemplo n.º 1
0
 /** @generated */
 public void setLabelText(String text) {
   setLabelTextHelper(getFigure(), text);
   Object pdEditPolicy = getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
   if (pdEditPolicy instanceof RoxgtTextSelectionEditPolicy) {
     ((RoxgtTextSelectionEditPolicy) pdEditPolicy).refreshFeedback();
   }
 }
Exemplo n.º 2
0
 /** @generated */
 protected void refreshLabel() {
   setLabelTextHelper(getFigure(), getLabelText());
   setLabelIconHelper(getFigure(), getLabelIcon());
   Object pdEditPolicy = getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
   if (pdEditPolicy instanceof RoxgtTextSelectionEditPolicy) {
     ((RoxgtTextSelectionEditPolicy) pdEditPolicy).refreshFeedback();
   }
 }