Create Workbench Variables
Right-click on the required Class node in the Project Browser and select the Create Workbench Instance context menu option, or press [Ctrl]+[Shift]+[J]. The menu option is also available from within a Class diagram.
Naming the Workbench
When you elect to create an instance of a type Enterprise Architect prompts you with the Workbench dialog to name the variable. Each instance name must be unique for the workbench.
Choosing a Constructor
Having given the variable a name, you must now choose which constructor to use.
If you do not define a constructor, or define a single constructor taking no arguments, the default constructor or the defined constructor is automatically invoked.
Otherwise the following dialog displays. Select the constructor from the drop-down list and fill in any parameters required.