NEW RELEASE! The 2022x Refresh2 Hot Fix 3 was released on February 28, 2025. For more information, see 2022x Refresh2 Hot Fix 3 Version News.

Use only getter in Presentation elements’ classes even if setters are available. Setters are not part of OpenAPI and in most cases should not be called directly.

 

Majority of functions for manipulating/creating/deleting the symbols is available in utility class com.nomagic.magicdraw.openapi.uml.PresentationElementsManager

PresentationElementManager can be used only inside the created session with com.nomagic.magicdraw.openapi.uml.SessionManager. If a session is not created, java.lang.IllegalStateException is thrown.

PresentationElementManager can be used only in already loaded and active project. In other cases, results can be unpredictable.

PresentationElementManager is implemented as a singleton. Use method PresentationElementManager.getInstance() to get a shared instance of this manager.

 


Activity

All
Personal filters
All