if (editorConnector == null)
return;
ITutorialDocument tutorialDocument = editorConnector
.getDocument(editor);
editorConnector.replaceSaveRoutine(editor, tutorialDocument);
DocumentManager.getInstance().addDocument(tutorialDocument,
editorConnector);
integrateArtefacts(tutorialDocument);
}