Class DisplayPathElements

java.lang.Object
com.nomagic.magicdraw.uml.symbols.DisplayPathElements

@OpenApiAll public class DisplayPathElements extends Object

Provides API to the display connected path elements in the diagram.

Example: Displaying related generalizations and interface realizations

 SessionManager sessionManager = SessionManager.getInstance();
 sessionManager.createSession(project, "Display paths");

 PresentationElement view = ...; // A symbol for which you want to display paths

 DisplayPathElements.displayPathElements(Collections.singleton(view));

 //For multiple symbol to display paths use the code below
 List<PresentationElement> viewList = ...; //List of symbols for which you need to invoke the displaying paths action.

 DisplayPathElements.displayPathElements(viewList);

 sessionManager.closeSession(project);