ShowTable of Contents
XPages2Eclipse control in DDE
After you have successfully installed the XPages2Eclipse product in your Lotus Notes/Domino environment, a new control shows up in the control palette of the XPages editor in Domino Designer (DDE):
To use XPages2Eclipse functionality in an XPages of your application, simply drag this control to the XPage. The first time you do this, you will see this prompt that you need to confirm:
createConnection creates a new API connection that is only valid for the current XPages page request. The connection is automatically disposed and it is the entry point for any API method calls.
Line 2 of our snippet accesses the first API that we will get to know: PlatformUI. This API corresponds to the Eclipse API class with the same name, with some functionality modified, added and removed to make it compatible with usable from an XPages application.
logToStatusBar is not actually part of the Eclipse version of PlatformUI, but was added to quickly write some status and debug information to the Notes Client status bar (which would be much more difficult when using Eclipse API directly).