|
|
Re: PreferencePage via org.eclipse.ui.window.preferences: AssertionFailedException [message #490494 is a reply to message #490160] |
Thu, 08 October 2009 20:06 |
|
I believe this is solved:
http://groups.google.de/group/vogella/browse_thread/thread/1 060e6c98dd23eb9
Cheers, Lars
--
Dagmar Buggle wrote:
> Hi,
> I've got a problem with including standard eclipse preferenes pages into
> my RCP project. I did everything as described in the tutorial of Lars
> vogel: http://tinyurl.com/ye5tvma
>
> Trying to open the preference dialog from my application, I always get
> an error: .AssertionFailedException. Digging through the classes showed
> up that fieldEditorParent in mother class FieldEditorPreferencePage is
> ot properly initialized and getFieldEditorParent() returns null as can
> be seen in
>
> protected Composite getFieldEditorParent() {
> if (style == FLAT) {
> // Create a new parent for each field editor
> Composite parent = new Composite(fieldEditorParent, SWT.NULL);
> parent.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
> return parent;
> }
> // Just return the parent
> return fieldEditorParent;
> }
>
>
> I don't have any clue what is going wrong as I did copy the example from
> Lars' tutorial. I'm using 3.4. Anyone got a hint for me?
> greetings,
> Dagmar
|
|
|
Powered by
FUDForum. Page generated in 0.03741 seconds