Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » subclassing ContentMergeViewer is unusable
subclassing ContentMergeViewer is unusable [message #255251] Thu, 24 June 2004 05:44
Eclipse UserFriend
Hi,

we want to provide a content merge viewer, which (like the text merge
viewer) has a special control between the left and right content.

However, sublcassing ContentMergeViewer, in
org.eclipse.compare.contentmergeviewer, (like the TextMergeViewer does) has
no use, since some important methods (like createCenter) have package
scope.

The comments in the class state however that the class is suitable for
subclassing:

* Clients may wish to use the standard concrete subclass <code>
TextMergeViewer</code>,
* or define their own subclass.

The 2 options we are now left with are:
- defining our subclass in the org.eclipse.compare.contentmergeviewer
namespace
- copying the code

Both options are ugly. Is there any chance the access modifiers of this
class can be changed to protected?

M. Veurman
Previous Topic:Content assist functionality
Next Topic:Popup Dialog Boxes
Goto Forum:
  


Current Time: Fri May 09 12:57:48 EDT 2025

Powered by FUDForum. Page generated in 0.03222 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top