Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344611 - [Client]Compare editor: Make compare editor consumable .
Summary: [Client]Compare editor: Make compare editor consumable .
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: 0.2   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 13:15 EDT by libing wang CLA
Modified: 2011-09-01 11:41 EDT (History)
2 users (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-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.