Project: Eclipse_Platform_UI
Bug 98522 [Undo] - API evolution: LinearUndoViolationUserApprover should work on views and editors
Reported: 2005-06-06 11:00:06 | Status: verified fixed

The current API for LinearUndoViolationUserApprover assumes that this approver is installed on an editor. (IEditorPart). Internally, this type is used mainly as an IWorkbenchPart, with the only editor-specific usage being to use the editor input name for the message dialog name. It is conceivable that clients would want to provide instead an IWorkbenchPart, since this could apply to views. The part title could be used instead.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/operations/LinearUndoViolationUserApprover.java