Book a Demo

Author Topic: show Innerclass in outerclass in the diagramm  (Read 2620 times)

MREA

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
show Innerclass in outerclass in the diagramm
« on: October 31, 2012, 06:18:17 pm »
hi

- I've a Class in the class I've a struct to generate this class (OO-in C)

Class{
   - struct of class{}
}

but this struct is not shon in the class diagramm, so how do I get it into?

- btw. is it possible to hide defines in the diagramm?
Support- Languages: German, English, French

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: show Innerclass in outerclass in the diagramm
« Reply #1 on: October 31, 2012, 08:45:21 pm »
Just expand the outer class and drag the inner over the outer class in the diagram. When you now drag the outer class the inner will move too.

q-

MREA

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: show Innerclass in outerclass in the diagramm
« Reply #2 on: October 31, 2012, 09:04:38 pm »
thats not what I wanted

more like that:

Class{
   struct{
     -attr1
     -attr2
}
}


_______________________________________
                   class
_______________________________________
attr1
attr2
_______________________________________
« Last Edit: October 31, 2012, 09:05:40 pm by EAIFM »
Support- Languages: German, English, French

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: show Innerclass in outerclass in the diagramm
« Reply #3 on: October 31, 2012, 10:23:24 pm »
You can't do that. Struct is nothing known on UML level. This is a (mostly C-like) language construct.

q.