![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: getBaseSelection_() Topic Summary: Created On: 14-Jan-2008 20:05 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I surely got the following info here on the forums, but cannot find it. Anyone know how to get a list of the currently selected items in the DOORS explorer?
string getBaseSelection_() Return element selected in right pane, if you have several elements selected, this function return the first element. int getBaseListSelectedElemsCount() Return the number of slected elements in DOORS epxlorer int getBaseSelectedType() return an integer : 0 --> Module, 1 --> Folder, 2 --> Project of the first element selected in DOORS explorer. I notice these are not 'perms' and therefore must be functions written by Telelogic. - Louie |
|
![]() |
|
![]() |
|
Don't know about getBaseSelection_(), I use getSelectedItems ()
------------------------- Scott Boisvert Engineering Tools Administrator L-3 Communications - Avionics Systems scott.boisvert@l-3com.com |
|
![]() |
|
![]() |
|
Modified code a little bit. getSelectedItems() is sensitive to whether the DOORS explorer has something slected in the right pane or the left pane. I notice that the 'key' of the returned Skip list is an 'int' number representing the position of the item in the right pane; selecting the first item returns zero. When the left pane is selected, there is only one thing selected and the key integer is always -1.
I see that "Item getSelectedItem()" returns the top-most item selected. - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
getBaseSelection_()
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.