Book a Demo

Author Topic: Reverse Engineering & Code Templates  (Read 2860 times)

StefanR

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Reverse Engineering & Code Templates
« on: July 21, 2004, 01:13:54 am »
Hi,
can anyone tell me if EA uses Code Tempates for Reverse Engineering as well as for code generation? If not, is there any possiblity to find out or even manipulate the way, how the EA-parser and scanner work when Reverse Engineering code ???

Thanks in advance,
Stefan.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Reverse Engineering & Code Templates
« Reply #1 on: July 21, 2004, 09:42:36 pm »
Hi Stefan,

Unfortunately the reverse engineering in EA is currently not flexible in any way.  The only options you have are what is available under the options dialogue.
(Not much at all)

Having said that, we are currently working on allowing user specified grammars.  It could potentially be a while before that functionality is released though.

That's the answer to your question, but if you permit me some speculation I may be of some more help.

Is this question in reference to you wanting to import only part of the class comment into the class notes field?

I didn't think of this when I replied to your last post, but you could write an addin to essentially do a post import process of your classes.  In this you could get all class notes that contain "description:" and set them to everything after that point.

Now, I'm not an expert at addins for EA, but I'm sure that it wouldn't be too hard to find all classes in the model that match your criteria and edit them.

Not the nicest thing to do, but it should be quicker than manually doing it.  At least until you can write a grammar that would tell EA to do it for you.  Quicker than waiting for that functionality and then writing a language grammar to take advantage of it too.

Hope I've helped.

Simon

csper

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Reverse Engineering & Code Templates
« Reply #2 on: June 09, 2006, 07:10:23 am »
This is a rather old topic, but I can't seem to find any recent relevant information.  What is the status of this planned functionality?

Does anybody have an example of generating/reverse engineering more complicated method and class headers than just the respective notes?  For example, we have a requirement to denote realized external requirements for each method.  In that case, I'd like to include the linked requirement aliases in the header generation and ignore them in them during reverse engineering.

thomaskilian

  • Guest
Re: Reverse Engineering & Code Templates
« Reply #3 on: June 09, 2006, 02:05:23 pm »
More or even less: this has not changed. Maybe with 6.5?