You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

The UML semantic defines only the UML metamodel. A modeling tool developed by No Magic Inc. has its own structure of classes for UML elements representation in the diagram. The base class of this structure is com.nomagic.magicdraw.uml.symbols.PresentationElement. A presentation element is a textual or graphical presentation of one or more model elements.

Presentation elements are sometimes called symbols also.

In the metamodel, a PresentationElement is the com.nomagic.magicdraw.uml.BaseElement that presents a set of model elements to a user. It is the base for all metaclasses used for the presentation. All other metaclasses with this purpose are indirect subclasses of PresentationElement.

A current version of Open API provides just a basic structure of presentation elements:


 

Every presentation element can have children. For example, com.nomagic.magicdraw.uml.symbols.DiagramPresentationElement has a collection of inner presentation elements. PresentationElement of some Package can have a collection of presentation elements for inner Package elements.

Current version PresentationElement API allows you to:

A subclass of presentation elements com.nomagic.magicdraw.uml.symbols.paths.PathConnector provides information about connected paths to the presentation element. To get a collection of connected paths to the presentation element, use the method PathConnector.getConnectedPathElements().

Related pages