Eclipse Plugin
Description
This plugin adds JDemo support to the IBM Eclipse IDE. It is similar to the JUnit plugin
and makes writing and running demos much easier.
News
February 27th, 2008: New Version 1.6.0 released 
- Includes the new JDemo 1.6.0 (requires JDK 1.6.0 or greater!)
- Launching JDemo on a project no longer collects demos from referenced libraries or projects
- Minor improvements
September 15th, 2007:
- Contains new JDemo 1.5.0 release
- Compatible to Eclipse 3.3 or greater (tested with 3.3 and 3.4M1)
- Updated wizard icons to Eclipse 3.2 (or greater) look and feel
- Shortcut Alt-Shift-X D launches JDemo on the current selection (use Alt-Shift-D D for debug mode)
- requires JDK 1.5 or greater
Screenshots
Wizards for JDemo: |
The Demo Runner started from within Eclipse: |
(click on image to enlarge)
|
(click on image to enlarge)
|
License
Requirements
Eclipse 3.3 or greater (tested with 3.3 and 3.4M5) running on JRE 1.6 or greater
Download
The project is hosted on SourceForge at http://sourceforge.net/projects/jdemo/.
Version 1.6.0 (February 27th, 2008):
jdemo_eclipse_1.6.0.zip 767KB
Installation
- Unzip the downloaded file to the eclipse installation folder.
Support
For any kind of support please visit the SourceForge site for this project at
http://sourceforge.net/projects/jdemo/.
Usage
The plugin offers various extensions for JDemo support:
Wizards:
- Menu New > Other > Java > JDemo > DemoCase
Creates a new demo case. You can specify one of the default superclasses (DemoCase, SwingDemoCase, AwtDemoCase...).
- Menu New > Other > Java > JDemo > DemoSuite
Creates a new demo suite.
- Menu New > Other > Java > JDemo > DemoPackage
Creates a new demo package.
Launching:
There is a launch type for running demos:
- Run > Run as JDemo Demonstration
- Debug > Debug as JDemo Demonstration
You can select a DemoCase, a DemoSuite or even a source folder containing DemoCases. The demos
are being collected and shown in the Demo Runner.
Selecting the context menu item Show source code in the Demo Runner will cause Eclipse to open
the selected demo and show its source code.
Others:
- Context menu item: Recreate Demo Suite... for Demo Suites in the Package Explorer.
Updates the selected demo suite to the DemoCase implementations in the same folder.
- Menu Navigate > Go To > Referring Demos... shows a list of all demos for the selected type or method.
(This action must be enabled in Window -> Customize Perspective... )
|