Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Riena » Riena & Formtoolkit
Riena & Formtoolkit [message #585248] Wed, 05 May 2010 07:04 Go to next message
Ngwa Ambe Elvis is currently offline Ngwa Ambe ElvisFriend
Messages: 25
Registered: July 2009
Junior Member

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
Re: Riena & Formtoolkit [message #585274 is a reply to message #585248] Wed, 05 May 2010 08:25 Go to previous message
Stefan Liebig is currently offline Stefan LiebigFriend
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
Previous Topic:How Can I Remove / Modify Riena Logo?
Next Topic:Riena on server-side with DI
Goto Forum:
  


Current Time: Thu Apr 25 12:47:27 GMT 2024

Powered by FUDForum. Page generated in 0.03175 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top