Bug 219757

Summary: Allow to set programatically the font of TextMergeViewer subclasses
Product: [Eclipse Project] Platform Reporter: Teddy Walker <teddy.walker>
Component: CompareAssignee: Platform-Compare-Inbox <platform-compare-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Teddy Walker CLA 2008-02-21 05:36:52 EST
At moment, the symbolic font name is always set to the class name of the instance. This is very inflexible.

Proposal (easy and non-breaking), add a method:

protected String getSymbolicFontName() {
  getClass().getName();
}

and call it in the constructor instead of the fix initialisation.
So we can simply overwrite this method and use the font we want to use.
Comment 1 Eclipse Webmaster CLA 2019-09-06 15:37:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.