Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: Adding enumeration
Topic Summary:
Created On: 13-Feb-2007 13:11
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 13-Feb-2007 13:11
User is offline View Users Profile Print this message


Paul Newton

Posts: 16
Joined: 2-Aug-2006

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
Report this to a Moderator Report this to a Moderator
 13-Feb-2007 14:09
User is offline View Users Profile Print this message


Ian Turner

Posts: 25
Joined: 3-Feb-2006

Hi Paul,

have you tried using the Reverse Engineering function on the Tools menu?

Regards,

Ian
Report this to a Moderator Report this to a Moderator
 13-Feb-2007 15:53
User is offline View Users Profile Print this message


Paul Newton

Posts: 16
Joined: 2-Aug-2006

Hi Ian

I haven't tried that, but I will give it a go.

Thanks,

Paul
Report this to a Moderator Report this to a Moderator
 28-Feb-2007 20:57
User is offline View Users Profile Print this message


Jan Diep

Posts: 18
Joined: 31-May-2005

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.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.