Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: Viking on February 16, 2017, 02:13:35 am
-
Hello,
(1) does anybody know how to find out the mdgtype of a diagram (without db-query)?
(2) does anybody know how to find out the metaclass of a element (without db-query)t?
(3) could some point me to a description of base clase (see UML types. Not the base class for inheritance)?
Many thanks in advance, V.
-
(1) does anybody know how to find out the mdgtype of a diagram (without db-query)?
Scripting. Try inspecting the EA.Diagram.MetaType value
(2) does anybody know how to find out the metaclass of a element (without db-query)t?
Scripting. Try inspecting the EA.Element.MetaType value
(3) could some point me to a description of base clase (see UML types. Not the base class for inheritance)?
Sorry, don't understand the question.
-
(1) does anybody know how to find out the mdgtype of a diagram (without db-query)?
Scripting. Try inspecting the EA.Diagram.MetaType value
(2) does anybody know how to find out the metaclass of a element (without db-query)t?
Scripting. Try inspecting the EA.Element.MetaType value
(3) could some point me to a description of base clase (see UML types. Not the base class for inheritance)?
Sorry, don't understand the question.
Many thanks.
Wouldn't it be helpful showing these information ([1] and [2]) in the properties-sheet?
To [3]: with base-class I am talking about Project > Settings > UML types (the term base class in the document is also used for decribing inheritance. Or does base class for Sterotypes has something to doe with inheritance?).
-
Hi Viking,
If you are talking about the "base class" in the stereotype page of the UML types dialog, it is misnamed. It should be captioned: "Metaclass to which to apply this stereotype". You can define more than one stereotype with the same name and apply each to a different metaclass. You may even note that you can apply it to "<All>", but not to "<Shapes>" or "<Lines>".
I don't believe it has anything (directly) to do with inheritance - since you can apply the "<All>" value.
HTH,
Paolo
-
Hi Viking,
If you are talking about the "base class" in the stereotype page of the UML types dialog, it is misnamed. It should be captioned: "Metaclass to which to apply this stereotype". You can define more than one stereotype with the same name and apply each to a different metaclass. You may even note that you can apply it to "<All>", but not to "<Shapes>" or "<Lines>".
I don't believe it has anything (directly) to do with inheritance - since you can apply the "<All>" value.
HTH,
Paolo
Hi Paolo, thank you very much.
For my opinion the manuals are to short for this domain.
V