Interface ModelTransformerPlugin

    • Method Detail

      • onRemove

        default Model onRemove​(ModelTransformer transformer,
                               java.util.Collection<Shape> removed,
                               Model model)
        The method that is invoked each time shapes are removed from a model.
        Parameters:
        transformer - Transformer used to replace/remove shapes from the model.
        removed - The of shapes that were removed from the model.
        model - Model that has been altered to remove removed.
        Returns:
        Returns a transformed version of the passed in model.