Class RepresentationTextCreator.RepTextProviderWrapper

  • All Implemented Interfaces:
    com.nomagic.magicdraw.uml.text.RepTextProvider, PriorityProvider
    Enclosing class:
    RepresentationTextCreator

    private static class RepresentationTextCreator.RepTextProviderWrapper
    extends java.lang.Object
    implements com.nomagic.magicdraw.uml.text.RepTextProvider
    • Method Detail

      • accept

        public boolean accept​(BaseElement element)
        Specified by:
        accept in interface com.nomagic.magicdraw.uml.text.RepTextProvider
      • getRepresentedText

        public java.lang.String getRepresentedText​(BaseElement element,
                                                   com.nomagic.magicdraw.uml.text.RepTextParams textParams,
                                                   RepTextContext context)
        Specified by:
        getRepresentedText in interface com.nomagic.magicdraw.uml.text.RepTextProvider
      • createSmartListenerConfig

        public java.util.Map<java.lang.Class<? extends Element>,​SmartListenerConfig> createSmartListenerConfig()
        Specified by:
        createSmartListenerConfig in interface com.nomagic.magicdraw.uml.text.RepTextProvider
      • createAcceptableElementSmartListenerConfig

        public java.util.Map<java.lang.Class<? extends Element>,​SmartListenerConfig> createAcceptableElementSmartListenerConfig()
        Specified by:
        createAcceptableElementSmartListenerConfig in interface com.nomagic.magicdraw.uml.text.RepTextProvider
      • isHumanTypeUsed

        public boolean isHumanTypeUsed()
        Specified by:
        isHumanTypeUsed in interface com.nomagic.magicdraw.uml.text.RepTextProvider
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toRepresentationTextParams

        private static RepresentationTextParams toRepresentationTextParams​(com.nomagic.magicdraw.uml.text.RepTextParams textParams)