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: DOORS Mini Explorer
Topic Summary:
Created On: 15-Jun-2005 19:08
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.
Answer This question was answered by Dave Robbins, on Monday, June 20, 2005 4:21 PM

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...

}
 15-Jun-2005 19:08
User is offline View Users Profile Print this message


Christopher Klansky

Posts: 3
Joined: 22-Nov-2004

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.
Report this to a Moderator Report this to a Moderator
 16-Jun-2005 13:54
User is offline View Users Profile Print this message


Dave Robbins

Posts: 36
Joined: 9-Dec-2003

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
Report this to a Moderator Report this to a Moderator
 16-Jun-2005 13:57
User is offline View Users Profile Print this message


Dave Robbins

Posts: 36
Joined: 9-Dec-2003

Answer 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...

}

-------------------------
Dave
+44 (0)23 9270 5711
david.robbins@astrium.eads.net
~~~~~~~~~~~~~~~~~~~~
EADS Astrium, Anchorage Road
Portsmouth. Hampshire. UK PO3 5PU
Report this to a Moderator Report this to a Moderator
 20-Jun-2005 16:27
User is offline View Users Profile Print this message


Christopher Klansky

Posts: 3
Joined: 22-Nov-2004

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?
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.