This example assumes that you have created a
plug-in project that defines the
com.businessobjects.crystalreports.designer.sdk.drophandlers
extension point and implements drag-and-drop functionality that adds custom
text objects to a report. It also assumes that you have created a view named
My Custom
View in the
Crystal
Reports view category that contains a list of string objects to
drag onto a report.
In the
Project
Explorer, expand
META-INF.
Right-click
MANIFEST.MF, and point to
Open With > Plug-in Manifest
Editor.
The Plug-in
Manifest Editor displays the plug-in project settings.
In the
"Testing" area, click
Launch an Eclipse
application.
Eclipse launches
another Eclipse application that uses your wizard plug-in.
In the launched version of Eclipse,
click
Window > Show View > Other.
The
"Show View"
dialog box appears.
Click
Crystal Reports
> My Custom
ViewThe custom view
appears and displays a list of text objects.
Click
File > New > OtherThe
"New"
wizard appears.
Click
Crystal Reports > Blank Report, and
click
Next.
Select a folder, and click
Finish.A new report is
displayed in the editor.
Drag a text object from the custom
view onto the report.
A text object is added to the report.