Before you can complete the steps in this example,
you must have a plug-in project that includes the
com.businessobjects.crystalreports.designer.sdk
library.
You can define the
editorOpened
extension point to catch when the editor is opened. You can perform
initialization tasks when the editor is opened, such as setting up listeners or
populating data sources.
In the
Project
Explorer, expand
META-INF.
Right-click
MANIFEST.MF, and click
Open With > Plug-in Manifest
Editor.
The Plug-in
Manifest Editor displays the plug-in project settings.
Click the
Extensions
tab.
In the "All
Extensions" area, click
Add.
The
"New
Extension" wizard is displayed.
Select
com.businessobjects.crystalreports.designer.sdk.editorOpened,
and click
Finish.
An
editorOpened
extension point is added to the project.
Connect the editorOpened extension
point to a class that implements the
IEditorOpenedListener
interface.