|
| Re: Riena & Formtoolkit [message #585274 is a reply to message #585248] |
Wed, 05 May 2010 04:25  |
Stefan Liebig Messages: 124 Registered: July 2009 |
Senior Member |
|
|
I assume that you are using Riena 1.2?
I think the problem is that the TitleRegion does not have the expected
constructor, which has two parameters which are the parent and the
style. It only has a constructor with the parent.
Please use our latest version. This should have fixed this issue.
Tschüß,
Stefan
On 05.05.2010 09:04, Ngwa Ambe Elvis wrote:
> In trying to use formtoolkit in my moduleviews in get into following
> problematik.
>
> protected void basicCreatePartControl(Composite parent) {
> toolkit = new FormToolkit(parent.getDisplay());
> toolkit.adapt(parent);
> form = toolkit.createForm(parent);
> }
>
>
> I get following errors
>
> org.eclipse.riena.ui.swt.lnf.LnFUpdater Cannot create an instance of
> "org.eclipse.ui.internal.forms.widgets.TitleRegion"
> org.eclipse.riena.core.util.ReflectionFailure: Error creating instance
> for org.eclipse.ui.internal.forms.widgets.TitleRegion with parameters
> [FormHeading {}, 570425344]!
> at
> org.eclipse.riena.core.util.ReflectionUtils.newInstance(Refl ectionUtils.java:147)
>
>
>
> Any help is welcomed. Thanks in advance
|
|
|
Powered by
FUDForum. Page generated in 0.01953 seconds