Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » [Preferences] Why does applyFont() FOR FieldEditor and FieldEditorPreferencePage?
[Preferences] Why does applyFont() FOR FieldEditor and FieldEditorPreferencePage? [message #650951] Thu, 27 January 2011 09:01
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
Hi,

I wonder why the above mentioned applyFont() method has been added to
the FieldEditor and FieldEditorPreferencePage API? The only reason for
its existence in FieldEditor seems to be, because
FieldEditorPreferencePage.applyFont() does invoke this function for all
field editors. The actual problem is:

FieldEditorPreferencePage.applyFont() itself is never called nor does
any other class of the preferences sub-library invoke
FieldEditor.applyFont() - neither FieldEditorPreferencePage itself nor
any other class!

This looks like a defect to me. Either
FieldEditorPreferencePage.applyFont() should be called as part of the
FieldEditorPreferencePage implementation or the applyFont() should be
marked as deprecated.

Thanks and Greetings from Bremen,

Daniel Krügler
Previous Topic:[Drag and Drop] DnD within same TreeViewer
Next Topic:[Preferences] StringFieldEditor misses setter for widthInChars
Goto Forum:
  


Current Time: Tue Nov 25 02:11:04 GMT 2014

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

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