| PreferencePage via org.eclipse.ui.window.preferences: AssertionFailedException [message #490160] |
Wed, 07 October 2009 11:14  |
Dagmar Buggle Messages: 3 Registered: October 2009 |
Junior Member |
|
|
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.02856 seconds