Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » font preference
font preference [message #551098] Thu, 05 August 2010 08:38 Go to next message
Hades is currently offline HadesFriend
Messages: 15
Registered: July 2010
Junior Member
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.

[Updated on: Mon, 09 August 2010 06:18]

Report message to a moderator

Re: font preference [message #552185 is a reply to message #551098] Wed, 11 August 2010 08:01 Go to previous message
Hades is currently offline HadesFriend
Messages: 15
Registered: July 2010
Junior Member
Is there nobody, who has a clue?
Previous Topic:error problems
Next Topic:font preference
Goto Forum:
  


Current Time: Thu Apr 18 14:17:11 GMT 2024

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

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

Back to the top