Book a Demo

Author Topic: Auto save  (Read 8588 times)

spelger

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Auto save
« on: February 05, 2015, 03:23:17 am »
i am quite new to EA but have noticed something that is a little annoying. when editing a diagram sometimes i need to manually save my change(s) and sometimes i do not. is there some hidden option that controls this? i've searched the forum, help docs, and all menu items.

an example of this is in a class diagram if i move an object i must save it, if i only change the name of the class i do not.

using v11.1.1113

thanks,
scott

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Auto save
« Reply #1 on: February 05, 2015, 06:01:50 am »
Any change in a diagram is temporary. It is only saved to the database if you choose to do so. This behavior is implemented that way ever since. So diagram changes are the only that have an undo in EA. EA wouldn't win an award for orthogonality. I guess a swiss army knife neither  ;)

q.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Auto save
« Reply #2 on: February 05, 2015, 08:48:37 am »
Your original question gives the clue - if you change the diagram by moving or adding objects, that change is unique to the diagram and you need to save it. If you change the model through the medium of the diagram, that change is taking effect elsewhere and in most cases is automatically saved. For example, add a new element to the diagram - you will see that the element automatically appears in the Project Browser (and, in fact, that is where the element actually exists - the diagram just shows an image of the element).
« Last Edit: February 05, 2015, 08:50:30 am by RoyC »
Best Regards, Roy

spelger

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Auto save
« Reply #3 on: February 05, 2015, 08:58:11 am »
thank you roy, that explain what is happening. now, can it be disabled? in other words, can i change some setting that marks the entire *.eap file as dirty if anything changes? in more other words, i want to be in charge of when saving occurs.

fortunately, i am using version control so i can always revert if something changed without an explicit save.

thanks again,
scott

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Auto save
« Reply #4 on: February 05, 2015, 02:51:56 pm »
Scott, you're thinking that an EAP file is a document. It isn't, it's a database. Changes get committed as soon as you confirm them, which may be when you press the enter key, or click an OK button, or press Save on a diagram.
The Sparx Team
[email protected]