![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: How do I change edit mode in DXL? Topic Summary: Created On: 14-Jan-2005 14:21 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: You can go from Read-Only to Shared with the open "share" command. You can go from Read-Only to Exclusive with the open "edit" command. You can go from Shared to Read with the "downgrade(mod)" command. You can go from Shared to Exclusive with the combination "downgrade(mod)", then "edit". You can go from Exclusive to Read-Only with the "downgrade" command. You can go from Exclusive to Shared with the "downgradeShare" command. If currrently Shared or Exclusive, I'd check the "unsaved(mod)" command first, and issue an explicit "save(mod)" before the above (otherwise the user will get prompted to save in the middle of your script). - Louie | |
![]() |
|
Hi,
How do I change edit mode through DXL without closing and re-opening the module in the desired mode? The reason for asking is that I want to preserve any filters set by the user and then perform operations on the filtered objects. The filter is not saved to a view but it is set in the current view? Thus, closing and re-opening will not work because that will lose the filter. Is there a way to read out the filter (as is) and then re-apply when I've closed and opened the module again? |
|
![]() |
|
![]() |
|
Mikael,
If the module is already open in read-only then the standard edit() or share() functions will change it to exclusive or shareable edit mode. E.g. Module m = current string mName = fullName m edit(mName,true) Any filtering is not changed. To go in the other direction you need downgradeShare() to go from exclusive to shareable edit or downgrade() to go from either edit mode to read-only ------------------------- Jonathan Marshall EADS Astrium |
|
![]() |
|
![]() |
|
You can go from Read-Only to Shared with the open "share" command.
You can go from Read-Only to Exclusive with the open "edit" command. You can go from Shared to Read with the "downgrade(mod)" command. You can go from Shared to Exclusive with the combination "downgrade(mod)", then "edit". You can go from Exclusive to Read-Only with the "downgrade" command. You can go from Exclusive to Shared with the "downgradeShare" command. If currrently Shared or Exclusive, I'd check the "unsaved(mod)" command first, and issue an explicit "save(mod)" before the above (otherwise the user will get prompted to save in the middle of your script). - Louie |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
How do I change edit mode in DXL?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.