public final class CleanResourceReferences extends java.lang.Object implements ModelTransformerPlugin
ReferencesTrait
s.Constructor and Description |
---|
CleanResourceReferences() |
Modifier and Type | Method and Description |
---|---|
Model |
onRemove(ModelTransformer transformer,
java.util.Collection<Shape> shapes,
Model model)
The method that is invoked each time shapes are removed from a model.
|
public Model onRemove(ModelTransformer transformer, java.util.Collection<Shape> shapes, Model model)
ModelTransformerPlugin
onRemove
in interface ModelTransformerPlugin
transformer
- Transformer used to replace/remove shapes from the model.shapes
- The of shapes that were removed from the model
.model
- Model that has been altered to remove removed
.