// from super.createModel()
// get ModelProvideAdapter
IModelProvideAdapter modelProvideAdapter = (IModelProvideAdapter) ((INodeNotifier) getElement()).getAdapterFor(IModelProvideAdapter.class);
// notify adapter
if (modelProvideAdapter != null)
modelProvideAdapter.modelProvided(model);
// from createModel()
IStructuredDocument structuredDocument = null;
if (model != null)
structuredDocument = model.getStructuredDocument();