Skip to main content


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:[Preferences] FieldEditor.dispose() not called by FieldEditorPreferencePage
Next Topic:[Preferences] StringFieldEditor misses setter for widthInChars
Goto Forum:
  


Current Time: Thu Mar 28 20:45:06 GMT 2024

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

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

Back to the top