The following applies if you are using a version of the software before Update 60. For the latest information, see Configure methods.
When you double-click an object in the Desktop Client, the default double-click action for that object occurs if a default method is defined for the class definition. For example, if the default method for a PIDRevision object is GenDetail, the software displays the Details dialog box for a P&ID instrument when you double-click it in the Desktop Client. The default double-click action only works for users who have access to the default method.
To configure double-click for a class definition using a default method,
-
Class definitions must realize at least one interface.
-
Interfaces must have methods associated with them.
-
Methods must have the appropriate user role associated with them.
This procedure requires a drag-and-drop operation between list view windows in the Desktop Client. Edit your user preferences (File > Change User Preferences > Windows) to enable multiple, floating windows.
-
In the Desktop Client, click Find > Schema > Class Definition to search for the class definition you want to modify.
-
Right-click the class definition, and select Show Realized Interface Definitions from the shortcut menu.
-
Right-click the realized interface definition, and select Show Methods from the shortcut menu.
-
Select the method that you want to be the default method, and drag the method onto the class definition to create the default method relationship.
-
Click OK in the New Relationship dialog box to create the relationship.
-
Find an object of the class that you modified.
-
Double-click the object, and verify that the dialog box for the default method appears.