Book a Demo

Author Topic: Tagged value for relationship in XML Profile  (Read 8985 times)

Michel777

  • EA User
  • **
  • Posts: 228
  • Karma: +0/-0
    • View Profile
Re: Tagged value for relationship in XML Profile
« Reply #15 on: October 14, 2013, 03:24:42 pm »
Hi q,

thank you for your effort , again and again.

I know, how to generate a profile. But because of bad experience with them (like with using templates) I prefer put elements  in the XML profile directly. With them I have had success.

I created a stereotype V1 in the xml-profile  with he following "lines":


<Stereotype name="V1" notes="variant 1">
      <AppliesTo>
            <Apply type="Realization"></Apply>
      </AppliesTo>
<TaggedValues>
            <Tag name=.../>
            <Tag name=.../>
            <Tag name=.../>
</TaggedValues>
</Stereotype>

 I can select it for relationship realize and the TVs  will be displayed. What I Need a connector with stereotype to avoid selecting the stereotype.

My very last question: what is still needed ?

Thanks, and it was really the last question to profiling.

Warm regards,
Michel

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tagged value for relationship in XML Profile
« Reply #16 on: October 14, 2013, 08:29:03 pm »
Do I understand you correctly that you just need a way to create the connector directly without the need to go through properties/stereotype?

q.

Michel777

  • EA User
  • **
  • Posts: 228
  • Karma: +0/-0
    • View Profile
Re: Tagged value for relationship in XML Profile
« Reply #17 on: October 14, 2013, 08:35:26 pm »
Hi q,

yes you understood me correctly. In the meanwhile I have followed your description and tried generate a profile. The profile has no tagged values, see below.

I have already this error (profile empty or not complet), therefore I prefer a XML file.

Anyway I have already a piece of them, i will add my TVs an try it.
Thanks,

Michel

            <Stereotypes>
                  <Stereotype name="Variant1" notes="" cx="90" cy="70" bgcolor="-1" fontcolor="-1" bordercolor="-1" borderwidth="-1" hideicon="0">
                        <AppliesTo>
                              <Apply type="Association">
                                    <Property name="compositionKind" value="none"/>
                                    <Property name="direction" value="Source -&gt; Destination"/>
                              </Apply>
                        </AppliesTo>
                  </Stereotype>
            </Stereotypes>
            <TaggedValueTypes/>
« Last Edit: October 14, 2013, 08:35:56 pm by michel777 »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tagged value for relationship in XML Profile
« Reply #18 on: October 14, 2013, 08:47:07 pm »
I have to admit that creating MDG can easily lead to nightmares. EA does not provide any useful error message and you easily get lost in a maze of twisty little passages, all alike.

Now for the connector:
a) create a Toolbox page in a MDG. You will not like it, but probably it's the best way. I had a bad time learning to create a MDG but once I got it I have several tools (in my stomach) to find out of the maze. I use the XML only in cases where unavoidable (IIRC it was needed with searches).
b) create a Quick Linker (I use it with MDGs too but there was some way to use it without; only a faint memory...). Unfortunately creating such a QL is even more complicated.

You might send me your profile and I could have a look. Just use the mail address in my book.

q.