subclassing ContentMergeViewer is unusable [message #255251] |
Thu, 24 June 2004 05:44 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03222 seconds