|
Re: RCP Integration with Java Classes [message #513277 is a reply to message #512741] |
Tue, 09 February 2010 15:56 |
|
Torge,
BIRT can be used for this.
I just did a webinar showing RCP integration:
http://www.birt-exchange.org/devshare/deploying-birt-reports /1145-birt-2-5-integration-webinar/#description
Slides and example apps are available at the link above. In your case
you want use the Report Engine in the RCP app. Take a look at the
example and find this one:
org.eclipse.birt.examples.rcpengine
To push your objects into the report engine, add them to BIRT's app
context like:
task.getAppContext().put("myobject", myinstance);
Then within BIRT script you can call your objects like:
myobject.getMethod(); or
reportContext.getAppContext("myobject").myMethod();
Jason
Torge Kummerow wrote:
> Hello everyone,
>
> to be honest, I am a little bit confused and need a statement.
>
>
> My situation:
>
> I do import data from Excel sheets into a Java class hierarchy. No
> database. And I have a RCP GUI whose sole purpose is to display that
> data. There is where I taught BIRT Reports could come into play.
>
>
> So my question:
>
> Can I use BIRT to display the information encapsulated in my Java
> objects, without the need to install a Tomcat or a different Server?
>
>
> Hope someone can answer that,
> Torge Kummerow
|
|
|
Re: RCP Integration with Java Classes [message #513695 is a reply to message #513277] |
Wed, 10 February 2010 15:50 |
Torge Kummerow Messages: 26 Registered: July 2009 |
Junior Member |
|
|
Thanks a lot Jason,
this sounds exactly like what I was hoping for. I'll give it a try. I
was already starting to use on the fly generated CSV files to achieve my
goal.
Torge
Am 09.02.2010 16:56, schrieb Jason Weathersby:
> Torge,
>
> BIRT can be used for this.
> I just did a webinar showing RCP integration:
> http://www.birt-exchange.org/devshare/deploying-birt-reports /1145-birt-2-5-integration-webinar/#description
>
> Slides and example apps are available at the link above. In your case
> you want use the Report Engine in the RCP app. Take a look at the
> example and find this one:
> org.eclipse.birt.examples.rcpengine
>
> To push your objects into the report engine, add them to BIRT's app
> context like:
>
> task.getAppContext().put("myobject", myinstance);
>
> Then within BIRT script you can call your objects like:
>
> myobject.getMethod(); or
> reportContext.getAppContext("myobject").myMethod();
>
> Jason
>
> Torge Kummerow wrote:
>> Hello everyone,
>>
>> to be honest, I am a little bit confused and need a statement.
>>
>>
>> My situation:
>>
>> I do import data from Excel sheets into a Java class hierarchy. No
>> database. And I have a RCP GUI whose sole purpose is to display that
>> data. There is where I taught BIRT Reports could come into play.
>>
>>
>> So my question:
>>
>> Can I use BIRT to display the information encapsulated in my Java
>> objects, without the need to install a Tomcat or a different Server?
>>
>>
>> Hope someone can answer that,
>> Torge Kummerow
|
|
|
Powered by
FUDForum. Page generated in 0.02085 seconds