Class Property Sheet Preview Tab

The Preview tab allows you to preview the code that will be generated for the class.



Preview Tools

The following tools and shortcut keys are available on the Preview tab:

Tool

Description

Shortcut Key



Open Editor Contextual menu.

Shift + F11



Refresh.

F5



Show Generation Options - This dialog box allows you to change generation options and see the impact on the code. This feature is especially useful when you are working with Java. For other object languages, generation options do not influence the code.

ctrl + W



Select Generation Targets - displays the list of targets for the current object. If you add a generation target, the corresponding tab is added to the Preview tab. If you deselect a generation target, the corresponding tab disappears from the Preview tab.

This option is only available when at least one extended model definition flagged for generation is linked to the model, and when it contains Generated Files entries for the current object.

For more information on generation targets, see "Extended Model Definitions" in the Resource Files and the Public Metamodel chapter of the Customizing and Extending PowerDesigner manual.

ctrl + F6

Script Bookmarks

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

Shortcut

Description

ctrl + F2

Adds a new bookmark. A blue bookmark box is displayed. 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.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com