Crystal Reports for Eclipse Developer Guide

Extending drag-and-drop functionality

You can extend drag-and-drop functionality to add objects to a report. You can drop an object on to the report, create a set of Crystal Report objects that represent it, and add the Crystal Report objects to the report.
Extending drag-and-drop functionality involves the following steps:
  • Creating a plug-in project that includes the com.businessobjects.crystalreports.designer.sdk library as a dependency.
  • Adding the com.businessobjects.crystalreports.designer.sdk.drophandlers extension point to the plug-in project.
  • Implementing a class that extends the DropTargetAdapter class and implements the TransferDropTargetListener interface.
Classes used to extend drag and drop functionality
  • com.businessobjects.crystalreports.designer.sdk.util.DNDHelper
    Provides utility methods for dropping objects on to Crystal Reports editor pages.
Settings used to extend drag and drop functionality
  • com.businessobjects.crystalreports.designer.views
    Defines the Crystal Reports view category.
Extension points used to extend drag and drop functionality
  • com.businessobjects.crystalreports.designer.sdk.drophandlers



SAP BusinessObjects
http://www.sap.com/sapbusinessobjects/
Support services
http://service.sap.com/bosap-support/
Product Documentation on the Web
http://help.sap.com/