@Override public void notifyChanged(Notification notification) { int featureID = notification.getFeatureID(Edge.class); if (featureID == ActivitiesPackage.ACTIVITY_CALL_NODE__CALLED_ACTIVITY || featureID == ActivitiesPackage.ACTIVITY_CALL_NODE__NAME) { refreshVisuals(); } else if (featureID == ActivitiesPackage.ACTIVITY_CALL_NODE__CALLEE) { refreshVisuals(); } else { super.notifyChanged(notification); } }
/** * @see de.uni_paderborn.fujaba4eclipse.edit.editparts.AbstractBoundedASGEditPart#refreshVisuals() */ @Override protected void refreshVisuals() { ((UMLStoryActivityFigure) getFigure()).setName(getCallLabel()); super.refreshVisuals(); }