[jboss-user] [jBPM Users] - Re: process definition image

2009-09-02 Thread jbarrez
The console is smart enough to check the package names of the process XML/ 
process image, which allows for multiple processes/images in one .bar.

The g attribute is only storing the x, y of the activity. So you still need the 
image to 'draw' for example the current activity on that image, using the x,y 
from the g attribute.

Ofc, another approach could be that the process is reconstructed using the g 
attribute only (which is exactly what happens when you use Signavio and the 
GPD), but we haven't followed that path yet.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252989#4252989

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: process definition image

2009-09-01 Thread JimDwyer
Is the "g" attribute in the jpdl file the graphical information?  If so why 
would I need to deploy the png file in my deployment?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252917#4252917

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252917
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: process definition image

2009-09-01 Thread JimDwyer
So I would then deploy the jpdl separate from the png?  Is there a way to keep 
track of which image goes with which jpdl?

How do the .bar files work?  I was under the impression that I could include 
the jpdl and png in a bar and deploy that.

Thanks 

Jim

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252853#4252853

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252853
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: process definition image

2009-09-01 Thread jbarrez
Yes it does. Just add the process image to your deployment:

deployment.addResourceFromClasspath(path/to/your/process/image.png

The console will now display the image + the current activity the process is in.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252833#4252833

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252833
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user