/** {@inheritDoc} */ @Override protected void handleNotificationEvent(Notification event) { super.handleNotificationEvent(event); // Update the figure when the line width changes Object feature = event.getFeature(); if ((getModel() != null) && (getModel() == event.getNotifier())) { if (NotationPackage.eINSTANCE.getLineStyle_LineWidth().equals(feature)) { refreshLineWidth(); refreshArrowSource(); refreshArrowTarget(); } else if (NotationPackage.eINSTANCE.getLineTypeStyle_LineType().equals(feature)) { refreshLineType(); } } }