* Returned the shared document adapter for this element. If one does not exist
* yet, it will be created.
*/
private synchronized ISharedDocumentAdapter getSharedDocumentAdapter() {
if (sharedDocumentAdapter == null)
sharedDocumentAdapter = new EditableSharedDocumentAdapter(new EditableSharedDocumentAdapter.ISharedDocumentAdapterListener() {
public void handleDocumentConnected() {
if (sharedDocumentListener != null)
sharedDocumentListener.handleDocumentConnected();
}
public void handleDocumentFlushed() {