[jboss-dev-forums] [Design of JBoss jBPM] - semantic element creation

msandoz do-not-reply at jboss.com
Tue Jul 3 09:52:44 EDT 2007


i am trying to figure out the least intrusive way to code in creation of a hierarchy of semantic elements from a new node dropped from the palette. here's my scenario (the first two steps work fine)

1. user selects a palette entry for my node.
2. a semantic element and adapter are created
3. an action and data for the action are created with the node and adapters and xml nodes are created

what is the preferred way of making sure multiple levels of defaults exist both in the xml and model? the model constructor? initialize() in the adapter? getDefaultValue() in the adapter? or is there a better way?


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059973



More information about the jboss-dev-forums mailing list