Skip to main content



      Home
Home » Archived » BIRT » Aceesing own Java logic
Aceesing own Java logic [message #42453] Fri, 03 June 2005 02:57 Go to next message
Eclipse UserFriend
I have just tried to create POJO objects with BIRT Release 1.0. I can
create a java.lang.String("") object but wasn't able to create for example
a Rectangle (just for testing) of SWT, with the followng code:
obj = new org.eclipse.swt.graphics.Rectangle(-1,-1,-1,-1);
The shown error message in the preview said: org is not definied. The same
error occured with com.myCompany.myApplication. So from this the general
question arises how is it possible to access own plugin data from BIRT? I
have already tried the scripting hint in the faq.
So can anyone help me out of this? Thanks for your help.
Johannes
Re: Aceesing own Java logic [message #44831 is a reply to message #42453] Fri, 10 June 2005 02:41 Go to previous messageGo to next message
Eclipse UserFriend
try

obj = new Packages.org.eclipse.swt.graphics.Rectangle(-1,-1,-1,-1);

Johannes Matheis wrote:
> I have just tried to create POJO objects with BIRT Release 1.0. I can
> create a java.lang.String("") object but wasn't able to create for
> example a Rectangle (just for testing) of SWT, with the followng code:
> obj = new org.eclipse.swt.graphics.Rectangle(-1,-1,-1,-1); The shown
> error message in the preview said: org is not definied. The same error
> occured with com.myCompany.myApplication. So from this the general
> question arises how is it possible to access own plugin data from BIRT?
> I have already tried the scripting hint in the faq.
> So can anyone help me out of this? Thanks for your help. Johannes
>
Re: Aceesing own Java logic [message #44860 is a reply to message #44831] Fri, 10 June 2005 04:48 Go to previous message
Eclipse UserFriend
Hi Jochen,

thanks for your help now the import is working.

Johannes
Previous Topic:Saving Report Using Birt Viewer
Next Topic:birt for eclipse 3.1 ?
Goto Forum:
  


Current Time: Tue Jul 22 12:58:05 EDT 2025

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

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

Back to the top