Class DisplayPathElements.DisplayPathOptions
java.lang.Object
com.nomagic.magicdraw.uml.symbols.DisplayPathElements.DisplayPathOptions
- Enclosing class:
- DisplayPathElements
Display path elements options
-
Constructor Summary
ConstructorsConstructorDescriptionDefault options.DisplayPathOptions(boolean displayRelationships, boolean createTrees, boolean displayContainmentLinks, boolean displayNoteAnchors) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanvoidsetCreateTrees(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(Collection<PresentationElement> onlyBetweenThese) Display paths only among given symbols.
-
Constructor Details
-
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 Details
-
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
- Returns:
- paths will be created only among given symbols. If null, paths will be created among any symbols in the diagram
-
setOnlyBetweenThese
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
-