Class DeletionPolicy

All Implemented Interfaces:
IAdaptable.Bound<IVisualPart<? extends javafx.scene.Node>>, IPolicy

public class DeletionPolicy extends AbstractPolicy
The DeletionPolicy is an AbstractPolicy that handles the deletion of content.

It handles the deletion of a IContentPart's content by initiating the removal from the content parent via the ContentPolicy of the parent IContentPart, as well as the detachment of anchored content elements via the ContentPolicys of anchored IContentParts.

This policy should be registered at an IRootPart. It depends on ContentPolicys being registered on all IContentParts that are affected by the deletion.