CPN Tools 4 Extensions: Part 4: Advanced Communication and Debugging

In this part we look at more advanced communication.  Previous parts assume little knowledge of the inner workings of CPN Tools, and allow you to make extensions almost as if you wrote regular Java programs.  Lying under all the abstractions is a very versatile communication protocol, which allows very elaborate extensions. This part gives an […]

Read More…

CPN Tools 4 Extensions: Part 3: Graphics and Callbacks

This part of the introduction to CPN Tools extensions is by far the more fun one.  It deals with graphics and callbacks.  It makes it possible to draw graphics directly in CPN Tools from an extension and to make hooks models can use to do that.  This in essence is a higher-level version of Mimic/CPN […]

Read More…

CPN Tools 4 Extensions: Part 2: Getting Started and Basic Abstractions

We have already covered the basics of extensions for CPN Tools 4 in Part 1. In this part we’ll go thru setting up for development. We’ll also cover some of the basic abstractions, including depending on other extensions, and adding options and instruments to the CPN Tools GUI. […]

Read More…

CPN Tools 4 Extensions: Part 1: Basics

By far, the biggest new feature in CPN Tools 4 is simulator extensions. Simulator extensions makes it possible to add functionality to CPN Tools written in Java. This feature describes the basics of simulator extensions: their architecture, the available communication patterns, and the Java interface for extensions. […]

Read More…

Advanced Visualization in CPN Tools 4

In this video, I go thru some of the new high-level visualization primitives available in CPN Tools 4. To create your own extension, simply implement the Extension interface (or inherit from the AbstractExtension class).  Pack your class file and everything you need to run in a jar-file and drop it in the plugins directory under […]

Read More…