font preference [message #606438] |
Thu, 05 August 2010 04:38  |
Eclipse User |
|
|
|
Hi there,
I actually have to create an editor plug-in. It is necessary, to integrate a preference to select the font of the editor. The preference page is implemented and the listener operates fine.
But what do I have to code in the editor.
The constructor of the editor:
public VierGLEditor()
{
super();
colorManager = new ColorManager();
setSourceViewerConfiguration(new VierGLConfiguration(colorManager));
setDocumentProvider(new VierGLDocumentProvider());
setPreferenceStore(Activator.getDefault().getPreferenceStore ());
}
I tried to make a new instance of the class FontPropertyChangeListener which is located in the class AbstractTextEditor but it doesn't work.
|
|
|
|
Powered by
FUDForum. Page generated in 0.15504 seconds