How to activate my custom presentation? [message #490184] |
Wed, 07 October 2009 13:39  |
Eclipse User |
|
|
|
Hi,
I created a custom presentation, that I want to use.
I could successfully do it via the deprecated api: IWorkbenchWindowConfigurer.setPresentationFactory()
However I could not do it via setting the org.eclipse.ui/presentationFactoryId.
This is what I did:
- created a file called preferences.ini in the plugin's root directory
- typed in the following: org.eclipse.ui/presentationFactoryId=my.presentation.factory
- modified the plugin.xml:
<property
name="preferenceCustomization"
value="preferences.ini">
</property>
The default presentation is loaded instead of mine.
Setup:
- My run configuration runs the product
- All required plugins are added to the run configuration
- Target Platform: subset of Ganymede (3.4)
Thanks for any help.
Regards,
Marton
|
|
|
|
|
Re: How to activate my custom presentation? [message #490731 is a reply to message #490184] |
Fri, 09 October 2009 17:21  |
Eclipse User |
|
|
|
I tried to set the property from the code as Christian suggested, but no luck.
Than I had to update the application and the product from SVN, and the problem has gone.
Since no one else touches the presentation, it is still mysterious what the problem was.
Thank you for your answers, I will post again, if the problem reappears.
Best regards,
Marton
|
|
|
Powered by
FUDForum. Page generated in 0.25654 seconds