Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Using the Workbench

Using the Object Workbench is straightforward. From your Class model, select the Classes to workbench and drag them individually on to the Workbench window. You might have to choose a constructor if more than one exists, then simply give the variable a name. The Object workbench prepares the required runtime, loads any required modules and instantiates the objects for you. Executing a method is a matter of selecting from a list. Parameters can be entered where required. Workbench objects themselves can be used as parameters either singly or as object arrays.

Access

Ribbon

Execute > Tools > Tester > Open Object Workbench

Analyzer Script Requirements

An Analyzer Script that has been configured for debugging is required. It should specify this information:

  • The debugger to match your project
  • For Microsoft .NET, the location of the assembly that will be hosted by the Object Workbench
  • For Java, the location of the JDK and additional class paths to use

Checklist

  • Select the intended Workbench Class and press F12; the source code should be displayed in a code editor
  • Press Shift+F12 to build the project; the output from the build should show successful compilation

Learn more