Share via


How to: Customize "Quadrant" for a Model

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

This is the second of two tasks that use Microsoft code name “Quadrant” with the SetupApplication model. For an overview of this tutorial, see Using Quadrant with the SetupApplication Model.

In this task, you explore customizations to “Quadrant”. The examples focus on the SetupApplication model. For more information about how to create this model and load it into the database, see Creating and Using the SetupApplication Model. These customizations can result in increased efficiency in working with models in “Quadrant”.

To set a default view for a "Quadrant" workpad

  1. On the Start menu, click All Programs, Microsoft SQL Server Modeling CTP, and open Quadrant.

  2. If there are workpads open, go to the File menu, and then click Close All Workpads.

  3. On the File menu, select New, and then click Session.

  4. In the New Database Session dialog, specify the database server that has the SetupApplicationDB database.

  5. In the Database list, select SetupApplicationDB.

  6. Click Create to create a new session.

  7. In the SetupApplicationDB Explorer, expand the Database folder.

  8. Expand the SetupApplication model.

  9. Drag the Products extent to the “Quadrant” workspace. Note that the default workpad is the table view.

  10. On the top-right corner of the Products workpad title bar, click the drop-down arrow, and then select Tree. Note that the view of the data changes to a tree.

  11. On the Workpad menu, click Set As Default View.

  12. Close the Products workpad.

  13. In the SetupApplicationDB Explorer, again drag the Products extent to the “Quadrant” workspace.

  14. Note that the default view for the Products view is now the tree view.

  15. Drag any other extent onto the workspace and verify that the default for other extents is still the table view.

To set the default zoom level in "Quadrant"

  1. Drag several extents onto the blank workspace. Spread them out so that they cannot all be viewed at the current zoom level.

  2. Double-click a blank area of the Microsoft code name “Quadrant” workspace. Note that the workspace zooms out to show all workpads.

  3. Double-click another area of the workspace. Note that the workspace zooms back to the area that was double-clicked.

  4. While zoomed-in, change the zoom level by pressing CTRL key and moving the mouse wheel.

    Tip

    The zoom level can also be controlled by click Zoom on the View menu.

  5. On the View menu, select Set Preferred Zoom, and then click Current.

  6. Double-click a blank area of the workspace to zoom out again.

  7. Double-click a different blank area of the workspace to zoom back in. Note that it now zooms to your preferred zoom setting.

See Also

Concepts

SQL Server Modeling CTP and Model-Driven Applications

Other Resources

Getting Started with the SQL Server Modeling CTP (SetupApplication Tutorial)