Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Store Preferences within PostContextCreate
Store Preferences within PostContextCreate [message #1156913] Sat, 26 October 2013 18:53 Go to next message
Eclipse UserFriend
Hi all,
I've tried to use the @Preference injection in a startup class
(annotated with PostContextCreate). But the injected field is null. Is
it possible to access the Preference store while startup?

TIA,
Ralf.
Re: Store Preferences within PostContextCreate [message #1157801 is a reply to message #1156913] Sun, 27 October 2013 09:20 Go to previous message
Eclipse UserFriend
IIRC this is too early in the lifecycle for extendobjectsupplier to work
(which can and should be fixed by rearranging the bootstrap code in
E4Application!).

For now give @ProcessAdditions a try.

Tom

On 27.10.13 00:53, Ralf Heydenreich wrote:
> Hi all,
> I've tried to use the @Preference injection in a startup class
> (annotated with PostContextCreate). But the injected field is null. Is
> it possible to access the Preference store while startup?
>
> TIA,
> Ralf.
>
Previous Topic:Can anybody clarify how to use color themes in plug-in code?
Next Topic:Preferences from Database
Goto Forum:
  


Current Time: Sun Jul 06 13:37:29 EDT 2025

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

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

Back to the top