![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Definition of user defined popups for formal modules Topic Summary: Created On: 6-Apr-2006 14:45 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello, ------------------------- Greetings,<BR>Oliver<BR><BR><BR>Oliver Roepke<BR>Axis Engineering AG, Munich |
|
![]() |
|
![]() |
|
Create a dxl in the folder doorshome\lib\dxl\config\formalPopupFiles.
That dxl defines the menu structure to add to the default DOORS popup. NOTE: ANY file in that folder is treated as a dxl and will be executed. If you keep backup files in the same folder as the dxl, those backup files will also be used to create a popup menu. Here is an example ------------------------- Cliff Bly Edited: 6-Apr-2006 at 15:31 by cliff Bly |
|
![]() |
|
![]() |
|
Hi Cliff,
many tnx for your answer. I'll try your solution on Monday. Best regards, Oliver ------------------------- Greetings,<BR>Oliver<BR><BR><BR>Oliver Roepke<BR>Axis Engineering AG, Munich |
|
![]() |
|
![]() |
|
Hi Cliff,
tnx again for your answer. Now I implemented my own popup menu. That's great! But I have one problem regarding the callback function: int mappingFunction() { return (!isRead( current Module )) ? menuAvailable_ : menuUnavailable_ } An Dxl error will be thrown saying that the return value is not defined: -R-E- DXL: </standard/column/AttributeGenericDialog.inc:1790> incorrect return statement ------------------------- Greetings,<BR>Oliver<BR><BR><BR>Oliver Roepke<BR>Axis Engineering AG, Munich |
|
![]() |
|
![]() |
|
If you put your mapping function in doorshome$\lib\dxl\config\baseWindowCallbackFiles, then yes I have had troubles with the function.
At this time, if I need a special mapping function, I declare that function in the dxl that needs it. or I just put the createMenu / createItem into a conditional statement and then use the alwaysOn function. The second way is the method used in the code provided earlier. ------------------------- Cliff Bly |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.