logoTop pad
logoBottom
Home
History
Table of Contents
Prerequisites
Installation
Creating a new project
Creating a new MIDlet
Running/Debugging
Packaging for deployment
Advanced
Reference
FAQ
Troubleshooting
Support
For EclipseME developers
License


Eclipse Ready Logo
SourceForge.net Logo
spacer


Adding Javadoc or Source links to WTK libraries

Beginning with release 0.9.0 of EclipseME, you can add Javadoc or source links to libraries of a Wireless Toolkit (WTK). This allows you to do source-level debugging (assuming the WTK has been compiled with debug information) and to use Eclipse's context-sensitive API help features.

Attaching Source Or Javadoc to a WTK

In order to attach Javadoc to a WTK component, perform the following steps:

  1. Open the Device Management window by selecting Preferences from the Window menu, expanding the J2ME item in the left column, and click on the Device Management item.
  2. Choose the device that you want to add the source and/or Javadoc attachment to and select the Edit... button.
  3. Select the Javadoc or Source cell to go into edit mode.
  4. Press the cell editor button to launch the appropriate editor dialog.
    • For source attachments, use the provided source attachment dialog.
    • For Javadoc attachments, use the provided Javadoc attachment dialog.

Note that not all Wireless Toolkits are distributed with the classes in the JAR file compiled with debug information. Thus, even though you may have attached the source to the JAR file, you may still not be able to step into the WTK source.



Copyright © 2005, http://www.eclipseme.org. All rights reserved.