Book a Demo

Author Topic: Java Import should place code in "behavior&am  (Read 3367 times)

Olaf.Scheunemann

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
  • Its been lonely in the saddel since the horse died
    • View Profile
Java Import should place code in "behavior&am
« on: January 27, 2005, 01:35:33 pm »
Hi,
I just tried out the import of Java code under Version 4.5 Build 740.
It works fine  :D
But there are a few pinches:
1) after the import, when I look at the source code for any method, I always see the code for the complete package - not for the method selected!
I would have expected the code to be put in the "behavior" tab !?
2)Also the system does not create higher level logic diagrams that show the relationship between classes of different packages. This would be very nice.
3) flipping the diagram property "hide attribute methods" to off doesn't show any effect on the diagram
4) the logic diagram does not resize properly if I reduce the number of attributes/methods shown

What do you think?
Cheers
Olaf

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Java Import should place code in "behavio
« Reply #1 on: January 31, 2005, 09:14:57 pm »
1a. In more recent builds of EA the source code editor will automatically jump to the location that a method is defined in a file.  (Different languages started doing this in different versions but currently C++, C#, Java, Python, CORBA and PHP are supported, others are still to come.)

1b. http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=Automation;action=display;num=1102015636

2. No, EA doesn't create diagrams for classes across different packages, but you can by adding a something to the diagram, right clicking on it and selecting "Insert Related Elements"

3. Not sure what you're talking about here.

4. Try selecting at least two classes and selecting "Autosize all selected" from the context menu.

Simon

Olaf.Scheunemann

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
  • Its been lonely in the saddel since the horse died
    • View Profile
Re: Java Import should place code in "behavio
« Reply #2 on: February 01, 2005, 01:44:19 am »
Hi Simon,
thanks for your extensive answers :-))

I will try a newer build (I didn't realize I was THAT close to the newest trends ;-))

As to 3) I changed the display properties for the package and expected an automatic resize when clicking on AUTOLAYOUT.

But I think that your answer to 4) settles that too
So thanks a lot...
Olaf