Author Topic: Where can I see the different "types" in EA?  (Read 3381 times)

jplusip

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
    • View Profile
Where can I see the different "types" in EA?
« on: July 30, 2015, 12:29:55 am »
Specifically, I'm working with the Template Selector and I want to know what the type for a SysML sequence diagram is. I looked at the Template Selector example, and I see UMLDiagram, but does that apply to the SysML diagrams?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Where can I see the different "types" in EA?
« Reply #1 on: July 30, 2015, 08:03:30 am »
UMLDiagram is a diagram frame that appears on another diagram.

I don't think there is a template selector based on diagram type.

jplusip

  • EA User
  • **
  • Posts: 69
  • Karma: +0/-0
    • View Profile
Re: Where can I see the different "types" in EA?
« Reply #2 on: July 31, 2015, 05:23:50 am »
Quote
UMLDiagram is a diagram frame that appears on another diagram.

I don't think there is a template selector based on diagram type.

So, in that case, what is the template selector for just a diagram?

Ideally, I'd like to give a subset of diagrams a stereotype so that I can pull them for a report using the template selector. Suppose the stereotype is "123"; how would I set that up in the template selector? I've tried:
Diagram:123:[fragment name]

and it doesn't seem to work.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Where can I see the different "types" in EA?
« Reply #3 on: July 31, 2015, 08:38:46 am »
Diagrams will not be considered by the template selector AT ALL. It only applies to the element section of the template.

If you want to use a different template for different diagram types, the ONLY way to do it is using the script Document Generator Interface.

That way you can call DocumentDiagram () for any diagram and specify the template you want.