public static final class DisplayPathElements.DisplayPathOptions
extends java.lang.Object
Constructor and Description |
---|
DisplayPathOptions()
Default options.
|
DisplayPathOptions(boolean displayRelationships,
boolean createTrees,
boolean displayContainmentLinks,
boolean displayNoteAnchors)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PresentationElement> |
getOnlyBetweenThese() |
boolean |
isCreateTrees() |
boolean |
isDisplayContainmentLinks() |
boolean |
isDisplayNoteAnchors() |
boolean |
isDisplayPathsToSelf() |
boolean |
isDisplayRelationships() |
void |
setCreateTrees(boolean createTrees)
Display trees
|
void |
setDisplayContainmentLinks(boolean displayContainmentLinks)
Display Containment links
|
void |
setDisplayNoteAnchors(boolean displayNoteAnchors)
Display Note Anchors
|
void |
setDisplayPathsToSelf(boolean displayPathsToSelf)
Display paths to self
|
void |
setDisplayRelationships(boolean displayRelationships)
Display Relationships (all connected Relationships in the model)
|
void |
setOnlyBetweenThese(java.util.Collection<PresentationElement> onlyBetweenThese)
Display paths only among given symbols.
|
public DisplayPathOptions()
public DisplayPathOptions(boolean displayRelationships, boolean createTrees, boolean displayContainmentLinks, boolean displayNoteAnchors)
createTrees
- create trees for Generalizations, InterfaceRealizationsdisplayContainmentLinks
- display Containment linksdisplayNoteAnchors
- display Note Anchorspublic boolean isDisplayRelationships()
public void setDisplayRelationships(boolean displayRelationships)
displayRelationships
- valuepublic boolean isCreateTrees()
public void setCreateTrees(boolean createTrees)
createTrees
- flagpublic boolean isDisplayContainmentLinks()
public void setDisplayContainmentLinks(boolean displayContainmentLinks)
displayContainmentLinks
- valuepublic boolean isDisplayNoteAnchors()
public void setDisplayNoteAnchors(boolean displayNoteAnchors)
displayNoteAnchors
- value@CheckForNull public java.util.Collection<PresentationElement> getOnlyBetweenThese()
public void setOnlyBetweenThese(@CheckForNull java.util.Collection<PresentationElement> onlyBetweenThese)
onlyBetweenThese
- paths will be created only among given symbols. If null, paths will be created among any symbols in the diagrampublic boolean isDisplayPathsToSelf()
public void setDisplayPathsToSelf(boolean displayPathsToSelf)
displayPathsToSelf
- value