Interface DeferredContentSourceModelElement

    • Method Detail

      • enterEditMode

        void enterEditMode​(java.lang.String mode)

        Indicates the previously generated deferred content is being edited by an extension. This calls the associated DeferredContentTargetModelElement to indicate that editing is occurring to prepare it for handling subsequent requests.

        Parameters:
        mode - The mode of editing being started, e.g. "replace", "remove", "after", etc.
      • exitEditMode

        void exitEditMode()

        Indicates that the previously generated deferred content has finished being edited by an extension.

      • markAsRemoved

        void markAsRemoved()

        Allow elements to be marked when they're removed. This is done because even if an element is removed from the model it may still be referenced elsewhere. This makes it possible to check that the element is still part of the model when the model is not available.

      • hasBeenRemoved

        boolean hasBeenRemoved()

        Indicates whether or not the element has been removed from the model or not.

        Returns:
        true if the element is no longer in the model and false otherwise.