[jbpm-dev] Remove IntermediateTimerEvent

Juliano Carlos da Silva skulljoi at gmail.com
Fri Jul 19 16:30:54 EDT 2013


Hi, i found a bug or something like that.

if i attach a IntermediateTimerEvent on a Activity and i select
IntermediateTimerEvent and press del to remove component, it will remove
the Activity too, but if i drop the IntermediateTimerEvent out the Activity
before remove, its ok.

looking at source edit.js on funcion: getAllShapesToConsider


using the connections.each(function(s) {

i add a specific if:


} else if(shape._stencil.id() == "
http://b3mn.org/stencilset/bpmn2.0#IntermediateTimerEvent" && s._stencil.id()
== "http://b3mn.org/stencilset/bpmn2.0#Task") {
                    // Se for remover um deadline atribuido a uma
atividade, nao remover a atividade
                    return;
                    }


to ignore the Activity if i delete a IntermediateTimerEvent
i want to know if is right to check components with stencil_id or i need to
use instanceOf, but i cannot found the right class to use.

any one can check that?

-- 
[]'s Juliano
-----------------------

http://www.google.com/profiles/skulljoi
linux user: #411461 http://counter.li.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20130719/891f4fcf/attachment.html 


More information about the jbpm-dev mailing list