User development,
A new message was posted in the thread "How to create a graphical collection of
already defined tasks?":
http://community.jboss.org/message/529391#529391
Author : Falko Menge
Profile :
http://community.jboss.org/people/falko.menge
Message:
--------------------------------------------------------------
I implemented a generator for stencilset extensions for exactly that purpose in the Oryx
project, which forms the core of the Signavio editor. The generator allows to create
stencil set extensions containing pre-configured model elements, e.g., jBPM Java
activities, which will appear in the pallete on the left. You can see that in action by
pointing a Mozilla Firefox to
http://com.posr.ws/oryx/servicecomposer?svc0=http%3A%2F%2Fposr.ws%2Finsta...
(
http://posr.ws/screenshots/com.posr.png).
The
http://code.google.com/p/oryx-editor/source/browse/trunk/editor/server/sr...
can be started by sending a HTTP-POST request to a
http://code.google.com/p/oryx-editor/source/browse/trunk/editor/server/sr....
An example
http://code.google.com/p/oryx-editor/source/browse/trunk/editor/test/exam...
and
http://code.google.com/p/oryx-editor/source/browse/trunk/editor/test/exam...
to send such a request also provided. The generator is also included in the jBPM releases
since version 4.1. However, it is not enabled by default, the example files are missing,
and the
http://code.google.com/p/oryx-editor/source/browse/trunk/editor/server/sr...
is not configured with the correct paths.
Thus, I suggest to grab the source from
http://code.google.com/p/signavio-oryx-initiative/source/checkout or directly from
http://code.google.com/p/oryx-editor/source/checkout to get all related files.
Then you have to compile the
http://code.google.com/p/oryx-editor/source/browse/trunk/editor/server/sr...
with correct paths and enable the servlet in the web.xml of the jbpmeditor.war, i.e.,
with:
<servlet>
<display-name>Stencilset Extension Generator Servlet</display-name>
<servlet-name>StencilSetExtensionGeneratorServlet</servlet-name>
<servlet-class>
org.oryxeditor.server.StencilSetExtensionGeneratorServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>StencilSetExtensionGeneratorServlet</servlet-name>
<url-pattern>/editor/stencilset-extension-generator</url-pattern>
</servlet-mapping>
You may also need to create the folder
'jbpmeditor.war/editor/stencilsets/extensions/generated-stencil-set-extensions',
which is used to store the generated exceptions.
So there is a chance, that you can use this to solve your problem. However, it will
definitely not work out of the box. If you have further questions regarding the stencilset
extension generator or Oryx in general, I'll be happy to answer them.
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/529391#529391