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: How to create/extend popup menu on project and Folder
Topic Summary: DXL sample code for Popup menu for Project and Folder
Created On: 29-Jul-2008 22:01
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.
 29-Jul-2008 22:01
User is offline View Users Profile Print this message


Nancy Coelho

Posts: 8
Joined: 13-Jun-2007

Hi I'm new to DOORS and I need to extend the popup menu for folders and projects in the explorer view. Can somebody give me idea how to do this? Right now if I right click on the project I see new,open ,cut ,copy copy URL, paste, pastespecial, delete, undelete, property, Check Integrity popup menus. I don't know if these are default menus or somebody extended the popup menu

I need to add more menus for this popup .Could somebody give me a sample how to do it? I'm new to DOORS and reading DOORS help. Same thiong for folders too.



thanks,
Nancy
Report this to a Moderator Report this to a Moderator
 30-Jul-2008 08:30
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

DXL files placed in the following directories are automatically run by DOORS to create menus. So, to create a new menu on the database explorer window, add a DXL file to the baseWindowMenuFiles directory.


doorshome /lib/dxl/config/baseWindowMenuFiles
doorshome /lib/dxl/config/descfiles
doorshome /lib/dxl/config/descPopupFiles
doorshome /lib/dxl/config/explorerListPopupFiles
doorshome /lib/dxl/config/explorerTreePopupFiles
doorshome /lib/dxl/config/formalFiles
doorshome /lib/dxl/config/formalPopupFiles
doorshome /lib/dxl/config/linkFiles
doorshome /lib/dxl/config/linkPopupFiles

From DOORS 8 you can also add scripts to the following to add menu options to the formal module column header popup menu.


doorshome /lib/dxl/config/formalheaderPopupFiles

The DXL file must contain valid menu-creation DXL, of which the following is an example:

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


Nancy Coelho

Posts: 8
Joined: 13-Jun-2007

Thank you so much for your help
i'm able to create menu DOORS explorer treeview and listview by placing the my *inc file in the following directories
doorshome /lib/dxl/config/explorerListPopupFiles
doorshome /lib/dxl/config/explorerTreePopupFiles

I have more questions and i hope you can help me these questions.

1.When user right clicks on a project or folder in explorer view i would like to know which item is clicked ( folder project or module ) and the name of the item that is clicked in listview or treeview. How do i get the name and type of the item that is clicked by the user. If it is a project or folder i would like to get the list of formal modules in that project or folder and iterate through them and create some configuration for each module.
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.