Online Documentation for SQL Manager for DB2

Using Navigation bar and Toolbars


The Navigation bar and Toolbars provide quick access to tools implemented in Visual Database Designer.

 

VDBD - Using Navigation bar

 

 

The Navigation bar of Visual Database Designer allows you to:

 

Database group

iconDB select a database for building the diagram

 

File group

iconNew create a new diagram

iconLoadFromFile open an existing diagram

iconSaveToFile save the diagram

iconSaveToFileAs save the diagram with the objects XML files of the VDBD project

 

Navigator group

Tick use Diagram Navigator

 

General group

iconCompile compile the changes (if any)

iconVDBD_Undo undo last action

iconVDBD_Redo redo last action

iconRefresh refresh objects in the diagram

iconPrintSetup open the Print Setup dialog

iconPrint print the diagram

iconPreview preview the diagram

iconRestoreDefaultSize restore the default size and position of the window

iconOptions edit diagram options

 

Pages group

iconVDBD_NewPage add a new page

iconVDBD_DeletePage delete the current page

iconVDBD_DeleteAllPages delete all pages

 

Objects group

Here you can find objects (Tables, Views, Procedures, Functions) that were added to the diagram.

iconFindText search for objects in the diagram using the Objects panel

btnReverseEngineer perform Reverse Engineering

 

The Toolbars of Visual Database Designer provide quick access to most tools for working with diagrams.

To enable the toolbars, open the Environment Options dialog, proceed to the Windows section there and select RadioButton Toolbar (if you need the toolbars only) or RadioButton Both (if you need both the toolbars and the Navigation bar) in the Bar style for child forms group.

 

The main toolbar (by default, the toolbar is located at the top of the diagram area) contains a number of tools (including items of the Navigation bar, context menu, tools for printing diagram, etc.) allowing you to:

iconDB select the database for building the diagram;

iconVDBD_Undo undo last action

iconVDBD_Redo redo last action

iconCompile compile the changes (if any)

iconNew create a new diagram;

iconLoadFromFile open an existing diagram;

iconSaveToFile save the current diagram to a *.dbd file;

btnSaveAsPicture save the current diagram as an image;

btnVDBD_IncrementalSearch activate the Incremental search panel;

  • adjust diagram zoom for optimal representation: iconZoomIn zoom in, iconZoomOut zoom out, iconZoomFitModel fit model;

iconZoomSelectRectangleToFit switch cursor mode: select / select rectangle to fit;

iconPrintSetup open the Print Setup dialog;

iconPrint print the diagram;

iconPreview show Print Preview;

iconAlwaysOnTop arrange objects in the diagram;

btnExtractDB extract metadata of all objects in the diagram and load the script to SQL Script Editor;

btnReverseEngineer perform Reverse Engineering;

iconRefresh refresh objects in the diagram;

iconOptions view/edit diagram options;

  • specify a predefined zoom value;

 

 

The Pages toolbar (by default, the toolbar is located at the top of the diagram area) contains tools for working with diagram pages allowing you to:

iconVDBD_NewPage add a new page;

iconVDBD_DeletePage delete the current page;

iconVDBD_DeleteAllPages delete all pages.

 

VDBD - Toolbars - Pages

 

 

The Alignment Palette (by default, the toolbar is located on the left side of the diagram area) allows you to:

  • align left/right edges of selected objects;
  • align tops/bottoms of selected objects;
  • align horizontal/vertical centers of selected objects;
  • space selected objects equally horizontal/vertical.

 

VDBD - Toolbars - Alignment Palette

 

 

The New object toolbar (by default, the toolbar is located on the left side of the diagram area) allows you to:

  • set the cursor mode to Select;
  • create a new object (a table, a view, a procedure, a function, or a comment);
  • create a new relation (material or virtual).

 

VDBD - Toolbars - New object

 

 

The Object customization toolbar (by default, the toolbar is located at the top of the diagram area) allows you to:

 

VDBD - Toolbars - Object customization

 

  • specify a font to be applied to the text of the selected element;
  • specify font size for the text of the selected element;
  • toggle font attributes (bold, italic, underlined);
  • define the fill colors (font color, pen color, brush color).