实例介绍
忙活了一个星期左右,查找各种资料,终于将Activiti的流程设计器分离出来,与SpringMVC,spring整合了起来,先把工程分享出来,等有时间了在慢慢讲解具体的整合步骤。工程下载之后直接可以运行,只需要改一下数据库连接。访问http://localhost:8080/demo/model/create?name=模型名称&key=模型标示符&description=模型描述之后,就可以进入编辑器了.Activiti版本为5.18.0,有问题可以留言515199028@qq.com
【实例截图】
【核心代码】
demo
├── pom.xml
├── src
│ └── main
│ ├── java
│ │ └── org
│ │ └── activiti
│ │ ├── explorer
│ │ │ ├── conf
│ │ │ │ └── ApplicationConfiguration.java
│ │ │ └── servlet
│ │ │ ├── DispatcherServletConfiguration.java
│ │ │ ├── FilterServletOutputStream.java
│ │ │ ├── GenericResponseWrapper.java
│ │ │ ├── JsonpCallbackFilter.java
│ │ │ └── WebConfigurer.java
│ │ └── rest
│ │ ├── diagram
│ │ │ └── services
│ │ │ ├── BaseProcessDefinitionDiagramLayoutResource.java
│ │ │ ├── ProcessDefinitionDiagramLayoutResource.java
│ │ │ ├── ProcessInstanceDiagramLayoutResource.java
│ │ │ └── ProcessInstanceHighlightsResource.java
│ │ └── editor
│ │ ├── main
│ │ │ └── StencilsetRestResource.java
│ │ ├── model
│ │ │ ├── ModelEditorJsonRestResource.java
│ │ │ └── ModelSaveRestResource.java
│ │ └── ModuleController.java
│ ├── resources
│ │ ├── config.properties
│ │ ├── ehcache.xml
│ │ ├── log4j.properties
│ │ ├── spring-activiti.xml
│ │ ├── spring-hibernate.xml
│ │ ├── spring-mvc.xml
│ │ ├── spring.xml
│ │ ├── stencilset.json
│ │ ├── ui.properties
│ │ └── ui.properties.alfresco
│ └── webapp
│ ├── diagram-viewer
│ │ ├── images
│ │ │ ├── bg.png
│ │ │ ├── breadcrumbs.png
│ │ │ ├── checker-bg.png
│ │ │ └── deployer
│ │ │ ├── blue
│ │ │ │ └── message_catch.png
│ │ │ ├── business_rule.png
│ │ │ ├── error_catch.png
│ │ │ ├── error_throw.png
│ │ │ ├── manual.png
│ │ │ ├── message_catch.png
│ │ │ ├── message_throw.png
│ │ │ ├── receive.png
│ │ │ ├── script.png
│ │ │ ├── send.png
│ │ │ ├── service.png
│ │ │ ├── signal_catch.png
│ │ │ ├── signal_throw.png
│ │ │ ├── timer.png
│ │ │ └── user.png
│ │ ├── index.html
│ │ ├── js
│ │ │ ├── ActivitiRest.js
│ │ │ ├── ActivityImpl.js
│ │ │ ├── Color.js
│ │ │ ├── jquery
│ │ │ │ ├── jquery.asyncqueue.js
│ │ │ │ ├── jquery.js
│ │ │ │ └── jquery.progressbar.js
│ │ │ ├── jstools.js
│ │ │ ├── LineBreakMeasurer.js
│ │ │ ├── Polyline.js
│ │ │ ├── ProcessDiagramCanvas.js
│ │ │ ├── ProcessDiagramGenerator.js
│ │ │ ├── raphael.2.1.1.js
│ │ │ ├── raphael.js
│ │ │ ├── raphael_uncompressed.js
│ │ │ └── textlayout.js
│ │ └── style.css
│ ├── editor-app
│ │ ├── app-cfg.js
│ │ ├── app.js
│ │ ├── configuration
│ │ │ ├── properties
│ │ │ │ ├── assignment-display-template.html
│ │ │ │ ├── assignment-popup.html
│ │ │ │ ├── assignment-write-template.html
│ │ │ │ ├── boolean-property-template.html
│ │ │ │ ├── condition-expression-display-template.html
│ │ │ │ ├── condition-expression-popup.html
│ │ │ │ ├── condition-expression-write-template.html
│ │ │ │ ├── default-value-display-template.html
│ │ │ │ ├── event-listeners-display-template.html
│ │ │ │ ├── event-listeners-popup.html
│ │ │ │ ├── event-listeners-write-template.html
│ │ │ │ ├── execution-listeners-display-template.html
│ │ │ │ ├── execution-listeners-popup.html
│ │ │ │ ├── execution-listeners-write-template.html
│ │ │ │ ├── feedback-popup.html
│ │ │ │ ├── fields-display-template.html
│ │ │ │ ├── fields-popup.html
│ │ │ │ ├── fields-write-template.html
│ │ │ │ ├── form-properties-display-template.html
│ │ │ │ ├── form-properties-popup.html
│ │ │ │ ├── form-properties-write-template.html
│ │ │ │ ├── in-parameters-display-template.html
│ │ │ │ ├── in-parameters-popup.html
│ │ │ │ ├── in-parameters-write-template.html
│ │ │ │ ├── message-definitions-display-template.html
│ │ │ │ ├── message-definitions-popup.html
│ │ │ │ ├── message-definitions-write-template.html
│ │ │ │ ├── message-property-write-template.html
│ │ │ │ ├── multiinstance-property-write-template.html
│ │ │ │ ├── out-parameters-display-template.html
│ │ │ │ ├── out-parameters-popup.html
│ │ │ │ ├── out-parameters-write-template.html
│ │ │ │ ├── sequenceflow-order-display-template.html
│ │ │ │ ├── sequenceflow-order-popup.html
│ │ │ │ ├── sequenceflow-order-write-template.html
│ │ │ │ ├── signal-definitions-display-template.html
│ │ │ │ ├── signal-definitions-popup.html
│ │ │ │ ├── signal-definitions-write-template.html
│ │ │ │ ├── signal-property-write-template.html
│ │ │ │ ├── string-property-write-mode-template.html
│ │ │ │ ├── subprocess-reference-display-template.html
│ │ │ │ ├── subprocess-reference-popup.html
│ │ │ │ ├── subprocess-reference-write-template.html
│ │ │ │ ├── task-listeners-display-template.html
│ │ │ │ ├── task-listeners-popup.html
│ │ │ │ ├── task-listeners-write-template.html
│ │ │ │ ├── text-popup.html
│ │ │ │ └── text-property-write-template.html
│ │ │ ├── properties-assignment-controller.js
│ │ │ ├── properties-condition-expression-controller.js
│ │ │ ├── properties-custom-controllers.js
│ │ │ ├── properties-default-controllers.js
│ │ │ ├── properties-event-listeners-controller.js
│ │ │ ├── properties-execution-listeners-controller.js
│ │ │ ├── properties-fields-controller.js
│ │ │ ├── properties-form-properties-controller.js
│ │ │ ├── properties-in-parameters-controller.js
│ │ │ ├── properties.js
│ │ │ ├── properties-message-definitions-controller.js
│ │ │ ├── properties-message-scope-controller.js
│ │ │ ├── properties-multiinstance-controller.js
│ │ │ ├── properties-out-parameters-controller.js
│ │ │ ├── properties-sequenceflow-order-controller.js
│ │ │ ├── properties-signal-definitions-controller.js
│ │ │ ├── properties-signal-scope-controller.js
│ │ │ ├── properties-task-listeners-controller.js
│ │ │ ├── toolbar-custom-actions.js
│ │ │ ├── toolbar-default-actions.js
│ │ │ ├── toolbar.js
│ │ │ └── url-config.js
│ │ ├── css
│ │ │ ├── style-common.css
│ │ │ ├── style.css
│ │ │ └── style-editor.css
│ │ ├── editor
│ │ │ ├── css
│ │ │ │ └── editor.css
│ │ │ ├── i18n
│ │ │ │ ├── translation_de.js
│ │ │ │ ├── translation_en_us.js
│ │ │ │ ├── translation_signavio_de.js
│ │ │ │ ├── translation_signavio_en_us.js
│ │ │ │ └── translation_ZH_cn.js
│ │ │ ├── oryx.debug.js
│ │ │ └── oryx.js
│ │ ├── editor-config.js
│ │ ├── editor-controller.js
│ │ ├── editor.html
│ │ ├── editor-utils.js
│ │ ├── eventbus.js
│ │ ├── fonts
│ │ │ ├── activiti-admin-webfont.eot
│ │ │ ├── activiti-admin-webfont.svg
│ │ │ ├── activiti-admin-webfont.ttf
│ │ │ ├── activiti-admin-webfont.woff
│ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ ├── glyphicons-halflings-regular.svg
│ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ └── glyphicons-halflings-regular.woff
│ │ ├── header-controller.js
│ │ ├── i18n
│ │ │ ├── en2.json
│ │ │ └── en.json
│ │ ├── images
│ │ │ ├── bpmn-error.png
│ │ │ ├── bpmn-warning.png
│ │ │ ├── datadefinition.png
│ │ │ ├── delete.png
│ │ │ ├── loading.gif
│ │ │ ├── logo-2x.png
│ │ │ ├── logo.png
│ │ │ ├── nw-handle-dark.gif
│ │ │ ├── se-handle-dark.gif
│ │ │ ├── shapemenu_highlight.png
│ │ │ └── wrench.png
│ │ ├── libs
│ │ │ ├── angular_1.2.13
│ │ │ │ ├── angular-animate.min.js
│ │ │ │ └── angular.min.js
│ │ │ ├── angular-cookies_1.2.13
│ │ │ │ ├── angular-cookies.min.js
│ │ │ │ └── angular-cookies.min.js.map
│ │ │ ├── angular-dragdrop_1.0.7
│ │ │ │ └── angular-dragdrop.min.js
│ │ │ ├── angular-dragdrop.min-1.0.3.js
│ │ │ ├── angular-mocks_1.2.13
│ │ │ │ └── angular-mocks.js
│ │ │ ├── angular-resource_1.2.13
│ │ │ │ ├── angular-resource.js
│ │ │ │ ├── angular-resource.min.js
│ │ │ │ └── angular-resource.min.js.map
│ │ │ ├── angular-route_1.2.13
│ │ │ │ ├── angular-route.js
│ │ │ │ ├── angular-route.min.js
│ │ │ │ └── angular-route.min.js.map
│ │ │ ├── angular-sanitize_1.2.13
│ │ │ │ ├── angular-sanitize.js
│ │ │ │ ├── angular-sanitize.min.js
│ │ │ │ └── angular-sanitize.min.js.map
│ │ │ ├── angular-scroll_0.5.7
│ │ │ │ └── angular-scroll.min.js
│ │ │ ├── angular-strap_2.0.5
│ │ │ │ ├── angular-strap.min.js
│ │ │ │ └── angular-strap.tpl.min.js
│ │ │ ├── angular-translate_2.4.2
│ │ │ │ ├── angular-translate.js
│ │ │ │ └── angular-translate.min.js
│ │ │ ├── angular-translate-loader-static-files
│ │ │ │ ├── angular-translate-loader-static-files.js
│ │ │ │ └── angular-translate-loader-static-files.min.js
│ │ │ ├── angular-translate-storage-cookie
│ │ │ │ ├── angular-translate-storage-cookie.js
│ │ │ │ └── angular-translate-storage-cookie.min.js
│ │ │ ├── bootstrap_3.1.1
│ │ │ │ ├── css
│ │ │ │ │ ├── bootstrap.css
│ │ │ │ │ ├── bootstrap.css.map
│ │ │ │ │ ├── bootstrap.min.css
│ │ │ │ │ ├── bootstrap-theme.css
│ │ │ │ │ ├── bootstrap-theme.css.map
│ │ │ │ │ └── bootstrap-theme.min.css
│ │ │ │ ├── fonts
│ │ │ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ │ │ ├── glyphicons-halflings-regular.svg
│ │ │ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ │ │ └── glyphicons-halflings-regular.woff
│ │ │ │ └── js
│ │ │ │ ├── bootstrap.js
│ │ │ │ └── bootstrap.min.js
│ │ │ ├── bootstrap-daterangepicker_1.3.7
│ │ │ │ ├── daterangepicker-bs3.css
│ │ │ │ └── daterangepicker.js
│ │ │ ├── es5-shim-15.3.4.5
│ │ │ │ ├── CHANGES
│ │ │ │ ├── CONTRIBUTORS.md
│ │ │ │ ├── es5-sham.js
│ │ │ │ ├── es5-sham.map
│ │ │ │ ├── es5-sham.min.js
│ │ │ │ ├── es5-shim.js
│ │ │ │ ├── es5-shim.map
│ │ │ │ ├── es5-shim.min.js
│ │ │ │ ├── LICENSE
│ │ │ │ ├── package.json
│ │ │ │ ├── README.md
│ │ │ │ └── tests
│ │ │ │ ├── helpers
│ │ │ │ │ ├── h.js
│ │ │ │ │ ├── h-kill.js
│ │ │ │ │ └── h-matchers.js
│ │ │ │ ├── index.html
│ │ │ │ ├── index.min.html
│ │ │ │ ├── lib
│ │ │ │ │ ├── jasmine.css
│ │ │ │ │ ├── jasmine_favicon.png
│ │ │ │ │ ├── jasmine-html.js
│ │ │ │ │ ├── jasmine.js
│ │ │ │ │ └── json2.js
│ │ │ │ └── spec
│ │ │ │ ├── s-array.js
│ │ │ │ ├── s-date.js
│ │ │ │ ├── s-function.js
│ │ │ │ ├── s-number.js
│ │ │ │ ├── s-object.js
│ │ │ │ └── s-string.js
│ │ │ ├── jquery_1.11.0
│ │ │ │ ├── jquery.js
│ │ │ │ ├── jquery.min.js
│ │ │ │ └── jquery.min.map
│ │ │ ├── jquery.autogrow-textarea.js
│ │ │ ├── jquery-ui-1.10.3.custom.min.js
│ │ │ ├── json3_3.2.6
│ │ │ │ ├── lib
│ │ │ │ │ ├── json3.js
│ │ │ │ │ └── json3.min.js
│ │ │ │ └── LICENSE
│ │ │ ├── momentjs_2.5.1
│ │ │ │ └── momentjs.min.js
│ │ │ ├── mousetrap-1.4.5.min.js
│ │ │ ├── ng-grid-2.0.7.min.css
│ │ │ ├── ng-grid-2.0.7-min.js
│ │ │ ├── path_parser.js
│ │ │ ├── prototype-1.5.1.js
│ │ │ └── ui-utils.min-0.0.4.js
│ │ ├── partials
│ │ │ ├── root-stencil-item-template.html
│ │ │ └── stencil-item-template.html
│ │ ├── plugins.xml
│ │ ├── popups
│ │ │ ├── icon-template.html
│ │ │ ├── save-model.html
│ │ │ ├── select-shape.html
│ │ │ └── unsaved-changes.html
│ │ ├── select-shape-controller.js
│ │ ├── stencil-controller.js
│ │ ├── stencilsets
│ │ │ └── bpmn2.0
│ │ │ └── icons
│ │ │ ├── activity
│ │ │ │ ├── event.subprocess.collapsed.png
│ │ │ │ ├── event.subprocess.png
│ │ │ │ ├── expanded.subprocess.png
│ │ │ │ ├── list
│ │ │ │ │ ├── type.business.rule.png
│ │ │ │ │ ├── type.camel.png
│ │ │ │ │ ├── type.manual.png
│ │ │ │ │ ├── type.mule.png
│ │ │ │ │ ├── type.receive.png
│ │ │ │ │ ├── type.script.png
│ │ │ │ │ ├── type.send.png
│ │ │ │ │ ├── type.service.png
│ │ │ │ │ ├── type.shell.png
│ │ │ │ │ └── type.user.png
│ │ │ │ ├── subprocess.png
│ │ │ │ └── task.png
│ │ │ ├── artifact
│ │ │ │ └── text.annotation.png
│ │ │ ├── catching
│ │ │ │ ├── cancel.png
│ │ │ │ ├── compensation.png
│ │ │ │ ├── error.png
│ │ │ │ ├── message.png
│ │ │ │ ├── signal.png
│ │ │ │ └── timer.png
│ │ │ ├── connector
│ │ │ │ ├── association.undirected.png
│ │ │ │ ├── association.unidirectional.png
│ │ │ │ ├── messageflow.png
│ │ │ │ └── sequenceflow.png
│ │ │ ├── dataobject
│ │ │ │ └── data.store.png
│ │ │ ├── diagram.png
│ │ │ ├── endevent
│ │ │ │ ├── cancel.png
│ │ │ │ ├── error.png
│ │ │ │ ├── none.png
│ │ │ │ └── terminate.png
│ │ │ ├── gateway
│ │ │ │ ├── eventbased.png
│ │ │ │ ├── exclusive.databased.png
│ │ │ │ ├── inclusive.png
│ │ │ │ └── parallel.png
│ │ │ ├── startevent
│ │ │ │ ├── error.png
│ │ │ │ ├── message.png
│ │ │ │ ├── none.png
│ │ │ │ ├── signal.png
│ │ │ │ └── timer.png
│ │ │ ├── swimlane
│ │ │ │ ├── lane.png
│ │ │ │ └── pool.png
│ │ │ └── throwing
│ │ │ ├── none.png
│ │ │ └── signal.png
│ │ └── toolbar-controller.js
│ ├── index.jsp
│ ├── modeler.html
│ └── WEB-INF
│ └── web.xml
└── target
├── classes
│ ├── config.properties
│ ├── ehcache.xml
│ ├── log4j.properties
│ ├── org
│ │ └── activiti
│ │ ├── explorer
│ │ │ ├── conf
│ │ │ │ └── ApplicationConfiguration.class
│ │ │ └── servlet
│ │ │ ├── DispatcherServletConfiguration.class
│ │ │ ├── FilterServletOutputStream.class
│ │ │ ├── GenericResponseWrapper.class
│ │ │ ├── JsonpCallbackFilter.class
│ │ │ └── WebConfigurer.class
│ │ └── rest
│ │ ├── diagram
│ │ │ └── services
│ │ │ ├── BaseProcessDefinitionDiagramLayoutResource.class
│ │ │ ├── ProcessDefinitionDiagramLayoutResource.class
│ │ │ ├── ProcessInstanceDiagramLayoutResource.class
│ │ │ └── ProcessInstanceHighlightsResource.class
│ │ └── editor
│ │ ├── main
│ │ │ └── StencilsetRestResource.class
│ │ ├── model
│ │ │ ├── ModelEditorJsonRestResource.class
│ │ │ └── ModelSaveRestResource.class
│ │ └── ModuleController.class
│ ├── spring-activiti.xml
│ ├── spring-hibernate.xml
│ ├── spring-mvc.xml
│ ├── spring.xml
│ ├── stencilset.json
│ ├── ui.properties
│ └── ui.properties.alfresco
└── m2e-wtp
└── web-resources
└── META-INF
├── MANIFEST.MF
└── maven
└── com.test
└── demo
├── pom.properties
└── pom.xml
95 directories, 336 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论