Book a Demo

Author Topic: Showing full package names  (Read 3326 times)

howlingfang

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • Yaaaaa aaaaarrrrrrgggg hhhh!!!!!!
    • View Profile
Showing full package names
« on: December 12, 2005, 11:15:21 am »
I am having trouble getting the full package names of classes to show up in the diagrams that I am creating, or in the HTML pages that I am creating from the project.

Basically, I have classes organized like this:
com.mycompany.cache.Thing
com.mycompany.remote.Thing
com.mycompany.service.Thing
com.mycompany.datastore.Thing

When I put instances of the different Thing's on the diagrams I am having a hard time figuring out which package a given Thing is from.  This is compounded by the fact that they all implement the same interface and I can't even tell them apart by available methods.

I have noticed that, sometimes, EA will put the package name in the upper right corner of the box on a diagram.  Is there a way that I can force it to do this all the time?

Also, in the HTML documents produced, when I am looking at the detail page for a particular class, the header at the top simply says "public class: Thing".  No where on that HTML page does it say which package it is from.  This makes it very hard for people viewing the webpages to know where a particular class belongs.  Is there a way to increase the level of detail in the generated pages to include package detail for every class?

Thanks,
Fang

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Showing full package names
« Reply #1 on: December 12, 2005, 02:52:27 pm »
Hi,

look into diagram properties, checkbox "Highlight Foreign Objects".

Hope this helps!
Bruno


Quote
I am having trouble getting the full package names of classes to show up in the diagrams that I am creating, or in the HTML pages that I am creating from the project.

Basically, I have classes organized like this:
com.mycompany.cache.Thing
com.mycompany.remote.Thing
com.mycompany.service.Thing
com.mycompany.datastore.Thing

When I put instances of the different Thing's on the diagrams I am having a hard time figuring out which package a given Thing is from.  This is compounded by the fact that they all implement the same interface and I can't even tell them apart by available methods.

I have noticed that, sometimes, EA will put the package name in the upper right corner of the box on a diagram.  Is there a way that I can force it to do this all the time?

Also, in the HTML documents produced, when I am looking at the detail page for a particular class, the header at the top simply says "public class: Thing".  No where on that HTML page does it say which package it is from.  This makes it very hard for people viewing the webpages to know where a particular class belongs.  Is there a way to increase the level of detail in the generated pages to include package detail for every class?

Thanks,
Fang


howlingfang

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • Yaaaaa aaaaarrrrrrgggg hhhh!!!!!!
    • View Profile
Re: Showing full package names
« Reply #2 on: December 13, 2005, 08:01:22 am »
Quote
look into diagram properties, checkbox "Highlight Foreign Objects".


Unfortunately, that only indicates the lowest level package name for Linked objects.  It also doesn't fix the detail page for classes in the output HTML.

My problem is, when I make a sequence diagram for example, all I see for class names in a chain of "Things" is "Thing".  It doesn't give me any indication of which.

So I would see Thing calling Thing.getID() which in turn calls Thing.getID() etc.  I lose the detail of which layer communicates with which in the diagram.  Of course I can name the instances appropriately, but that still doesn't help my output HTML.

I have turned on every positive checkbox for diagram properties and none of them show the detail I am looking for.

I have linked an image class from one of my class diagrams that for some reason shows what I want to see on all my diagrams.  It is from the java.rmi.Remote package as indicated on the diagram.

http://img465.imageshack.us/img465/3774/sample9ng.jpg

Fang
« Last Edit: December 13, 2005, 08:14:23 am by howlingfang »

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: Showing full package names
« Reply #3 on: December 13, 2005, 09:16:22 am »
Hi,

I may be mistaken but I am pretty sute that what you see in the top right corner of the class is not a package but the parent of the class. It says that the class is from "remoting" package and it's parent is "java.rmi.remote"

Bruno

Quote

Unfortunately, that only indicates the lowest level package name for Linked objects.  It also doesn't fix the detail page for classes in the output HTML.

My problem is, when I make a sequence diagram for example, all I see for class names in a chain of "Things" is "Thing".  It doesn't give me any indication of which.

So I would see Thing calling Thing.getID() which in turn calls Thing.getID() etc.  I lose the detail of which layer communicates with which in the diagram.  Of course I can name the instances appropriately, but that still doesn't help my output HTML.

I have turned on every positive checkbox for diagram properties and none of them show the detail I am looking for.

I have linked an image class from one of my class diagrams that for some reason shows what I want to see on all my diagrams.  It is from the java.rmi.Remote package as indicated on the diagram.

http://img465.imageshack.us/img465/3774/sample9ng.jpg

Fang

« Last Edit: December 13, 2005, 09:18:57 am by Bruno.Cossi »