Class PropertyVisitorAdapter

  • All Implemented Interfaces:
    PropertyVisitor

    @OpenApiAll
    public abstract class PropertyVisitorAdapter
    extends java.lang.Object
    implements PropertyVisitor
    An abstract adapter class for property visiting. The methods in this class are empty.

    Extend this class to create a PropertyVisitor and override the methods for the required properties. (If you implement the PropertyVisitor interface, you have to define all of the methods in it. This abstract class defines empty methods for them all, so you can only override methods for properties you care about.)

    • Constructor Detail

      • PropertyVisitorAdapter

        public PropertyVisitorAdapter()
    • Method Detail

      • visit

        public void visit​(Property o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(com.nomagic.magicdraw.properties.ImageProperty o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(com.nomagic.magicdraw.properties.ChoiceListProperty o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(Style p)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(com.nomagic.magicdraw.properties.ValueSpecificationProperty o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(com.nomagic.magicdraw.properties.SpecificElementProperty o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(com.nomagic.magicdraw.properties.ConstraintProperty o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(com.nomagic.magicdraw.properties.ElementInstanceProperty o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(com.nomagic.magicdraw.properties.ui.ObjectListProperty o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(com.nomagic.magicdraw.properties.ExternalToolProperty o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception
      • visit

        public void visit​(com.nomagic.magicdraw.properties.MapProperty o)
                   throws java.lang.Exception
        Specified by:
        visit in interface PropertyVisitor
        Throws:
        java.lang.Exception