![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: inplace Editing Topic Summary: Created On: 19-Jun-2007 20:12 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Seeing that Goodman mentioned command inplaceEditOff in another thread, I did some investigating by looking in doors.exe and then tested the 5 commands I could find: inplaceEditOff, inplaceDisable, inplaceEnable, inplaceEditing, inplaceEnabled.
inplaceEditOff takes only a Module parameter, not an Object parameter. inplace Editing refers to double-clicking on a displayed column. Even when disabled you can still change obj-attr values with DXL and also via the Object properties. Even when disabled, you can still double click on a table cell and edit its text. The EditOff and Disable commands accept a bool 'save Changes' parameter indicating that, if editing is currently in progress, whether those changes should be saved. Both those functions returned a bool result, but in my testing they always returned true; I couldn't make them return false; using a null Module caused a DXL error. Enable and Disable say whether the user can inplace Edit at all for the current module, they have no effect on other open modules. EditOff stopped the current edit, if one is in progress. Editing and Enabled correctly displayed whether Editing is currently in progress, or whether inplace Editing is current Enabled. I see no command to start an inplace Edit, such as for Object Text. That doesn't seem too useful. I managed to trigger exception violations the first time I used this script on two different modules but I could reproduce that. - Louie |
|
![]() |
Telelogic DOORS
» General Discussion
»
inplace Editing
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.