Community
Participate
Working Groups
In e4, the EditorManager class was removed. The static method that we use, saveAll(), needs to be replaced/updated with code that will work with e4. If at all possible, this code should also work with Eclipse 3.7. Here are the errors from the build: Source File: org/eclipse/jst/j2ee/internal/plugin/CommonEditorUtility.java 1. ERROR: ImportNotFound The import org.eclipse.ui.internal.EditorManager cannot be resolved CommonEditorUtility.java : 28 : import org.eclipse.ui.internal.EditorManager; 2. ERROR: UndefinedName EditorManager cannot be resolved CommonEditorUtility.java : 102 : return EditorManager.saveAll(dirtyEditors, true, true,false, J2EEUIPlugin.getActiveWorkbenchWindow());
Currently, there are only two references in WTP to this class- J2EEArtifactExportWizard and J2EEArtifactImportWizard.
Created attachment 176431 [details] First attempt at a workaround for this issue.
Committed to HEAD for WTP 3.3 M1