Book a Demo

Author Topic: Version control of a single element  (Read 3604 times)

piotrek84

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Version control of a single element
« on: November 24, 2009, 07:58:37 pm »
Dear All,
Is it possible in EA to version control a single element (not a whole pachage) so that changes  done to the element are stored somwhere? Or something like an automated callback that does a praticular action every time a certain type of element has changed?

Regards
Peter

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Version control of a single element
« Reply #1 on: November 24, 2009, 08:05:46 pm »
No, version control can only be done on package level.

An alternative could be to setup the auditing feature in EA. I think that should give you the information you're after per element.

Geert

piotrek84

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Version control of a single element
« Reply #2 on: November 24, 2009, 08:35:53 pm »
It seems like a good tool. The only problem I can see is the number of people using the model - all of them would have to turn auditing on which is ok as long as it's possible to set the Auditing tool to store information on only one type of element. I'm not sure how far the customization for Auditing can go.
Anyway thanks for the answer. It's definitely something to start with.

Regards

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Version control of a single element
« Reply #3 on: November 24, 2009, 08:38:24 pm »
If I remember correctly you only have to turn auditing on once.
It will then be turned on for all users of the model.

(of course given that you work in a shared-model mode)

Geert

piotrek84

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Version control of a single element
« Reply #4 on: November 24, 2009, 09:10:28 pm »
Yes, you're right. My problem is that I don't want to register all the changes people make - just those made to an element with a particular stereotype. And I'm not sure I can narrow the list of elements to one stereotype (that is not a native EA stereotype by the way).

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Version control of a single element
« Reply #5 on: November 24, 2009, 09:19:28 pm »
In that case you might want to look at the events fired by EA such as
http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/ea_onnotifycontextitemmodified.html

Geert


piotrek84

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Version control of a single element
« Reply #6 on: November 24, 2009, 09:21:57 pm »
That's exactly what I was looking for :)

Thank you very much

Regards
Peter