Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Creating numerous Enumerations for an attribute
Topic Summary: Having a slight problem with this code.
Created On: 7-May-2007 16:41
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
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.
 7-May-2007 16:41
User is offline View Users Profile Print this message


Brenda Cornell

Posts: 29
Joined: 7-Jul-2005

The code below works when I copy and paste it into the Edit DXL script dialog box, (when viewing my module), but I can't get the DXL script to appear in my ModuleAddins dropdown box. I tried copying another DXL script that was showing in my ModuleAddins, renamed it (it still appeared), but as soon as I copied my code into that new DXL script, it disappears from my ModuleAddins dropdown??

Any thoughts on why??

-------------------------
Brenda Heiss Cornell

Edited: 7-May-2007 at 22:24 by Brenda Cornell
Report this to a Moderator Report this to a Moderator
 7-May-2007 17:51
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Can we see the code?

I have a hunch though you don't have the required:

//Name of your DXL Script here
/*
* Block comment here
*/

at the beginning of your file. For it to put the name of the file in the User pull down menu, it looks for a comment followed by the start of a block comment. It uses the name you put in the first comment as the name of the menu item in the User pull down.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
 8-May-2007 00:19
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Yes, all DXL to appear in the menus need a comment line and a comment block 'near' the top of the file. I'm not sure how near but mine are at the top also. I think the relevant info is the first comment line and the first comment block, and the line must come before the block.

The name that appears in the DOORS menu is either the name correctly defined in the menu's corresponding IDX file, or if there is no such line then its the name of the DXL file itself.

The comment line and block information appear when 'browsing' the DXL library (from a module). The comment line appears in the tree view and the comment block appears when you single-select a particular script while still browsing.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 2 users using this forum.
You have posted 0 messages to this forum. 0 overall.

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