19.10.2015 Views

workbench-en.a4

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

MySQL Workb<strong>en</strong>ch Refer<strong>en</strong>ce<br />

From the keyboard, use the T key to activate this tool.<br />

For more information about creating and editing tables see Section 7.3, “The MySQL Table Editor”.<br />

6.5.1.8. The View Tool<br />

Use this tool to create a view on an EER Diagram canvas.<br />

Wh<strong>en</strong> this tool is activated, a schema drop-down box appears on the toolbar below the main m<strong>en</strong>u, allowing you to associate the<br />

new view with a specific schema. You can also select a color for the object by choosing from the color drop down list box to the<br />

right of the schema list box.<br />

After selecting this tool, clicking on the canvas creates a new view. To edit this view, right click it and choose EDIT VIEW or EDIT<br />

IN NEW WINDOW ... from the pop-up m<strong>en</strong>u.<br />

From the keyboard, use the V key to activate this tool.<br />

For more information about creating and editing views see Chapter 9, Creating Views.<br />

6.5.1.9. The Routine Group Tool<br />

Use this tool to create a routine group on the EER Diagram canvas.<br />

Wh<strong>en</strong> this tool is activated, a schema drop-down box appears on the toolbar below the main m<strong>en</strong>u, allowing you to associate the<br />

routine group with a specific schema. You can also select a color for the routine group by choosing from the color drop down list<br />

box to the right of the schema list box.<br />

After selecting this tool, clicking in the canvas creates a new group. To edit this view, right click it and choose EDIT ROUTINE<br />

GROUP or EDIT IN NEW WINDOW ... from the pop-up m<strong>en</strong>u.<br />

From the keyboard, use the G key to activate this tool.<br />

For more information about creating and editing routine groups see Section 10.2, “Routine Groups”.<br />

6.5.1.10. The Relationship Tools<br />

The five relationship tools are used to repres<strong>en</strong>t the following relationships:<br />

• One-to-many non-id<strong>en</strong>tifying relationships<br />

• One-to-one non-id<strong>en</strong>tifying relationships<br />

• One-to-many id<strong>en</strong>tifying relationships<br />

• One-to-one id<strong>en</strong>tifying relationships<br />

• Many-to-many id<strong>en</strong>tifying relationships<br />

These tools appear at the bottom of the vertical tool bar. Mouse over each tool to see a text hint that describes its function.<br />

For more information about relationships see Chapter 8, Creating Foreign Key Relationships.<br />

6.6. The Model Navigator Palette<br />

Docked at the top right of the application is the Model Navigator palette. This palette gives you an overview of the objects<br />

placed on an EER diagram canvas and for this reason it is most useful wh<strong>en</strong> an EER diagram is active. Any objects that you have<br />

placed on the canvas should be visible in the navigator.<br />

The Model Navigator palette shows the total area of an EER diagram. A black rectangular outline indicates the view port onto<br />

the visible area of the canvas. To change the view port of an EER diagram left click this black outline and drag it to the desired location.<br />

You can zoom in on selected areas of an EER diagram by using the slider tool at the bottom of this window. The dim<strong>en</strong>sions<br />

of the view port change as you zoom in and out. If the slider tool has the focus you can also zoom using the arrow keys.<br />

The default size of the Model Navigator is two pages. To change this use the MODEL, DIAGRAM SIZE m<strong>en</strong>u option.<br />

Figure 6.12. The Model Navigator palette<br />

33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!