How can I seperate My class in some diffrent Models

18 views
Skip to first unread message

Soroush Abotaleb

unread,
Aug 20, 2023, 2:57:13 AM8/20/23
to StarUML
Hello everyone

I am new in this software , I have been looking for a way , I can segregate my Class to some diffrent Models and for exmpale when I click on one My class open another Digram for following my code , is there any way for that?


and what is StrereType?


Jean Fex

unread,
Aug 20, 2023, 12:17:51 PM8/20/23
to StarUML
Hi,

A class, like any other model element, may be defined only once in the Model Explorer. You may copy it and paste it in a different model but the copied one will be a different class with the same name and same content i.e. if you make a change in one it will not be applied to the other.

Models and Diagrams are two different things. Model Elements are defined in the Model Explorer. Elements are all the things UML models are made of. Diagrams are illustrations of these Models. Since you may have more than one diagram for the same model, you may drag the same class from the Model Explorer to any of the model diagrams and have the same model class dragged or pasted in the same diagram.

Stereotypes are the way to extend the UML by defining new model Elements derived from existing UML Elements. Stereotypes for a model are defined in a Profile and its diagram where the existing UML elements are called MetaClass. Stereotypes extend MetaClasses. A stereotype may extend another stereotype.

Jean
Reply all
Reply to author
Forward
0 new messages