Ejemplo n.º 1
0
  /**
   * Partially construct a new FigNode. This method creates the _name element that holds the name of
   * the model element and adds itself as a listener.
   */
  public FigEdgeModelElement() {

    nameFig = new FigSingleLineText(10, 30, 90, 20, false);
    nameFig.setTextFilled(false);

    stereotypeFig = new FigStereotypesCompartment(10, 10, 90, 15);

    setBetweenNearestPoints(true);

    ArgoEventPump.addListener(ArgoEventTypes.ANY_NOTATION_EVENT, this);
  }
Ejemplo n.º 2
0
 /** @see org.tigris.gef.presentation.Fig#postLoad() */
 public void postLoad() {
   ArgoEventPump.removeListener(this);
   ArgoEventPump.addListener(this);
 }