Class DisplayPathElements.DisplayPathOptions
- java.lang.Object
-
- com.nomagic.magicdraw.uml.symbols.DisplayPathElements.DisplayPathOptions
-
- Enclosing class:
- DisplayPathElements
public static final class DisplayPathElements.DisplayPathOptions extends java.lang.ObjectDisplay path elements options
-
-
Field Summary
Fields Modifier and Type Field Description private booleancreateTreesprivate booleandisplayContainmentLinksprivate booleandisplayNoteAnchorsprivate booleandisplayPathsToSelfprivate booleandisplayRelationshipsprivate java.util.Collection<PresentationElement>onlyBetweenThese
-
Constructor Summary
Constructors Constructor Description DisplayPathOptions()Default options.DisplayPathOptions(boolean displayRelationships, boolean createTrees, boolean displayContainmentLinks, boolean displayNoteAnchors)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<PresentationElement>getOnlyBetweenThese()booleanisCreateTrees()booleanisDisplayContainmentLinks()booleanisDisplayNoteAnchors()booleanisDisplayPathsToSelf()booleanisDisplayRelationships()voidsetCreateTrees(boolean createTrees)Display treesvoidsetDisplayContainmentLinks(boolean displayContainmentLinks)Display Containment linksvoidsetDisplayNoteAnchors(boolean displayNoteAnchors)Display Note AnchorsvoidsetDisplayPathsToSelf(boolean displayPathsToSelf)Display paths to selfvoidsetDisplayRelationships(boolean displayRelationships)Display Relationships (all connected Relationships in the model)voidsetOnlyBetweenThese(java.util.Collection<PresentationElement> onlyBetweenThese)Display paths only among given symbols.
-
-
-
Field Detail
-
displayRelationships
private boolean displayRelationships
-
createTrees
private boolean createTrees
-
displayContainmentLinks
private boolean displayContainmentLinks
-
displayNoteAnchors
private boolean displayNoteAnchors
-
displayPathsToSelf
private boolean displayPathsToSelf
-
onlyBetweenThese
@CheckForNull private java.util.Collection<PresentationElement> onlyBetweenThese
-
-
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, InterfaceRealizationsdisplayContainmentLinks- display Containment linksdisplayNoteAnchors- 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
-
-