Rogue Wave JViews Diagrammer Sample: Loading Designer Projects
Description
This sample shows a few examples of diagrams created using Rogue Wave JViews Diagrammer.
How to Use the Sample
- Choose a diagram from the Choose a Diagram box.
- Use the toolbar on the left to zoom or pan the diagram.
- You can also display the tree view and the property sheet to inspect the data model of the diagram.
How to Run the Sample as an Application
This sample can also be run as an application. The installation directory contains an executable JAR file, diagrammer-gallery.jar
, that allows you to execute the sample with a double click from a file browser. Note that if you are using Internet Explorer, you can open the installation directory and execute the JAR file from the browser. This technique may not work in other Web browsers.
Alternatively, you can run the sample application from the command line. First check that the Ant utility is properly configured. If not, see the instructions on how to configure Ant for Rogue Wave JViews.
Then, go to the installation directory of the sample and type:
ant run
Topics Covered
- Load Rogue Wave JViews Diagrammer project files.
Detailed Description
This sample shows a few examples of diagrams created using Rogue Wave JViews Diagrammer.
The example diagrams are chosen to show typical applications of Rogue Wave JViews Diagrammer.
Installation Directory
The Loading Designer Projects sample is installed here.
Classes Involved
-
ilog.views.diagrammer.IlvDiagrammer
The main class of the diagram component.
-
ilog.views.diagrammer.application.IlvDiagrammerApplication
The predefined applet class for displaying diagrams.
-
ilog.views.diagrammer.project.IlvDiagrammerProject
The class that represents a diagram definition (data model and style sheet).
Source Files
-
DiagramGallery
The entry point of the sample.