|
Re: Property and Preference Page [message #902812 is a reply to message #902746] |
Mon, 20 August 2012 10:56  |
Eclipse User |
|
|
|
On 20.08.2012 11:04, Michael Fuss wrote:
> Hello,
>
> 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
the ID).
> 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
> C:\eclipse\plugins\org.eclipse.jdt.ui_3.8.0.v20120524-1551.jar"
This is because you are using internal classes which are not API and not
designed to be used outside JDT UI.
Dani
> 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.04581 seconds