Rational Developer for System z, Version 7.6

Pasting objects

This topic describes how to paste objects within a message file (also called a message definition file).

You can paste objects that you have previously copied within the same message file, such as a message for a local element object, or types for a complex type object.

You can only copy and paste an object within the same message definition. You cannot copy an object and paste it into another message definition, either within the same message set or in a different message set.

To paste an object in the message definition from which you copied it:

  1. Switch to the Enterprise Service Tools perspective.

  2. Ensure that the Outline view is visible in the Enterprise Service Tools perspective. If the Outline view is not visible, from the workbench menu click Window > Show View > Outline.

  3. Copy the object.

  4. In the Outline view, right-click the message model object that you want to copy to, then click Paste on the pop-up menu. Alternatively, right-click the object in the message definition editor Overview tab then click Paste on the pop-up menu.

  5. Either type a new name for the object or press Enter to accept the default.
    Tip: If you cannot select Paste from either menu, this indicates that you are attempting to paste the object into a location that is invalid. For example, this would happen if you tried to paste a complex type into a local element.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)