|Re: graphiti property view during refresh,want to write model by emf recording commad [message #1219850 is a reply to message #1219738]
||Fri, 06 December 2013 09:26
| xiao yu zhou
Registered: August 2013
Michael Wenz wrote on Thu, 05 December 2013 10:30|
not sure why there are 2 threads involved here, Graphiti itselft should not
open them. How do you trigger the property view update?
Have you seen the section "How do i build an editable property sheet? " at
I want to edit the model data(Emf model) in property method refresh. However, when i dragged a pe element in the diagram, then i got an error warning showing me that i edit model without a transaction editing domain. Then i debugged in,i found the toplevelcommand variable in Gfcommandstackimpl class was false. I know that whole create pe method contained in a command. If there is only one thread running there the variable can not be false. Besides i found after pe created, refresh behavior would be invoked and the refresh behavior opened a refresh job and the code in the job invoked the Tabpropertysheet's refresh method.
now i move the editing code from refresh method to creatfeature. now the warning gone.
[Updated on: Tue, 10 December 2013 01:12]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02115 seconds