Chapter 2 Getting Started with Business Process Modeling


Previewing the code of a BPM

You can preview the code of a model or package in order to see the generated code, by clicking the Preview tab in their respective property sheet. The displayed code changes according to the process language you have selected in your model.

For example, if you have selected a Service Orchestration family language, the Preview page displays the Schema file that corresponds to the XML file to be generated.

You can use the following tools and keyboard shortcuts from the Preview toolbar:

Tool Description Keyboard shortcut

Editor Menu. Shift + F11

Refresh. F5

Show Generation Options. Opens the Generation Options dialog box in which you can change generation options. ctrl + W

Select Generation Targets. Only available when a target extended model definition is attached to the model, this tool displays the list of target extended model definitions selected for generation. If you add a generation target, the corresponding tab is added to the Preview page. If you deselect a generation target, the corresponding tab disappears from the Preview page. For more information about the generation targets, see section Defining generation targets (XEM), in chapter Generating for a language. ctrl + F6

Script bookmarks

In the Preview page, you can add and remove bookmarks at specific points in the code and then navigate forwards or backwards from bookmark to bookmark:

Keyboard shortcut Description
ctrl + F2 Adds a new bookmark. A blue bookmark box appears. If you repeat this action from the same position, the bookmark is deleted and the blue marker disappears.
F2 Jumps to bookmark.
shift + F2 Jumps to previous bookmark.

Note that bookmarks are not printable and are lost if you use the Refresh, or Show Generation Options tools.

 


Copyright (C) 2008. Sybase Inc. All rights reserved.