public void saveAllEditors() { String moduleName = getModuleName(); if (moduleName != null) { for (final ContainedEditorManager editor : editorPositionMap.keySet()) { // check to see if the module name is up to date if (editor.editorKind() == CALExpressionEditorManager.EDITOR_KIND) { CALExpressionEditorProperties exprProps = (CALExpressionEditorProperties) editor.getPropertiess(); if (!exprProps.getModuleName().equals(moduleName)) { // module name has changed, must re-serialize this expression editor. exprProps.setDirty(true); } } editor.doSave(); } } }