Summary: | Compare UI API issues | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Michael Valenta <Michael.Valenta> |
Component: | Compare | Assignee: | Platform-Compare-Inbox <platform-compare-inbox> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.0 | ||
Target Milestone: | 2.1 M5 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Michael Valenta
2002-10-09 16:30:48 EDT
As an aside, I noticed that the AddFromHistoryDialog makes the top two CompareViewerPanes children of a composite instead of the direct children of the Splitter which disables the double-click maximize behavior. This may have been intended but I thought I would mention it. Also, CompareUIPlugin#findContentViewer seems to provide a generally useful mechanism for viewing the contents of a file with syntax highlighting. This method is internal to Compare and I could not find means to do this that was API. Perhaps this should be made part of the compare or platform UI API. Duplicated internal class Splitter as public API to org.eclipse.compare (and deprecated internal Splitter). Please adapt your code. Method CompareUIPlugin#findContentViewer is already available as CompareUI #findContentViewer. I have changed my code to use the new Splitter class but I can't use the CompareUI#findContentViewer because it needs an ICompareInput and I have an IStreamContentAccessor. Could you add an additional method to CompareUI? for I20030128: Removed deprecated internal class Splitter. Added new method CompareUI#findContentViewer(..., Object input, ...) Please note, that the input must implement both interfaces IStreamContentAccessor and ITypedElement, because the IStreamContentAccessor doesn't provide a type (I've updated the comment). I've ipdated the CVS code to use the new API |