Wait for buffer reload
Submitted by Friday, 17 October, 2008 - 11:06
on
When i run:
I get: I/O Error
Each buffer can execute only one I/O operation at one time.
How to wait until buffer reloads?
I can't modify textArea until it completes to reload.
I suppose I have to use BufferAdapter and bufferLoaded method. But how to do it?
--
regards,
takeshin
buffer.reload(view);
buffer.save(view, null); // or other I/O
I get: I/O Error
Each buffer can execute only one I/O operation at one time.
How to wait until buffer reloads?
I can't modify textArea until it completes to reload.
I suppose I have to use BufferAdapter and bufferLoaded method. But how to do it?
--
regards,
takeshin