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

Bug 344611

Summary: [Client]Compare editor: Make compare editor consumable .
Product: [ECD] Orion Reporter: libing wang <libingw>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: bokowski, susan
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description libing wang CLA 2011-05-03 13:15:14 EDT
Currently all the DIVs for compare editor are defined in the HTML , which makes it hard for others to use it as a component.There are several use cases to consume compare editor component.
1.In 3-way compare we may want two compare editor components in an html page.By doing this , we can make it clear that which part of comparing files are changed against the common ancestor.
2.An embedded compare editor where ever a parent div is defined ,  just like what we did for editorContainer.
3.Customizing the compare editor in a way that the user wants(e.g. different styling )
Comment 1 libing wang CLA 2011-05-24 16:29:05 EDT
I've made the editor as a widget like component . I've tested two compare editors .From the componentizing point of view I could render multiple compare editors inside the given parent divs(currently the divs have to be borderContainers) and all the editting and diff functions are working properly.