01: package org.netbeans.modules.reportgenerator.spi;
02:
03: import org.netbeans.modules.reportgenerator.api.*;
04: import org.openide.nodes.Node;
05:
06: /**
07: * ReportCookie is the SPI which a DataObject should
08: * implement and put it in its CookieSet.
09: *
10: * ReportCookie allows implementer to create and populate Report
11: * objects which are used in Report generation.
12: *
13: * @author radval
14: *
15: */
16: public interface ReportCookie extends Node.Cookie {
17:
18: /**
19: * Populate and return a Report
20: * @return
21: */
22: Report generateReport();
23: }
|