Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343036 - [Client]Compare editor : input manager should optionally provide a call back after save command is executed
Summary: [Client]Compare editor : input manager should optionally provide a call back ...
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-16 09:55 EDT by libing wang CLA
Modified: 2011-09-01 11:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.