Book a Demo

Author Topic: Generate Code for Components  (Read 2138 times)

Niy

  • EA User
  • **
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Generate Code for Components
« on: December 16, 2011, 02:48:37 am »
Hi,
since there is no 'Newbie'-section, I'm posting here.
I'm using EA 8.0.864

First of all -- why dont packaging components behave like components in a diagram (e.g. it doesnt get to use ports, assembly, exposed interface and the like)?
Quote
A Packaging Component is an element that appears very similar to a Component in a diagram but behaves as a Package in the Project Browser (that is, it can be version controlled and can contain other Packages and elements). It is typically used in Component diagrams.
Or am I getting something wrong?

Secondly:
I think I missed somewhere a setting -- "generate code" is greyed out for the component in the Project Browser, and if I try to generate the code for the class/interface within the component I get
Quote
Generation of code for inner classes is only supported through generation the outer class
So a component behaves like a class, but I cant get it to genrate me some code  :'(

The optimal solution for me would eithe be, that packaging components behave like components in the diagram (and not only look alike) or that components behave like packages while generation code.

Any help will be greatly appreciated.

Niy
« Last Edit: December 16, 2011, 02:50:14 am by Niy »