Book a Demo

Author Topic: classes from workspace to diagram  (Read 3600 times)

zippy

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • You can never put too much water in a nuclear reactor.
    • View Profile
classes from workspace to diagram
« on: March 20, 2003, 02:14:47 pm »
Hi, I looked through a lot of documentation and postings, and I can't find the answer to this question:

I have imported a java source directory into my Logical Model, without creating a logical diagram for each package (that's a lot of un-interesting diagrams).

Next, I created a Class diagram in the base of the Logical Model tree (this is in the workspace panel I'm talking about.)

Now, I'd like to put these imported classes in the class diagram, but I can't figure out how to get them there:
Dragging them from the workspace panel to the diagram creates an Object, I want the Class.
Creating a new class seems to only lets me link to a file on the system, not one that I've already imported into the project.

Am I missing something simple? Do I have a major misunderstanding about how the tool works?

Thanks.

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: classes from workspace to diagram
« Reply #1 on: March 20, 2003, 03:18:33 pm »
Zipster,

Ah, you have Auto Instance turned on.  With this option enabled, dragging a class onto a diagram creates an instance of the class (= object).  If, however, you hold down CTRL while dragging and dropping the object, it is placed as a class.  Auto instance can be turned off in Options.

Cheers,
FCW
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


zippy

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • You can never put too much water in a nuclear reactor.
    • View Profile
Re: classes from workspace to diagram
« Reply #2 on: March 20, 2003, 03:43:18 pm »
Much thanks fwoolz!

z.