@Override
  protected void handleNotificationEvent(Notification notification) {
    super.handleNotificationEvent(notification);
    Object feature = notification.getFeature();
    if ((getModel() != null) && (getModel() == notification.getNotifier())) {
      if (NotationPackage.eINSTANCE.getLineStyle_LineWidth().equals(feature)) {
        refreshLineWidth();
      }
    }

    if (notification.getNewValue() instanceof EAnnotation
        && ARROW.equals(((EAnnotation) notification.getNewValue()).getSource())) {
      refreshArrowDirection((EAnnotation) notification.getNewValue());
    } else if (notification.getNotifier() instanceof EAnnotation
        && ARROW.equals(((EAnnotation) notification.getNotifier()).getSource())) {
      refreshArrowDirection(
          (EAnnotation) notification.getNotifier()); // notification.getEventType() ==
    }
  }