Installing and using Eclipse samples
Rogue Wave®
JViews Diagrammer provides a number of Eclipse™ samples built for
Eclipse 3.7 or newer. The Eclipse samples are distributed as Eclipse
features and
plug-ins.
Eclipse plug-ins provided
Dashboard Eclipse Example: The dashboard plug-in is a very basic sample which shows how to integrate a dashboard in Eclipse by using the Rogue Wave AWT SWT bridge.
Designer Eclipse Example: this plug-in shows how to load an IDPR project file and manage the different views and toolbars in the resulting diagram. This example illustrates how to use palettes, property editors, interactive editing and pop-up menus. It is based on the Rogue Wave AWT-SWT bridge technology.
Installation of a new local site
In order to install the Rogue Wave JViews Eclipse plug-ins, you need to install from the local site as shown below.
For Eclipse 3.7 and later:
1. Launch your Eclipse installation.
2. Go to Help/Install New Software.
3. Add a new local site: Click Add, then Local, and then specify the directory <installdir>/jviews-framework/tools/ilog.views.eclipse.update.site
4. Select the features you want to install, and then click Next.
The Rogue Wave JViews local site is automatically created during the installation of your product. If you need to update the local site installation for any reason there is a batch file that will build the Eclipse update site and patch your Rogue Wave JViews license key into the appropriate plug-in.
In order to rebuild the Rogue Wave JViews local site, you should run the following file:
Windows®:
<installdir>/jviews-framework/tools/build_eclipse.bat.
UNIX®:
<installdir>/jviews-framework/tools/build_eclipse.sh.
Plug-in descriptions
ilog.views.eclipse.ui
Defines an extension point to add new actions to the new action drop-down in the toolbar
Defines an extension point to add filters to the Open Dialog box
Adds an Open menu item in the File menu of the workbench window
Adds an Open button in the workbench toolbar
Adds a New button in the workbench toolbar
ilog.views.eclipse.diagrammer.runtime
The runtime plug-in wraps the appropriate Rogue Wave JViews JAR files for the Diagrammer product as an Eclipse plug-in.
ilog.views.diagrammer.ui
Editor for a Diagrammer project
Integrates with the standard Eclipse Outline and Property views
Provides an extension point for contributing palettes to the workbench window
Roughly equivalent to
IlvDiagrammerApplicationilog.views.diagrammer.examples.application
Examples of a Diagrammer Application
Setting up a workspace for browsing source files
You can set up a workspace with binary projects for all the Rogue Wave JViews plug-ins that you have installed:
1. Switch to the Java™ perspective by selecting Window>Open Perspective>Java.
2. Choose File>Import>Plug-ins and Fragments.
3. Click Projects with source folders.
4. Click Finish.
How to use the sample
1. Click File>Open.
The Open File dialog box opens.
2. Select a Diagrammer Project file in jviews-diagrammer/bin/designer/data.
You can create a new diagrammer by opening the drop-down icon
and clicking
Diagrammer. A Diagrammer Editor opens with a toolbar that allows you to create BPMN objects.
The Diagrammer Editor integrates with the standard Eclipse Property and Outline views.
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.