![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: v83 Table displayed attribute Topic Summary: Created On: 4-Nov-2008 15:05 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Well, Anders beat me to it, but here's the Email I sent to collegues: Good news. Browsed the v8.3 doors.exe and also contacted Telelogic. I see these commands in the v8.3 doors.exe: string defaultTableAttribute(Module) DefaultTableAttributeMod bool overrideTableAttribute(Module) OverrideTableAttributeMod bool enableDefaultTableAttribute(Module) EnableDefaultTableAttributeMod void defaultTableAttribute(string) DefaultTableAttributeSet void overrideTableAttribute(bool) OverrideTableAttributeSet void enableDefaultTableAttribute(bool) EnableDefaultTableAttributeSet All seem to be associated with the View menu >Table Attributes ... GUI information; all of which define table attributes for the module, not for individual tables. The last 3 seem to presume the 'current module'. I also see commands: bool useDefaultTableAttribute(ViewDef) viewDefGetUseDefaultTableAttribute void useDefaultTableAttribute(ViewDef, bool) viewDefUseDefaultTableAttribute which I have not experimented with and frankly don't see any corresponding GUI functionality. I suspect these to be future enhancements, where later on you can save the default attribute in a view. Telelogic responded on how to modify the table attribute of the current table. I wrote the attached code snippet to demonstrate it, I'm sure folks will figure it out from there. The key to this seems to be use of the 'reserved' word before the hidden ..err.. Reserved attribute "Main Column Attribute": So far, I see no mechanism for querying DOORS for a list of such 'Reserved' attributes in the module. | |
![]() |
|
Is there a way in dxl to get the name of the attribute being displayed in the cells of a given DOORS native table? Note that not all tables in the module will have the same attribute displayed in their cells.
I see no such commands in text version of doors.exe, see no such commands in the DXL manual, and see no hidden system attributes that would contain this information. - Louie |
|
![]() |
|
![]() |
|
Hi,
You can use the reserved attribute "Main Column Attribute": Object oCell = current // A cell object print oCell.(reserved "Main Column Attribute") "\n" /Anders |
|
![]() |
|
![]() |
|
Well, Anders beat me to it, but here's the Email I sent to collegues:
Good news. Browsed the v8.3 doors.exe and also contacted Telelogic. I see these commands in the v8.3 doors.exe: string defaultTableAttribute(Module) DefaultTableAttributeMod bool overrideTableAttribute(Module) OverrideTableAttributeMod bool enableDefaultTableAttribute(Module) EnableDefaultTableAttributeMod void defaultTableAttribute(string) DefaultTableAttributeSet void overrideTableAttribute(bool) OverrideTableAttributeSet void enableDefaultTableAttribute(bool) EnableDefaultTableAttributeSet All seem to be associated with the View menu >Table Attributes ... GUI information; all of which define table attributes for the module, not for individual tables. The last 3 seem to presume the 'current module'. I also see commands: bool useDefaultTableAttribute(ViewDef) viewDefGetUseDefaultTableAttribute void useDefaultTableAttribute(ViewDef, bool) viewDefUseDefaultTableAttribute which I have not experimented with and frankly don't see any corresponding GUI functionality. I suspect these to be future enhancements, where later on you can save the default attribute in a view. Telelogic responded on how to modify the table attribute of the current table. I wrote the attached code snippet to demonstrate it, I'm sure folks will figure it out from there. The key to this seems to be use of the 'reserved' word before the hidden ..err.. Reserved attribute "Main Column Attribute": So far, I see no mechanism for querying DOORS for a list of such 'Reserved' attributes in the module. Edited: 12-Nov-2008 at 15:27 by Louie Landale |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
v83 Table displayed attribute
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.