Interface Notifier
@OpenApiAll
public interface Notifier
Notifies user about abnormal transformation events
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called for any other reason than the other notify methodsvoid
notifyAboutReadOnlyElements
(Collection<Element> readOnlyElements) Called when some of the variability elements could not be locked or exist in read-only modulevoid
notifyElementDisposed
(VariationPoint variationPoint) Called when variation element is deleted from the project.void
Called when no VariationPoints where foundvoid
notifyNoTransformationFound
(VariationPoint variationPoint) Called whenElementTransformationFactory.getTransformation(com.nomagic.magicdraw.variants.variationpoints.VariationPoint)
returns null for given variationPoint during transformation process
-
Method Details
-
notifyNoElementsToTransform
void notifyNoElementsToTransform()Called when no VariationPoints where found -
notifyAboutReadOnlyElements
Called when some of the variability elements could not be locked or exist in read-only module -
notifyElementDisposed
Called when variation element is deleted from the project. This might happen when there is another existence VariationPoint for the same element -
notifyNoTransformationFound
Called whenElementTransformationFactory.getTransformation(com.nomagic.magicdraw.variants.variationpoints.VariationPoint)
returns null for given variationPoint during transformation process -
notify
Called for any other reason than the other notify methods
-