addTranslationUnit

Deprecated

This should not be used anymore. Instead, the corresponding component should be selected and the translation unit should be added there.

If no component exists, it generates a Component called "application" and adds tu. If a component already exists, adds the tu to this component.

Parameters

tu

The translation unit to add.