![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DOORS Mini Explorer Topic Summary: Created On: 15-Jun-2005 19:08 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: You can also get a list of selected items from the main explorer window using: Skip selectedItems = getSelectedItems() Item selectedItem for selectedItem in selectedItems do{ // loop through the list of selected Items via the Skip do something with selected Items... } | |
![]() |
|
Several DOORS utilities (such as the Link by Attribute utility) have a "Browse" button that when selected displays a mini explorer to allow the user to select a module in the database. Selecting the OK button in the mini explorer populates a DBE field with the module path and name. Does anyone know of having the ability to display a mini explorer allowing the user to select multiple modules? Selecting the OK button would populate a DBE List of all selected modules rather than a DBE field.
|
|
![]() |
|
![]() |
|
There are four available interfaces for the mini explorer window...
1. string fnMiniExplorer(DB dlgParent, Folder fldFolder, int iItemFilter, string sTitleBar, string sUserPrompt) 2. string fnMiniExplorer(Folder fldFolder, int iItemFilter, string sTitleBar, string sUserPrompt) 3. string fnMiniExplorer(DB dlgParent, int iItemFilter, string sTitleBar, string sUserPrompt) 4. string fnMiniExplorer(int iItemFilter, string sTitleBar, string sUserPrompt) The four interfaces are explained as follows... * dlgParent - dialog box used as parent for any info boxes, etc. * fldFolder - initial folder selection (i.e. the tree is expanded to this level - defaults to the current if null or non-existent) * iItemFilter - display option for tree view (see below) * sTitleBar - user defined string for window title (defaults to "DOORS Database Mini-Viewer" if null) * sUserPrompt - user defined string for user prompt (defaults to "Please make your selection..." if null) The iItemFilter is an integer value that allows the user to filter the display to show specific items (if desired). It should be constructed (i.e. and OR'd value) using the following constants... MINI_EXP_FP // projects and folders (undeleted) MINI_EXP_LINK_MODS // link (undeleted) MINI_EXP_FORMAL_MODS // formal (undeleted) MINI_EXP_DESCRIPTIVE_MODS // descriptive (undeleted) MINI_EXP_SHOW_DELETED // deleted items Also (appropriate super-sets of these values)... MINI_EXP_SHOW_ALL_NO_DELETED MINI_EXP_SHOW_ALL At a minimum it will always show projects and folders (for which the user has read access obviously). It should also observe Project / Database View options made in the DOORS Explorer top-level. The return value for this call is a string representing the fully qualified name of the selected item (or null if CANCEL). It is best to validate this item name using "bool project(string)", "bool folder(string)" or "bool module(string)" prior to use with other DXL functions. ------------------------- Dave +44 (0)23 9270 5711 david.robbins@astrium.eads.net ~~~~~~~~~~~~~~~~~~~~ EADS Astrium, Anchorage Road Portsmouth. Hampshire. UK PO3 5PU |
|
![]() |
|
![]() |
|
You can also get a list of selected items from the main explorer window using:
Skip selectedItems = getSelectedItems() Item selectedItem for selectedItem in selectedItems do{ // loop through the list of selected Items via the Skip do something with selected Items... } ------------------------- Dave +44 (0)23 9270 5711 david.robbins@astrium.eads.net ~~~~~~~~~~~~~~~~~~~~ EADS Astrium, Anchorage Road Portsmouth. Hampshire. UK PO3 5PU |
|
![]() |
|
![]() |
|
Dave - Thanks for all the good info. Your second response was the answer to my problem. Just for curiosity sake, where did you find the interface information on the mini explorer window?
|
|
![]() |
Telelogic DOORS
» DXL Exchange
»
DOORS Mini Explorer
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.