{
"title" : "流程编辑器",
"namespace" : "http://b3mn.org/stencilset/bpmn2.0#",
"description" : "BPMN流程编辑器",
"propertyPackages" : [ {
"name" : "namepackage",
"properties" : [ {
"id" : "name",
"type" : "String",
"title" : "名称",
"value" : "",
"description" : "BPMN元素的描述名称.",
"popular" : true,
"refToView" : "text_name"
} ]
}, {
"name" : "servicetaskclasspackage",
"properties" : [ {
"id" : "servicetaskclass",
"type" : "String",
"title" : "类名",
"value" : "",
"description" : "实现服务任务逻辑的类.",
"popular" : true
} ]
}, {
"name" : "servicetaskexpressionpackage",
"properties" : [ {
"id" : "servicetaskexpression",
"type" : "String",
"title" : "表达式",
"value" : "",
"description" : "定义服务任务逻辑的表达式.",
"popular" : true
} ]
}, {
"name" : "servicetaskdelegateexpressionpackage",
"properties" : [ {
"id" : "servicetaskdelegateexpression",
"type" : "String",
"title" : "代理的表达式",
"value" : "",
"description" : "通过代理表达式定义任务服务逻辑",
"popular" : true
} ]
}, {
"name" : "servicetaskfieldspackage",
"properties" : [ {
"id" : "servicetaskfields",
"type" : "Complex",
"title" : "类的字段",
"value" : "",
"description" : "字段扩展",
"popular" : true
} ]
}, {
"name" : "servicetaskresultvariablepackage",
"properties" : [ {
"id" : "servicetaskresultvariable",
"type" : "String",
"title" : "变量名结果",
"value" : "",
"description" : "流程变量存储服务任务的执行结果.",
"popular" : true
} ]
}, {
"name" : "scriptformatpackage",
"properties" : [ {
"id" : "scriptformat",
"type" : "String",
"title" : "脚本格式化",
"value" : "",
"description" : "脚本任务的脚本格式化.",
"popular" : true
} ]
}, {
"name" : "scripttextpackage",
"properties" : [ {
"id" : "scripttext",
"type" : "Text",
"title" : "脚本",
"value" : "",
"description" : "脚本任务的脚本内容.",
"popular" : true
} ]
}, {
"name" : "ruletask_rulespackage",
"properties" : [ {
"id" : "ruletask_rules",
"type" : "String",
"title" : "规则",
"value" : "",
"description" : "规则任务的规则.",
"popular" : true
} ]
}, {
"name" : "ruletask_variables_inputpackage",
"properties" : [ {
"id" : "ruletask_variables_input",
"type" : "String",
"title" : "输入变量",
"value" : "",
"description" : "规则任务的输入变量.",
"popular" : true
} ]
}, {
"name" : "ruletask_excludepackage",
"properties" : [ {
"id" : "ruletask_exclude",
"type" : "Boolean",
"title" : "排除",
"value" : "false",
"description" : "使用作为排它性的规则属性",
"popular" : true
} ]
}, {
"name" : "ruletask_resultpackage",
"properties" : [ {
"id" : "ruletask_result",
"type" : "String",
"title" : "结果变量",
"value" : "",
"description" : "规则任务的结果变量",
"popular" : true
} ]
}, {
"name" : "mailtasktopackage",
"properties" : [ {
"id" : "mailtaskto",
"type" : "Text",
"title" : "发往",
"value" : "",
"description" : "接收者,格式为邮件。多个接收者请用逗号分割的列表来定义 ",
"popular" : true
} ]
}, {
"name" : "mailtaskfrompackage",
"properties" : [ {
"id" : "mailtaskfrom",
"type" : "Text",
"title" : "来自",
"value" : "",
"description" : "发送者的邮箱.若不提供,默认将使用配置中的来源地址.",
"popular" : true
} ]
}, {
"name" : "mailtasksubjectpackage",
"properties" : [ {
"id" : "mailtasksubject",
"type" : "Text",
"title" : "标题",
"value" : "",
"description" : "Email中的标题.",
"popular" : true
} ]
}, {
"name" : "mailtaskccpackage",
"properties" : [ {
"id" : "mailtaskcc",
"type" : "Text",
"title" : "抄送",
"value" : "",
"description" : "抄送的Email地址,多个接收者请用逗号分隔开。",
"popular" : true
} ]
}, {
"name" : "mailtaskbccpackage",
"properties" : [ {
"id" : "mailtaskbcc",
"type" : "Text",
"title" : "暗抄送",
"value" : "",
"description" : "暗抄送的Email地址. 多个接收者请用逗号分隔开",
"popular" : true
} ]
}, {
"name" : "mailtasktextpackage",
"properties" : [ {
"id" : "mailtasktext",
"type" : "Text",
"title" : "内容",
"value" : "",
"description" : "Email中的内容, 案例一需要发送纯文件的邮件. 可使用Html格式的邮件进行发送,若邮件的接收的客户端不支持这种格式,客户端可转为纯文本的邮件",
"popular" : true
} ]
}, {
"name" : "mailtaskhtmlpackage",
"properties" : [ {
"id" : "mailtaskhtml",
"type" : "Text",
"title" : "Html",
"value" : "",
"description" : "HTML中的一片段作为邮件的内容.",
"popular" : true
} ]
}, {
"name" : "mailtaskcharsetpackage",
"properties" : [ {
"id" : "mailtaskcharset",
"type" : "String",
"title" : "字符类型",
"value" : "",
"description" : "对于很多非英语语言来说,允许更改邮件的编码设置是必要的 ",
"popular" : true
} ]
}, {
"name" : "callactivitycalledelementpackage",
"properties" : [ {
"id" : "callactivitycalledelement",
"type" : "String",
"title" : "调用元素",
"value" : "",
"description" : "流程引用.",
"popular" : true
} ]
}, {
"name" : "callactivityinparameterspackage",
"properties" : [ {
"id" : "callactivityinparameters",
"type" : "Complex",
"title" : "输入参数",
"value" : "",
"description" : "定义输入参数",
"popular" : true
} ]
}, {
"name" : "callactivityoutparameterspackage",
"properties" : [ {
"id" : "callactivityoutparameters",
"type" : "Complex",
"title" : "输出参数",
"value" : "",
"description" : "输出参数的定义",
"popular" : true
} ]
}, {
"name" : "cameltaskcamelcontextpackage",
"properties" : [ {
"id" : "cameltaskcamelcontext",
"type" : "String",
"title" : "Camel 上下文",
"value" : "",
"description" : "可选的Camel 上下文定义,若为空,则使用系统缺省的.",
"popular" : true
} ]
}, {
"name" : "muletaskendpointurlpackage",
"properties" : [ {
"id" : "muletaskendpointurl",
"type" : "String",
"title" : "端点URL",
"value" : "",
"description" : "发送消息到Mule的必须的端点URL",
"popular" : true
} ]
}, {
"name" : "muletasklanguagepackage",
"properties" : [ {
"id" : "muletasklanguage",
"type" : "String",
"title" : "语言",
"value" : "",
"description" : "必须的语言定义来解析装载的表达式,如JUEL.",
"popular" : true
} ]
}, {
"name" : "muletaskpayloadexpressionpackage",
"properties" : [ {
"id" : "muletaskpayloadexpression",
"type" : "String",
"title" : "装载的表达式",
"value" : "",
"description" : "发送至Mule的必须执行的消息定义",
"popular" : true
} ]
}, {
"name" : "muletaskresultvariablepackage",
"properties" : [ {
"id" : "muletaskresultvariable",
"type" : "String",
"title" : "结果的变量",
"value" : "",
"description" : "可选的装载返回的结果的变量",
"popular" : true
} ]
}, {
"name" : "conditionsequenceflowpackage",
"properties" : [ {
"id" : "conditionsequenceflow",
"type" : "Complex",
"title" : "跳转条件",
"value" : "",
"description" : "流程跳线的条件定义",
"popular" : true
} ]
}, {
"name" : "conditionalflowpackage",
"properties" : [ {
"id" : "conditionalflow",
"type" : "Boolean",
"title" : "条件的跳线",
"value" : "false",
"description" : "定义条件的跳线",
"popular" : true
} ]
}, {
"name" : "timercycledefinitionpackage",
"properties" : [ {
"id" : "timercycledefinition",
"type" : "String",
"title" : "时间周期 (e.g. R3/PT10H)",
"value" : "",
"description" : "定义ISO-8601时间周期.",
"popular" : true
} ]
}, {
"name" : "timerdatedefinitionpackage",
"properties" : [ {
"id" : "timerdatedefinition",
"type" : "String",
"title" : "时间周期(ISO-8601格式标准)",
"value" : "",
"description" : "定义(ISO-8601格式标准)的定时器.",
"popular" : true
} ]
}, {
"name" : "timerdurationdefinitionpackage",
"properties" : [ {
"id" : "timerdurationdefinition",
"type" : "String",
"title" : "持续的时间 (e.g. PT5M)",
"value" : "",
"description" : "定义(ISO-8601)持续的定时器",
"popular" : true
} ]
}, {
"name" : "timerenddatedefinitionpackage",
"properties" : [ {
"id" : "timerenddatedefinition",
"type" : "String",
"title" : "结束的时间格式ISO-8601",
"value" : "",
"description" : "定义带(ISO-8601 duration)定时器.",
"popular" : true
} ]
}, {
"name" : "messagerefpackage",
"properties" : [ {
"id" : "messageref",
"type" : "String",
"title" : "消息引用",
"value" : "",
"description" : "Define the message name.",
"popular" : true
} ]
}, {
"name" : "signalrefpackage",
"properties" : [ {
"id" : "signalref",
"type" : "String",
"title" : "信号引用",
"value" : "",
"description" : "定义信号的名称.",
"popular" : true
} ]
}, {
"name" : "errorrefpackage",
"properties" : [ {
"id" : "errorref",
"type" : "String",
"title" : "错误引用",
"value" : "",
"description" : "定义错误.",
"popular" : true
} ]
}, {
"name" : "cancelactivitypackage",
"properties" : [ {
"id" : "cancelactivity",
"type" : "Boolean",
"title" : "取消的活动",
"value" : "true",
"description" : "活动允许取消",
"popular" : true,
"refToView" : [ "frame", "frame2" ]
} ]
}, {
"name" : "initiatorpackage",
"properties" : [ {
"id" : "initiator",
"type" : "String",
"title" : "初始化器",
"value" : "",
"description" : "流程定义的初始初始化器",
"popular" : true
} ]
}, {
"name" : "textpackage",
"properties" : [ {
"id" : "text",
"type" : "String",
"title" : "Text",
"value" : "",
"description" : "文本注释",
"popular" : true,
"refToView" : "text"
} ]
}, {
"name" : "istransactionpackage",
"properties" : [ {
"id" : "istransaction",
"type" : "Boolean",
"title" : "作为子流程的事务",
"value" : "false",
"description" : "标识子流程作为事务类型",
"popular" : true,
"refToView" : "border"
} ]
} ],
"stencils" : [ {
"type" : "node",
"id" : "BPMNDiagram",
"title" : "BPMN流程图",
"description" : "BPMN2的流程图.",
"view" : "\n",
"icon" : "diagram.png",
"groups" : [ "Diagram" ],
"mayBeRoot" : true,
"hide" : true,
"propertyPackages" : [ "process_idpackage", "namepackage", "documentationpackage", "process_authorpackage", "process_versionpackage", "process_namespacepackage", "executionlistenerspackage", "eventlistenerspackage", "signaldefinitionspackage", "messagedefinitionspackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ ]
}, {
"type" : "node",
"id" : "StartNoneEvent",
"title" : "开始事件",
"description" : "无特定触发器的开始事件",
"view" : "\n",
"icon" : "startevent/none.png",
"groups" : [ "开始事件" ],
"propertyPackages" : [ "overrideidpackage", "namepackage", "documentationpackage", "executionlistenerspackage", "initiatorpackage", "formkeydefinitionpackage", "formpropertiespackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ "sequence_start", "Startevents_all", "StartEventsMorph", "all" ]
}, {
"type" : "node",
"id" : "UserTask",
"title" : "人工任务",
"description" : "指派给特定人来执行的人工任务",
"view" : "\n",
"icon" : "activity/list/type.user.png",
"groups" : [ "活动" ],
"propertyPackages" : [ "overrideidpackage", "namepackage", "documentationpackage", "asynchronousdefinitionpackage", "exclusivedefinitionpackage", "executionlistenerspackage", "multiinstance_typepackage", "multiinstance_cardinalitypackage", "multiinstance_collectionpackage", "multiinstance_variablepackage", "multiinstance_conditionpackage", "isforcompensationpackage", "usertaskassignmentpackage", "formkeydefinitionpackage", "duedatedefinitionpackage", "prioritydefinitionpackage", "formpropertiespackage", "tasklistenerspackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ "Activity", "sequence_start", "sequence_end", "ActivitiesMorph", "all" ]
},{
"type" : "node",
"id" : "ExclusiveGateway",
"title" : "单一网关",
"description" : "单一选择的网关",
"view" : "\n\n",
"icon" : "gateway/exclusive.databased.png",
"groups" : [ "网关" ],
"propertyPackages" : [ "overrideidpackage", "namepackage", "documentationpackage", "asynchronousdefinitionpackage", "exclusivedefinitionpackage", "sequencefloworderpackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ "sequence_start", "GatewaysMorph", "sequence_end", "all" ]
}, {
"type" : "node",
"id" : "EndNoneEvent",
"title" : "结束事件",
"description" : "无特定触发器的结束事件",
"view" : "\n",
"icon" : "endevent/none.png",
"groups" : [ "结束事件" ],
"propertyPackages" : [ "overrideidpackage", "namepackage", "documentationpackage", "executionlistenerspackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ "EndEventsMorph", "sequence_end", "all" ]
}, {
"type" : "edge",
"id" : "SequenceFlow",
"title" : "顺序跳转线",
"description" : "顺序跳转线定义了不同活动节点执行的顺序",
"view" : "\r\n",
"icon" : "connector/sequenceflow.png",
"groups" : [ "连接对象" ],
"layout" : [ {
"type" : "layout.bpmn2_0.sequenceflow"
} ],
"propertyPackages" : [ "overrideidpackage", "namepackage", "documentationpackage", "conditionsequenceflowpackage", "executionlistenerspackage", "defaultflowpackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ "ConnectingObjectsMorph", "all" ]
}, {
"type" : "edge",
"id" : "MessageFlow",
"title" : "消息跳转线",
"description" : "用来连接不同泳道中的元素的消息跳转",
"view" : "\r\n",
"icon" : "connector/messageflow.png",
"groups" : [ "连接对象" ],
"layout" : [ {
"type" : "layout.bpmn2_0.sequenceflow"
} ],
"propertyPackages" : [ "overrideidpackage", "namepackage", "documentationpackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ "ConnectingObjectsMorph", "all" ]
}, {
"type" : "edge",
"id" : "Association",
"title" : "关联说明",
"description" : "为元素关联文本说明",
"view" : "\r\n",
"icon" : "connector/association.undirected.png",
"groups" : [ "连接对象" ],
"layout" : [ {
"type" : "layout.bpmn2_0.sequenceflow"
} ],
"propertyPackages" : [ "overrideidpackage", "namepackage", "documentationpackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ "ConnectingObjectsMorph", "all" ]
}, {
"type" : "edge",
"id" : "DataAssociation",
"title" : "数据关联说明",
"description" : "为活动节点关联数据元素",
"view" : "\r\n",
"icon" : "connector/association.unidirectional.png",
"groups" : [ "连接对象" ],
"layout" : [ {
"type" : "layout.bpmn2_0.sequenceflow"
} ],
"propertyPackages" : [ "overrideidpackage", "namepackage", "documentationpackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ "ConnectingObjectsMorph", "all" ]
}, {
"type" : "node",
"id" : "DataStore",
"title" : "数据存储",
"description" : "引用一数据存储",
"view" : "\r\n\r\n",
"icon" : "dataobject/data.store.png",
"groups" : [ "文档注释" ],
"propertyPackages" : [ "overrideidpackage", "namepackage", "documentationpackage" ],
"hiddenPropertyPackages" : [ ],
"roles" : [ "all" ]
} ],
"rules" : {
"cardinalityRules" : [ {
"role" : "Startevents_all",
"incomingEdges" : [ {
"role" : "SequenceFlow",
"maximum" : 0
} ]
}, {
"role" : "Endevents_all",
"outgoingEdges" : [ {
"role" : "SequenceFlow",
"maximum" : 0
} ]
} ],
"connectionRules" : [ {
"role" : "SequenceFlow",
"connects" : [ {
"from" : "sequence_start",
"to" : [ "sequence_end" ]
} ]
}, {
"role" : "Association",
"connects" : [ {
"from" : "sequence_start",
"to" : [ "TextAnnotation" ]
}, {
"from" : "sequence_end",
"to" : [ "TextAnnotation" ]
}, {
"from" : "TextAnnotation",
"to" : [ "sequence_end" ]
}, {
"from" : "BoundaryCompensationEvent",
"to" : [ "sequence_end" ]
}, {
"from" : "TextAnnotation",
"to" : [ "sequence_start" ]
}, {
"from" : "BoundaryCompensationEvent",
"to" : [ "sequence_start" ]
} ]
}, {
"role" : "DataAssociation",
"connects" : [ {
"from" : "sequence_start",
"to" : [ "DataStore" ]
}, {
"from" : "sequence_end",
"to" : [ "DataStore" ]
}, {
"from" : "DataStore",
"to" : [ "sequence_end" ]
}, {
"from" : "DataStore",
"to" : [ "sequence_start" ]
} ]
}, {
"role" : "IntermediateEventOnActivityBoundary",
"connects" : [ {
"from" : "Activity",
"to" : [ "IntermediateEventOnActivityBoundary" ]
} ]
} ],
"containmentRules" : [ {
"role" : "BPMNDiagram",
"contains" : [ "all" ]
}, {
"role" : "SubProcess",
"contains" : [ "sequence_start", "sequence_end", "from_task_event", "to_task_event", "EventSubProcess", "TextAnnotation", "DataStore" ]
}, {
"role" : "EventSubProcess",
"contains" : [ "sequence_start", "sequence_end", "from_task_event", "to_task_event", "TextAnnotation", "DataStore" ]
}, {
"role" : "Pool",
"contains" : [ "Lane" ]
}, {
"role" : "Lane",
"contains" : [ "sequence_start", "sequence_end", "EventSubProcess", "TextAnnotation", "DataStore" ]
} ],
"morphingRules" : [ {
"role" : "ActivitiesMorph",
"baseMorphs" : [ "UserTask" ],
"preserveBounds" : true
}, {
"role" : "GatewaysMorph",
"baseMorphs" : [ "ExclusiveGateway" ]
}, {
"role" : "StartEventsMorph",
"baseMorphs" : [ "StartNoneEvent" ]
}, {
"role" : "EndEventsMorph",
"baseMorphs" : [ "StartNoneEvent" ]
}, {
"role" : "CatchEventsMorph",
"baseMorphs" : [ "CatchTimerEvent" ]
}, {
"role" : "ThrowEventsMorph",
"baseMorphs" : [ "ThrowNoneEvent" ]
}, {
"role" : "BoundaryEventsMorph",
"baseMorphs" : [ "ThrowNoneEvent" ]
}, {
"role" : "BoundaryCompensationEvent",
"baseMorphs" : [ "BoundaryCompensationEvent" ]
}, {
"role" : "TextAnnotation",
"baseMorphs" : [ "TextAnnotation" ]
}, {
"role" : "DataStore",
"baseMorphs" : [ "DataStore" ]
} ]
}
}