[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [birt-dev] Java Event Handlers
|
Petter,
I brought this up to Wenfeng at the PMC today. After discussing the
alternatives, we decided that the recommended approach will be to use
the adapters. Apparently this is in keeping with Eclipse standard
practice. I will send an email to Janet in docs to change the BIRT
documentation. In addition, I will work with Jason Weathersby to make
sure that the web site highlights this method.
If anyone has any additional thoughts or comments on this, please let me
know.
Scott Rosenbaum
BIRT PMC
Petter Ivmark wrote:
By extending the adapters, we guarantee that if we change the
interfaces, the user's script code will still compile (although it might
not be executed). So I guess it's up to the user to decide if they
prefer compile errors or not if the interfaces are updated. This should
probably be documented somewhere.
/Petter
-----Original Message-----
From: birt-dev-bounces@xxxxxxxxxxx [mailto:birt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Scott Rosenbaum
Sent: Friday, February 03, 2006 3:41 PM
To: For developers on the BIRT project
Subject: [birt-dev] Java Event Handlers
This is probably for Petter,
I noticed in the documentation where they show Java event handlers, they
demonstrate creating handler classes by implementing items from the
org.eclipse.birt.report.engine.api.script.eventhandler package. I see
that for each of the interfaces, a default implementation has all ready
been created in org.eclipse.birt.report.engine.api.script.eventadapter.
Is it preferable to have people implement the interface or just have
them extend the eventadapter classes?
If extending eventadapter is preferable I will create a Bugzilla entry.
Scott Rosenbaum
BIRT PMC
_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-dev
_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-dev