Book a Demo

Author Topic: DDL transformation with multiple sup-packages  (Read 2802 times)

Kaneda

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
DDL transformation with multiple sup-packages
« on: July 31, 2005, 03:26:44 am »
Hi there!

I have my PIM, which is a class diagramm.
Its classes are organized into multiple sub-packages (in order to create the appropriate namespaces).
But if I select all classes in the class diagramm, only those get transformed, which are diretly below the main root. All others I can only transform, if I select them in their package, or their package directly.

My structure is like this (imagine this as a tree structure):

Lvl1: Main root
Lvl2: --A
Lvl3: ----B, C
Lvl4: ------B1, B2, B3, B4 --- C1, C2, C3, C4

whereas the classdiagramm with all elemens is located in package Main, as well es some structs.

All other classes are in B1-B4 and C1-C4.

Unless I select B1-B4 and C1-C4  ("transform current package"), these classes do not get transformed (even though I selected them all in the main class diagramm.


Did I make a mistake when I created the packages, or when I took the classes from the main root and dragged them into the sub-packages, or is this normal behaviour?
There are 10 types of people in this world. Those who understand binaries and those who don't...

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: DDL transformation with multiple sup-packages
« Reply #1 on: July 31, 2005, 03:50:56 pm »
The transform current package command is currently not recursive through packages because by default transformations are performed to child packages of the current one.

Currently you need to either transform each child package individually, or add all classes onto a single diagram and select Transform Selected Elements. (Either from the Element menu or the context menu for those elements)

Simon

Kaneda

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: DDL transformation with multiple sup-packages
« Reply #2 on: July 31, 2005, 11:14:56 pm »
Quote

Currently you need to either transform each child package individually, or add all classes onto a single diagram and select Transform Selected Elements. (Either from the Element menu or the context menu for those elements)

Simon


well this is what is so weird.
They are all organized in one diagram.
I have select ALL elements in the diagram, and select a C# transformation, it works fine.
If I select the DDL transformation, it only transforms those closes directly beneath the Main root.

It acts differently, depending on the transformation.
If it would be enough for me if a full DDL transform would be possible "from the main diagram" (which contains all classes)...
There are 10 types of people in this world. Those who understand binaries and those who don't...