sgw.y
unread,Aug 4, 2009, 5:12:16 PM8/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sarasvati-wf-dev
I have an eclipse-like multi-view application that needs some high-
level GUI management. The first thing that comes on my mind is to map
user actions to GUI manipulations which is exactly what a workflow
engine such as sarasvati does. The idea is to describe a transition
graph representing my system's states and then executing it as a petri
net. Every time an transition fires, I would get into some state
requiring some controller's actions to be executed, these being "on
hold" until the user does something resuming the flow process.
The first straightforward problem I see with sarasvati is that it
associates every node with a new instance of some Action class. This
could get rather expensive and frankly in my opinion not a very
rational use of resources. Rather I would like to associate Action
nodes to a specific already instantiated object's method (a method of
a controller class). How can I easily do that?
Second point: have you ever thought about forking processes? With
tabbed apps, a click in a main window could cause a transition into a
state represented by a new GUI context (another tab). It is perflectly
fine to walk the process further from the new tab, but since the main
one hasn't been closed yet, if the user selects it again I have no
process to walk through from there anymore. Hence, forking a new one
could help solving this issue, making these two tabs live completely
separately.
Thanks