Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343036

Summary: [Client]Compare editor : input manager should optionally provide a call back after save command is executed
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: susan
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2011-04-16 09:55:59 EDT
Currently the input manager from compare-container is very simple : just provide the file content for save command.
When editorCommandFactory execute the save command , we also need the inout manager compare editor to provide afterSaveCallBack function so that the generateEditorCommands knows that if this function from the input manager is there then it should be called.
Comment 1 libing wang CLA 2011-04-16 11:38:15 EDT
fixed with 769ea8ed1d9dc6146b24ab64ab77fe857493fdff.
In editorCommandFactory , I am checking below
if(this.inputManager.afterSave){
    this.inputManager.afterSave();
}
Comment 2 libing wang CLA 2011-04-16 11:39:31 EDT
The afterSave function is currently provided only by the input manager from compare editor.