GMF save interrupts write to model [message #1020349] |
Sun, 17 March 2013 21:01  |
Eclipse User |
|
|
|
Hi
I am currently using a new thread to create multiple elements on the editor for a single drag and drop from the palette. But the problem is that if the user clicks save before all the elements have been created then the write operation is incomplete and the model is saved in incomplete state. Is there any way I can identify that the write operation is still in progress and delay the save operation till the end of write operation.
Two possible solutions in my mind are eithr I would want to use the progress monitor to indicate write operation progress or disable the save button unless the write is still happening. But could not achieve much. Any suggestions would be of great help
|
|
|
|
Powered by
FUDForum. Page generated in 0.04034 seconds