Book a Demo

Author Topic: wierd code generation dialog behaviour  (Read 2671 times)

OilyRag

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
wierd code generation dialog behaviour
« on: August 21, 2007, 10:18:32 pm »
Hi, I am using EA version 7.0.815, build 815.

I have noticed that when working on a class diagram, if I select a class and bring up the code generation dialog using F11 (or a RMB menu selection), and then on that dialog select the Advanced button, you get the "Object Options" dialog. For some classes, the "Always synchronize..." radio button is selected, and for other classes, the "Replace (overwrite)..." radio button is selected. I cannot seem to modify these settings - clicking on the non-selected radio button does not turn it on. The attempt to do so is ignored by the EA GUI.

This is very irritating because now I want to code generate just one class at a time as I change them, and since I am only generating skeletal code at the moment, I do not need (or want) the synchronize option, but rather the overwrite option. However, some of my classes seem stuck in "synchronize" mode.

How can I overcome this?
Has anyone else discovered this "feature"?
The things I make may be for others, but how I make them is for me.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: wierd code generation dialog behaviour
« Reply #1 on: August 22, 2007, 05:23:49 pm »
The options open from the code generation dialog apply only to that class.  You can also set this option globally in your model from Tools | Options.  However, you will probably have options set on the classes that will override this option.

See http://www.sparxsystems.com.au/EAUserGuide/index.html?resetoptions.htm for how to clear options so that the model options will apply.