First, record all the line numbers of every element in your report
final TreeSet lineNos = new TreeSet();
for (DesignElement de : rpd.getAllElements())
lineNos.add(rpd.getLineNo(de));
Then you add a progress monitor to your task in the usual way, and at the start of each query you get the line number of the element being processed.
No comments:
Post a Comment