Interface Notifier


@OpenApiAll public interface Notifier
Notifies user about abnormal transformation events
  • Method Details

    • notifyNoElementsToTransform

      void notifyNoElementsToTransform()
      Called when no VariationPoints where found
    • notifyAboutReadOnlyElements

      void notifyAboutReadOnlyElements(Collection<Element> readOnlyElements)
      Called when some of the variability elements could not be locked or exist in read-only module
    • notifyElementDisposed

      void notifyElementDisposed(VariationPoint variationPoint)
      Called when variation element is deleted from the project. This might happen when there is another existence VariationPoint for the same element
    • notifyNoTransformationFound

      void notifyNoTransformationFound(VariationPoint variationPoint)
      Called when ElementTransformationFactory.getTransformation(com.nomagic.magicdraw.variants.variationpoints.VariationPoint) returns null for given variationPoint during transformation process
    • notify

      void notify(String message)
      Called for any other reason than the other notify methods