Book a Demo

Author Topic: How to recover a deleted item?  (Read 5461 times)

dams

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
How to recover a deleted item?
« on: July 24, 2008, 11:52:12 pm »
I am learning to use forward and reverse engineering. I deleted an item from a class diagram and from the model. Is it possible to recover it? Even if it still exists in the source code, reverse engineering dos not bring it back in the model. (C++ EA 7.0.813)
Thanks in advance!

Dams
« Last Edit: July 25, 2008, 12:34:24 am by dams »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to recover a deleted item?
« Reply #1 on: July 25, 2008, 01:51:43 am »
Play around with the settings on the reverse engineering dialog. It's there someplace. You might also need to tweak the settings on the Tools | Options |Source Code Engineering dialog.
No, you can't have it!

dams

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: How to recover a deleted item?
« Reply #2 on: July 25, 2008, 06:42:34 pm »
Hello Midnight,

Thanks for your quick answer.
I made a lot of trials and changes in the settings, but it seems that some settings are not applied: removed enumeration (C++) from code is not removed from model, named enum in code is added in the model near the one without name...
I hope these issues will be solved in the next version.  ;)
Dams

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to recover a deleted item?
« Reply #3 on: July 25, 2008, 09:50:18 pm »
I'm not sure that «enumeration» in EA corresponds to enum in C++. Try reverse engineering a valid C++ project with an enum and see how EA renders it.
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: How to recover a deleted item?
« Reply #4 on: July 28, 2008, 08:39:40 am »
A quick guess that the problem is that you deleted it only off the diagram, not out of the model.  Then reverse engineering doesn't add already existing elements onto diagrams.  You should be able to find the class in the project browser.  (Or do a Find Orphans search.)