![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Adding Views to Formal Module Topic Summary: Created On: 27-Sep-2004 20:16 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
When you open a formal module - you have a combo box on the left side which says "standard view".
Using DXL how can i add more options to that combo box? And customize the different views? Lets say I add 2 more options to the combo box - "Custom View-1" and "Custom View - 2". Lets say in the "Standard view" we have 5 rows in the Formal Module, but, in "Custom View-1" I would like to display only those rows that have certain attribute set. How can I do that using DXL? I would appreciate if you could let me know or point to the proper place. Thanks Babu |
|
![]() |
|
![]() |
|
try the DXL reference manual under the section "Views"
|
|
![]() |
|
![]() |
|
Are you asking how to use DXL to create and modify views? That's a nightmare good luck. Its much easier just to create a view manually than line up all your ducks in DXL.
Are you asking how to write a DXL that generically reads some clever "this is the view I want" text file and applies those criteria to a new view? I'm pretty sure you'd be the first one to try to write that. Are you asking how you can have a standard view in some module and push it out to other modules? That's a lot more realistic. I think someone posted such a script here. Are you asking how to do filters with DXL? There are two over-all methods for that: [1] define a Filter then "set" it. This sort of filter IS saveable in a view. [2] turning filtering off, loop through the objects in the module and either "accept" or "reject" each depending on your criteria, then turn filtering on. This sort of filter is NOT saveable in any view. Before launching into View DXL I'd play with views manually for a few days. - Louie |
|
![]() |
|
![]() |
|
I have two different routines that each work but do different things:
/********************************************************** createCopyViewChangeFilters Description: Creates a new module view based upon an existing view if the view does not already exist, but filters are different. Errors out if source view does not exist. NOTE: No longer closes the module sent in! Instead, if it had been open for read, it sets it to read, if to share, to share, if not open, it closes it. Returns 0 if fails, or a number representing the number of views created. etc... ********************************/ and /********************************************************* addAttrsToView Description creates a new view (name passed in "viewName") and builds columns based upon a defined list of names, of the attribute type specified. Some of these columns use layout dxl. This is passed to the collumn through an string "#include Dependancies etc... ************************************/ see attached code for example of column definition Hope it helps |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Adding Views to Formal Module
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.