[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[birt-dev] Scripted Data Source (Java Object as Event Handler) How-to
|
- From: Johnnie <jferreira@xxxxxxxxxxxx>
- Date: Mon, 19 May 2008 03:37:44 -0700 (PDT)
- Delivered-to: birt-dev@eclipse.org
Hi,
I have the following event handler:
...
public class ScriptedDataSetEventHandler extends ScriptedDataSetEventAdapter
{
...
private int currentCount;
@Override
public boolean fetch(IDataSetInstance dataSet, IUpdatableDataSetRow row)
{
if (currentCount++ < 11) {
try {
row.setColumnValue("cnt", currentCount);
} catch (ScriptException e) {
}
return true;
}
return false;
}
public void open(IDataSetInstance dataSet) {
super.open(dataSet);
}
and my question is: where must I put this class so that BIRT can see it -
both at development and deployment time?
Thank you for your attention,
Johnny
--
View this message in context: http://www.nabble.com/Scripted-Data-Source-%28Java-Object-as-Event-Handler%29-How-to-tp17189808p17189808.html
Sent from the Eclipse BIRT - Dev mailing list archive at Nabble.com.