Class CreationPolicy

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

public class CreationPolicy extends AbstractPolicy
The CreationPolicy is an AbstractPolicy that handles the creation of content.

It handles the creation by initiating the adding of a content child to the content parent via the ContentPolicy of the parent IContentPart, as well as the attachment 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 creation.