Author Topic: Behavior  (Read 3480 times)

RoyClem

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Behavior
« on: December 02, 2004, 11:27:16 am »
Greetings,

I noticed there exists a "Behavior" tab in the properties dialog for a class's operation. Double clicking on a class's operation (in a class diagram) displays the dialog.

What does the "Behavior" tab do? I can't seem to find any doc on it. And, how do I access it from the automation interface?

Thanks,

Roy

RoyClem

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Behavior
« Reply #1 on: December 02, 2004, 01:01:36 pm »
I finally found some doc in the Help. It's listed as "Operation Detail."

Olaf.Scheunemann

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
  • Its been lonely in the saddel since the horse died
    • View Profile
Re: Behavior
« Reply #2 on: January 27, 2005, 07:19:02 am »
Hi Roy,
I just looked at the behavior tab myself.
I would have expected it to contain the code for the related method after importing (reverse engineering) a java class definition.

But seems that's not the case... even though that would seem to be the right place to me....

Olaf

benc

  • EA Administrator
  • EA User
  • *****
  • Posts: 200
  • Karma: +0/-0
    • View Profile
Re: Behavior
« Reply #3 on: January 31, 2005, 04:49:04 pm »
Hi Roy and Olaf,

The original intention behind the behaviour field was to document some implementation/algorithmic notes about the operation and optionally display this info in diagrams. In the context of code gen - the behavior info is generated as comments in the operation body for inital generation only - ie. not round tripped.

On a related note, I believe EA 4.51 will introduce an "Initial Code" field in the same dialog for writing a code stub - again not round-tripped currently, but we're working on it.

Regards,
Ben