*
* @return The new node
*/
public WorkflowEndNodeImpl createStandardWorkflowEndNode()
{
WorkflowEndNodeImpl node = new WorkflowEndNodeImpl();
createStandardName(node);
NodeSocket inSocket = createEntrySocket(CoreConstants.DEFAULT_INITIAL_NODE_NAME, true);
// Create the hidden and optional WorkflowTask parameter
createNodeParam("WorkflowTask", "Workflow task", "Workflow task that identifies the current workflow group or null to end all workflows that run in the current workflow group", SYSTEM_TYPE_WORKFLOWTASK, false, true, inSocket);
node.addSocket(inSocket);
return node;
}