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: Dialog box to allow selection of modules and external file names
Topic Summary:
Created On: 17-Apr-2008 16:32
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.
 17-Apr-2008 16:32
User is offline View Users Profile Print this message


David Dawson

Posts: 27
Joined: 11-Mar-2003

Hi all,

I have what I hope is a simple topic, but having read through the General programming strategies for building complex dialog boxes thread, I'm not so sure.
https://forum.telelogic.com/customer/doors/messageview.cfm?catid=17&threadid=9008

What I need to do is present a dialog (similar to the opening DOORS Database dialog) that allows the user to navigate the DOORS database and select a module, and then navigate Windows folders to select a text file. The names and locations of these items would then be used in dxl to open the modules and process the text file. I've seen some samples that allow simple user input into a form, but I'm currently drawing a blank on how to proceed.

Hopefully someone can point me in the right direction and that direction won't involve the thread noted above.

Many thanks in advance,
david

-------------------------
You never know where you're going 'til you get there
Report this to a Moderator Report this to a Moderator
 17-Apr-2008 16:44
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

To navigate the DOORS database simlar to the the explorer you can use the treeView DBE. To navigate windows use the fileName dbe.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 17-Apr-2008 16:44
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

To navigate the DOORS database simlar to the the explorer you can use the treeView DBE. To navigate windows use the fileName dbe.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 17-Apr-2008 16:45
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

To navigate the DOORS database simlar to the the explorer you can use the treeView DBE. To navigate windows use the fileName dbe.

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 17-Apr-2008 17:00
User is offline View Users Profile Print this message


David Dawson

Posts: 27
Joined: 11-Mar-2003

Thank you much.
I'll head down those paths and see what I can do.

-------------------------
You never know where you're going 'til you get there
Report this to a Moderator Report this to a Moderator
 17-Apr-2008 18:21
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Sorry for the triple posts. Our network was in the process of taking a dive when I submitted.....

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 17-Apr-2008 21:23
User is offline View Users Profile Print this message


David Dawson

Posts: 27
Joined: 11-Mar-2003

OK, up and running with the filename DBE. But treeView is apparently something else. I suspect that there is more to be done than merely calling the treeView function, because there doesn't seem to be any means of giving it a default location. When I run my code, the dialog opens, but is empty.

One other small curiosity; Main has calls to both dialogs, but only the first one opens. Once it closes the code is apparently done. So to check out both dialogs, I have to reverse the order of call (or comment out the one I don't want). Obviously I'm missing something here too.

Please educate the slow learner

-------------------------
You never know where you're going 'til you get there
Report this to a Moderator Report this to a Moderator
 17-Apr-2008 21:30
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Download my Create Link Sets for Module script over at Baselines, Inc. It has a decent example of how to use the treeView DBE in the createDialog method.

http://www.baselinesinc.com/?p...showpost&filepost_id=9

-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com

Edited: 17-Apr-2008 at 21:35 by Scott Boisvert
Report this to a Moderator Report this to a Moderator
 17-Apr-2008 21:47
User is offline View Users Profile Print this message


David Dawson

Posts: 27
Joined: 11-Mar-2003

Wholly Owned and Operated! Have a few on me

If I can't get this now, I have no business trying.

Thanks immensely.

david

-------------------------
You never know where you're going 'til you get there
Report this to a Moderator Report this to a Moderator
 18-Apr-2008 15:48
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Here you go. Mini Explorer that just requires you to call the function and pass it basic info.

Your call to the function would be

miniExplorer(DB yourdialogbox, MINI_EXP_FORMAL_MODS)

That will show you the tree view for the whole database.

miniExplorer.inc
miniExplorer.inc  (9 KB)



-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Edited: 30-May-2008 at 13:05 by David Pechacek
Report this to a Moderator Report this to a Moderator
 18-Apr-2008 16:28
User is offline View Users Profile Print this message


David Dawson

Posts: 27
Joined: 11-Mar-2003

Thanks David. You and Scott have saved me countless hours of frustration. Looks like I need to spring for another round

-------------------------
You never know where you're going 'til you get there
Report this to a Moderator Report this to a Moderator
 30-May-2008 01:56
User is offline View Users Profile Print this message


Krishna Kandala

Posts: 170
Joined: 8-Jul-2006

Hi David,

We are using version 8.2 and the .inc files appear to be encrypted - I cannot read them in Notepad. When I work with the code miniExplorer(DB mydialogbox, MINI_EXP_FORMAL_MODS) referring to the miniExplorer.inc file in the standard/miniExplorer/inc folder, I get an error.
After copying the miniExplorer.inc file you posted to another location, the function works OK when I refer to that location.
Is this file different from the .inc file supplied by Telelogic? I could not compare as I cannot read the miniExplorer.inc file from the Program Files folder.
Thanks in advance for any suggestion.

- Krishna
Report this to a Moderator Report this to a Moderator
 30-May-2008 11:20
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

The file posted by David is different from the Telelogic file.
miniExplorer() is intended as a replacement for the Telelogic supplied fnMiniExplorer() and in my opinion is much better.

The original code is available here http://www.smartdxl.com/miniexplorer.html

-------------------------
Tony Goodman
Smart DXL limited
www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 30-May-2008 13:03
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

Thank you Tony. I had forgotten where I got it from. I have properly attributed the file to you now.

And to the other David, if you're ever in Charleston, I'll take that drink.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Edited: 30-May-2008 at 13:04 by David Pechacek
Report this to a Moderator Report this to a Moderator
 30-May-2008 16:12
User is offline View Users Profile Print this message


Krishna Kandala

Posts: 170
Joined: 8-Jul-2006

Thanks, Tony, for the file and the clarification.

Coming back to the .inc files supplied by Telelogic, are these files encrypted? Is there anyway to look in what they contain?

- Krishna
Report this to a Moderator Report this to a Moderator
 2-Jun-2008 16:06
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

Yes, much of the DXL supplied by Telelogic is encrypted.

Telelogic encrypts these files for very good reasons. If they suplied all the code unencrypted they would have to assume that customers had seen the files and were using calls to functions within them. This would prevent Telelogic from making changes to these scripts without fear of breaking their customers DXL.

They supply enough unencrypted code and examples that you can use for inspriration. Even if you could look inside these files, I guarantee that you would not find anything of tremendous interest.

-------------------------
Tony Goodman
Smart DXL limited
www.smartdxl.com
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.