Designer 10.15 | webMethods Event Processing Help | Working with Event Type Elements | Adding Event Type Elements
 
Adding Event Type Elements
You can add elements to the event type by dragging and dropping objects from the palette onto the editing canvas of the Event Type Editor. Alternatively, each element on the canvas has a context menu that allows you to perform operations such as adding elements before or after the selected element, moving the current element before the previous element or after the next element, or renaming or deleting the current element.
You can use standard cut/copy/paste functionality for editing the event type. The functionality for cut/copy/paste is available in the context menu of any selected node, and you can use the standard key combinations (Control-C etc.) for these operations also.
The following table outlines the possible paste actions you can perform and the results of those actions:
Paste Action
Result
pasting on a composite node that is expanded
pastes the new node as the last subnode of the composite node
pasting on a composite node that is collapsed
pastes the new node as a sibling before the composite node
pasting on any other node
pastes the new node as a sibling before the selected node
The following table outlines the action you must perform to insert a node depending on where you want to add the node:
Goal
Action
Insert a node onto an empty canvas.
(This situation occurs when you have just created an event type and are adding the first node, or if you deleted all of the nodes from an existing event type.)
Drag an object from the palette to any position on the empty canvas, and drop the object.
Insert a node as a sibling (i.e. as a child node of the same parent node) before/after an existing node.
*Drag and drop:
Drag an object from the palette to the location where you want to insert the node. As you drag the object, a horizontal line indicates where the node will be inserted. When the horizontal line is at the required position, drop the object.
If you want to insert a new node at the end of the event type, drag the object from the palette to any position on the empty canvas, and drop the object.
*Context menu
Select an existing node on the canvas, then choose Insert from the context menu. In the Insert menu, choose the required node type, then choose insert as sibling before or insert as sibling after as required.
Insert a node as a child node of an existing node.
(This operation is only possible if the existing node is a composite node.)
*Drag and drop:
If you want to add a node as the last subnode of a composite node, drop the object from the palette onto the icon of the composite node.
If you wish to add a child node at a location other than the last subnode, expand the hierarchy of the existing composite node, so that the required position for the new node is visible, then drag the object from the palette to the required position.
As an alternative to opening the hierarchy of the existing composite node explicitly, you can drag the new object and hover over the existing composite node for a few moments. This causes the composite node to expand automatically to reveal the hierarchy. Now continue to drag the new object and drop it at the required position.
*Context menu
Select an existing node on the canvas, then choose Insert from the context menu. In the Insert menu, choose the required node type and insert as a child node.
Related Topics