Visual Studio Menus and Toolbars

Rational® ClearCase® commands are included in the menus in Visual Studio.

The menus are context sensitive; 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 Rational 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 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.
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 Rational ClearCase windows and toolbars in Visual Studio.

ClearCase > Front Desk
Opens 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.
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 Rational ClearCase Front Desk with the Views page displayed.
Code management commands
These commands include:
  • Check Out
  • Check In
  • Undo Checkout
  • Hijack
  • Undo Hijack
  • Update
  • Reserve
  • Unreserve
  • Update
  • Refresh
  • History
  • Compare Previous Version
  • Version Tree
  • Properties of Version
  • Properties of Element

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

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

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 window, where you can set Rational ClearCase user options.
Related tasks
Displaying the ClearCase Toolbars