Author Topic: Add tagged value to the DFD_DataFlow  (Read 7700 times)

jeromars

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Add tagged value to the DFD_DataFlow
« on: May 31, 2012, 12:10:31 pm »
Hi,

I want to put some information in the the flow DFD_DataFlow .
This information would be Description , Encryption , Trigger, Frequency ... . All my flow would have these information.

 I think the best way is to add tagged values? Is that true ?

The main probleme  with the tagged value is that every time I need to add them and to fill them.

Is it possible to modify or extend the stereotype in the goal that tagged valuea appear automaticaly in the tagged value windows( without browsing)?

Thanks for your help.
Jerome.

jeromars

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #2 on: May 31, 2012, 06:45:21 pm »
FWIW: this page encourages the import via Resource View. However, Sparx told me to use Settings/MDG/Advanced to deploy a profile. The difference is that Resources actually imports the profile into one model while the Settings just loads it in a per user session, thus being available for all models the user opens.

q.

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #3 on: May 31, 2012, 08:41:34 pm »
Yes, that's a better deployment, but... be careful! The model images included in the MDG Technology are not available with this kind of deployment. You should import them manually in each Repository.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #4 on: May 31, 2012, 11:06:41 pm »
That sounds like a nice bug. Have you reported that or is this "as designed"?

q.

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #5 on: May 31, 2012, 11:20:10 pm »
The ¿bug? is reported, and under investigation.

If you link to a MDG Technology with the "Settings | MDG Technologies | Advanced..." button, the technology is available, but the images are not imported to the Repository.

Then, if you have user-defined images for stereotyped elements, they doesn't appear until you import the Technology in Resources. After that, the images are imported and you can proceed to delete it from Resources (images persists in the repo).

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #6 on: June 01, 2012, 02:02:16 am »
Thanks. Hope the get it fixed some day...

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8066
  • Karma: +118/-20
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #7 on: June 01, 2012, 09:05:22 am »
Images under file deployed technologies have been supported for a while now.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #8 on: June 01, 2012, 10:17:26 am »
Hmm. Isn't "file deployed" the resource import? As Luis said this works. But what about Settings/MDG/Advanced?

q,

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8066
  • Karma: +118/-20
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #9 on: June 01, 2012, 11:05:40 am »
By file deployed I was referring to either putting the file in a directory EA is searching or pointing EA to a URL.

If I was talking about importing into the model I would use imported.

I didn't mention add-in deployed technologies, (where the add-in responds to the broadcast), but they work the same as any that aren't imported and will work with images.

To clarify, build 904 contained the following line in the release notes
Quote
MDG Technologies deployed as files or from add-ins now load included images.
« Last Edit: June 01, 2012, 11:07:18 am by simonm »

jeromars

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #10 on: June 01, 2012, 02:17:58 pm »
Hi ,

I Have 2 questions :

- I make 2  custom stereotypes (extended 2 diffrentes metaclass ) and I have add attributes in each. The probleme is that for one this attribute appear in the tagged vallues window and for the other in special window with the name of my profile. Do you know why ?

- I have done my one shape for the stereotype but now when I add it on a diagram the name of my objet is not display . Must I write something when i draw my form ?

Sorry for my English,

Jerome a french guy.

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #11 on: June 01, 2012, 06:36:00 pm »
About the answer of Simon, it's correct. Actually, the images are available in the Repository in both deployments.

The only thing that continues under investigation by Sparx is the bug related with the "Model Template" functionality. If your "Model Template" includes images in the diagrams, these images will not appear when including "Model Templates" in your Repository.

Luis.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #12 on: June 01, 2012, 08:26:34 pm »
Quote
Hi ,

I Have 2 questions :

- I make 2  custom stereotypes (extended 2 diffrentes metaclass ) and I have add attributes in each. The probleme is that for one this attribute appear in the tagged vallues window and for the other in special window with the name of my profile. Do you know why ?

- I have done my one shape for the stereotype but now when I add it on a diagram the name of my objet is not display . Must I write something when i draw my form ?

Sorry for my English,

Jerome a french guy.
1) Can you provide a screenshot? (You need to place the pict on a public place like imageshack).

2) You have to use print("#name#") to write the name

q.

jeromars

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #13 on: June 04, 2012, 11:36:14 am »
Here the pictures

My custom profile:

Shot at 2012-06-03

The property for my 2 stereotype in a class diagram. The first one is the flow(the attribute of the stereotype are in the tagged values) ans the second one is the repository (the attribute of the stereotype are in special place with the name of my package)

Shot at 2012-06-03


Jerome
« Last Edit: June 04, 2012, 11:36:57 am by jeromars »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Add tagged value to the DFD_DataFlow
« Reply #14 on: June 04, 2012, 07:22:25 pm »
That's EAUI. Dependencies do - for what reason ever - not display the tags for a profile under the name of the profile. This profile tag section in the element properties window is new (that is, it it was not there from the beginning but introduced "somewhen"). And obviously they forgot to add something similar for relations.

q.