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 #606438] 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.
Re: font preference [message #606455 is a reply to message #606438] 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:font preference
Next Topic:How Eclipse's official packages are built and my packaging problem
Goto Forum:
  


Current Time: Fri Apr 26 04:50:40 GMT 2024

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

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

Back to the top