Class AnnotationManager.DefaultAnnotatableChildrenConfigurator

  • Enclosing class:
    AnnotationManager

    private static class AnnotationManager.DefaultAnnotatableChildrenConfigurator
    extends java.lang.Object
    • Constructor Detail

      • DefaultAnnotatableChildrenConfigurator

        private DefaultAnnotatableChildrenConfigurator()
    • Method Detail

      • getChildrenInspector

        public com.nomagic.magicdraw.annotation.AnnotatableChildrenInspector getChildrenInspector​(BaseElement element)
      • isParentClosestNotHiddenElement

        private static boolean isParentClosestNotHiddenElement​(@CheckForNull
                                                               Element parent,
                                                               Element targetElement)
        Evaluates, if given parent element could be closest use-friendly element for target element. Dedicated for diagrams.
        Parameters:
        parent - parent element, which should be user-friendly.
        targetElement - targetElement - actual element, which should be not user-friendly.
        Returns:
        True, if target element's closest not hidden symbol element is given parent.