|Re: Property and Preference Page [message #902812 is a reply to message #902746]
||Mon, 20 August 2012 10:56
| Dani Megert
Registered: July 2009
On 20.08.2012 11:04, Michael Fuss wrote:|
> I want to create a Preference and Property Page for my Plugin. For
> both pages I wanted the same structure, so I used "extends
> PropertyAndPreferencePage". For this, I use the Code of the
> "ProblemSeveritiesPreferencePage" and the
> "ProblemSeveritiesConfigurationBlock" (Compiler Errors/Warnings) as
> example. I adapted the code for my plugin. And for the Preference Page
> it works. But if I switch to the Property Page, it doesn´t work. I
> don´t see a page. there is nothing. If you want, I can post the code.
Maybe you did not correctly register it in the plugin.xml (e.g. typo in
> Btw I get a warning in the code, called:
> "Discouraged access: The method settingsUpdated() from the type
> OptionsConfigurationBlock is not accessible due to restriction on
> required library
This is because you are using internal classes which are not API and not
designed to be used outside JDT UI.
> I use Eclipse 4.2. I don´t know what to do and i hope you can help me.
> P:S: Sorry for my bad english :)
Powered by FUDForum
. Page generated in 0.01703 seconds