![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Adding enumeration Topic Summary: Created On: 13-Feb-2007 13:11 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I have some legacy code that I want to add to a Rhapsody model. I have added a class, and have added a new type and made it an enumeration. I want to paste the literals from the legacy code into the active code window to save me having to add them through the Rhapsody GUI. WHen I save and regenerate the code (plus roundtrip), the updates that I made in the active code window disappear. There are quite a lot of literals so I don't really want to add them all manually because it will take a while and there is athe possibility that I miss some out.
Is what I am trying to do possible? Thanks in advance, Paul |
|
![]() |
|
![]() |
|
Hi Paul,
have you tried using the Reverse Engineering function on the Tools menu? Regards, Ian |
|
![]() |
|
![]() |
|
Hi Ian
I haven't tried that, but I will give it a go. Thanks, Paul |
|
![]() |
|
![]() |
|
I think you have to change the "Types" preference under Roundtripping... uncheck the "ignore" box. Otherwise, the enum in the model will never be updated.
|
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Adding enumeration
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.