Visual Studio Menus and Toolbars

Rational ClearCase and Rational ClearQuest commands are included in the menus on the Visual Studio menubar.

The menus are context sensitive; that is, the commands displayed depend on the current view, the type of object that is currently selected, or its state. For example, if you right-click a ClearCase element that is checked out, its shortcut menu contains the Checkin command; if it is not checked out, the menu contains the Checkout command instead. The tables below list and describe the commands in each menu.

Note: For information about the native Visual Studio commands in the menus, see the Visual Studio Help.

The remainder of this topic summarizes the functionality available on these menus:

File menu

Add Solution to Rational ClearCase

Places a Visual Studio solution or project under ClearCase source control, if the project is stored in a view. If you attempt to add a project that is not in a view to source control, a Visual Studio error message informs you that the project must be in a view.

ClearCase
Which operations are available depends on the type and state of the ClearCase objects that you have selected. Available commands include:
  • Refresh
  • Compare Previous Version
  • Version Tree
  • History
  • Properties of Version
  • Properties of Element
  • Add Selected Project(s) to Rational ClearCase

    Adds individual Visual Studio projects to Rational ClearCase source control.

View menu

Use the commands in the View menu to open ClearCase windows and toolbars in Visual Studio.

ClearCase > Front Desk
Opens the Rational ClearCase Front Desk with the Views page displayed.
ClearCase > ClearCase Search
Opens the ClearCase Search window. Use this window to search for check outs, hijacked files, and view private files with criteria you specify.
ClearCase > Pending Solution Checkins
Opens the Pending Solution Checkins window. Use this window to display project items that need to be checked-in, including checked-out and view-private files.
ClearCase > Config Spec
Opens the Edit Config Spec window.
ClearQuest > Front Desk
Opens the ClearCase Front Desk with the Change Requests page displayed.
ClearQuest > Change Request Queries
Opens the Change Request Queries window. Use this window to run existing queries, create new queries or reports, and submit change requests.
Toolbars > ClearCase - Base
Displays or hides the base ClearCase toolbar in the Visual Studio window.
Toolbars > ClearCase - UCM
Displays or hides the UCM ClearCase toolbar in the Visual Studio window

ClearCase menu

The ClearCase menu contains the following commands:

Front Desk
Opens the Rational ClearCase Front Desk with the Views page displayed.
Code management commands
These commands include:
  • Check Out
  • Check In
  • Undo Checkout
  • Hijack
  • Undo Hijack
  • Reserve
  • Add Solution to Rational ClearCase

    Places a Visual Studio solution or project under ClearCase source control, if the project is stored in a view. If you attempt to add a project that is not in a view to source control, a Visual Studio error message informs you that the project must be in a view

  • Add Web Site to Rational ClearCase
  • Unreserve
  • Update View
  • Update
  • Refresh
  • History
  • Compare Previous Version
  • Version Tree
  • Properties of Version
  • Deliver from Stream
  • Rebase Stream
  • Make Baseline
  • Recommend Baseline

Which operations are available depends on the type and state of the ClearCase objects that you have selected.

These commands are also available on the pop-up menu when you right-click the appropriate ClearCase objects.

ClearQuest menu

The ClearQuest menu contains the following commands:

Front Desk
Opens the Rational ClearCase Front Desk with the Change Requests page displayed.
Submit: Default Change Request
Opens a window with the appropriate change request form. Fill out the form and click OK to submit.
Run Query
Opens the Change Request Queries window. Use this window to run existing queries, create new queries or reports, and submit change requests.

Tools menu

In addition to Visual Studio commands, the Tools menu contains commands that enable you to configure source control and GUI options for the Rational ClearCase integration.

Code management commands
These commands include:
  • Check Out
  • Check In
  • Undo Checkout
  • Reserve
  • Unreserve
Add to Source Control
Places a Visual Studio solution or project under Rational ClearCase source control, if the project is stored in a view.

If you attempt to add a project that is not in a view to source control, a Visual Studio error message informs you that the project must be in a view.

Customize
Configures the ClearCase - UCM and ClearCase - Base toolbars. Add and remove buttons and format each toolbar as described in Visual Studio Help.
Options
Opens the Options dialog box, where you can set ClearCase and ClearQuest user options.
Related tasks
Displaying the ClearCase Toolbars