Class DisplayPathElements.DisplayPathOptions

  • Enclosing class:
    DisplayPathElements

    public static final class DisplayPathElements.DisplayPathOptions
    extends java.lang.Object
    Display path elements options
    • Constructor Detail

      • DisplayPathOptions

        public DisplayPathOptions()
        Default options. Trees, containment links and note anchors will be displayed
      • DisplayPathOptions

        public DisplayPathOptions​(boolean displayRelationships,
                                  boolean createTrees,
                                  boolean displayContainmentLinks,
                                  boolean displayNoteAnchors)
        Constructor
        Parameters:
        createTrees - create trees for Generalizations, InterfaceRealizations
        displayContainmentLinks - display Containment links
        displayNoteAnchors - display Note Anchors
    • Method Detail

      • isDisplayRelationships

        public boolean isDisplayRelationships()
        Returns:
        true if relationships should be displayed
      • setDisplayRelationships

        public void setDisplayRelationships​(boolean displayRelationships)
        Display Relationships (all connected Relationships in the model)
        Parameters:
        displayRelationships - value
      • isCreateTrees

        public boolean isCreateTrees()
        Returns:
        true if trees should be displayed
      • setCreateTrees

        public void setCreateTrees​(boolean createTrees)
        Display trees
        Parameters:
        createTrees - flag
      • isDisplayContainmentLinks

        public boolean isDisplayContainmentLinks()
        Returns:
        true if containment links should be displayed
      • setDisplayContainmentLinks

        public void setDisplayContainmentLinks​(boolean displayContainmentLinks)
        Display Containment links
        Parameters:
        displayContainmentLinks - value
      • isDisplayNoteAnchors

        public boolean isDisplayNoteAnchors()
        Returns:
        true if note anchors should be displayed
      • setDisplayNoteAnchors

        public void setDisplayNoteAnchors​(boolean displayNoteAnchors)
        Display Note Anchors
        Parameters:
        displayNoteAnchors - value
      • getOnlyBetweenThese

        @CheckForNull
        public java.util.Collection<PresentationElement> getOnlyBetweenThese()
        Returns:
        paths will be created only among given symbols. If null, paths will be created among any symbols in the diagram
      • setOnlyBetweenThese

        public void setOnlyBetweenThese​(@CheckForNull
                                        java.util.Collection<PresentationElement> onlyBetweenThese)
        Display paths only among given symbols.
        Parameters:
        onlyBetweenThese - paths will be created only among given symbols. If null, paths will be created among any symbols in the diagram
      • isDisplayPathsToSelf

        public boolean isDisplayPathsToSelf()
        Returns:
        true if paths to self should be displayed
      • setDisplayPathsToSelf

        public void setDisplayPathsToSelf​(boolean displayPathsToSelf)
        Display paths to self
        Parameters:
        displayPathsToSelf - value