![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Predefined Types Topic Summary: Created On: 27-Jul-2004 21:42 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello,
If I wanted to change or add to the "Predefined Types" package in Rhapsody, what would be the recomeneded way to do this? Thanks, Justin |
|
![]() |
|
![]() |
|
Justin,
Amos wrote the following about hiding predefined types. ++++++++++++++++++++ To hide the predefined package from the browser set the Browesr::Setting::ShowPredefinedPackage to False (uncheck) at the project level. Create a new property (can be done using VBA or in the site.prp) called General::Model: ![]() As a result, the only visible predefined type is going to be int and it will be available only until a different selection was made. ? A vba macro to create the PredefinedTypesInComboBox property Sub AvoidPredefinedTypesInComboBox() Dim p As RPProject Set p = getProject Call p.addProperty("General.Model.PredefinedTypesInComboBox", "String", "") End Sub ++++++++++++++++++++ Concerning adding to the types list, the process (at least in the past) has been to do Add to model of the Predefined.sbs and/or the PredefinedC++.sbs files. Add to the list, don't delete. Instead of deleting original types, just hide them as shown above. Save and then copy over the default Predefined .sbs files. Make sure to make backups of the originals. Let me know how this works for you, as I haven't tried it with 5.x. Ed |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
Predefined Types
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.