[
http://jira.jboss.com/jira/browse/GPD-190?page=all ]
Matthias Hanisch updated GPD-190:
---------------------------------
Attachment: gpd-190.diff
Conceptual patch attached.
If you do not lake the "needsNamedTransitions", they can just be removed without
further harm.
Add policy methods like canStart() and canStop() to NodeElement
interface
-------------------------------------------------------------------------
Key: GPD-190
URL:
http://jira.jboss.com/jira/browse/GPD-190
Project: JBoss jBPM GPD
Issue Type: Feature Request
Environment: Does not matter
Reporter: Matthias Hanisch
Assigned To: Koen Aers
Attachments: gpd-190.diff
NodeGraphicalNodeEditPolicy.canStart() method consists of a sum of instanceof checks.
Same for canStop().
Especially if you want to create own special nodes, it would be easier if canStart(),
canStop() would be implemented by NodeElement interface (there we have the idea of
transactions, too).
Another policy method which does not exist yet (I just have a use case for that) would
be
boolean needsNamedTransitions()
to specify that a node wants all its leaving transactions to be named.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira