Commit graph

32 commits

Author SHA1 Message Date
cc696ee87d handle not initialized stat, e.g. when a class with existing objects is derived from Stateful later 2014-04-14 19:04:09 +02:00
51cc5a6d36 move checkActors() to stateful object to allow overriding by subclass 2013-07-26 09:29:55 +02:00
68ed9d878b provide 'actors' and 'condition' attributes for more control on actions/transitions 2013-07-18 13:26:25 +02:00
e6df09d4dc add field 'schema' to action/transition in order to be able to provide fields to be filled on transition 2013-07-05 07:44:22 +02:00
cc6e1a5f3e provide unified access to state icon (or colored led) 2013-06-20 13:33:43 +02:00
6f5dd49764 update header info of source file 2013-01-08 12:14:44 +01:00
6fe560cd31 fall back to initial state if current state is not valid, e.g. because of changes in states definition 2012-03-03 11:54:13 +01:00
helmutm
bf8a85453c allow for more than one 'doBefore' function in a transition
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@4202 fd906abe-77d9-0310-91a1-e0d9ade77398
2011-03-15 08:53:59 +00:00
helmutm
24315118a6 predefine 'actors' attribute for transition definitions
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3905 fd906abe-77d9-0310-91a1-e0d9ade77398
2010-06-19 09:00:05 +00:00
helmutm
35f9224c25 add state-dependent control of actions and a doBefore handler for transitions
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3240 fd906abe-77d9-0310-91a1-e0d9ade77398
2009-02-19 09:36:05 +00:00
helmutm
fdb814fed7 update copyright info
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3140 fd906abe-77d9-0310-91a1-e0d9ade77398
2009-01-11 15:05:14 +00:00
helmutm
68e43e152b work in progress: work items
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3073 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-12-21 11:08:03 +00:00
helmutm
4fe222a015 add 'request' attribute to stateful adapter and transition event
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3022 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-12-01 16:15:09 +00:00
helmutm
c2624fb48e add media asset management package
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2927 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-10-21 13:01:48 +00:00
helmutm
10d4a15ca4 allow hiding of controller macros, e.g. portlets
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2921 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-10-17 09:38:41 +00:00
helmutm
a9c73b5361 rename 'publishing' states definition to 'simple_publishing' for unification of naming with loops.organize.stateful
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2598 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-16 10:09:05 +00:00
helmutm
fc7a928fb5 rename 'publishing' states definition to 'simple_publishing' for unification of naming with loops.organize.stateful
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2597 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-05-16 10:07:51 +00:00
helmutm
3e6ac40962 provide Zope 2.9 compatibility for statful package
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2566 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-29 10:24:06 +00:00
helmutm
b9a0105604 provide separate notify() method for stateful objects to control notification by subclasses
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2563 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-28 07:58:08 +00:00
helmutm
592058cfc5 fix bug in state event notification - moved notify() call to StatefulAdapter
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2562 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-27 20:57:32 +00:00
helmutm
7cd7a574c0 add transition event
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2559 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-27 14:27:33 +00:00
helmutm
cd46c0a345 transition now fires TransitionEvent; added more icons and corresponding settings for states
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2556 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-27 09:56:37 +00:00
helmutm
4ead71499e add 'archived' and 'removed' states to simple publishing
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2542 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-26 12:39:58 +00:00
helmutm
854f2c1f3a more on actions; added icons
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2537 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-23 08:38:22 +00:00
helmutm
1011f4b2eb make simplePublishing a function that returns a utility
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2525 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-04-14 11:44:45 +00:00
helmutm
1e9418133b added states definition factory function to be used as utility
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2481 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-29 15:49:20 +00:00
helmutm
ad30d6f655 added a simple publishing states definition (publishing 'workflow')
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2466 fd906abe-77d9-0310-91a1-e0d9ade77398
2008-03-21 13:26:58 +00:00
helmutm
89510875c9 state handling for service registrations
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@2123 fd906abe-77d9-0310-91a1-e0d9ade77398
2007-10-20 16:01:20 +00:00
helmutm
154f2dcead minor modifictaions and extensions for the tum.sm project
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1936 fd906abe-77d9-0310-91a1-e0d9ade77398
2007-08-20 10:03:32 +00:00
helmutm
c0c772ff30 extend 'stateful' implementation (sort of a very simple workflow system)
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1933 fd906abe-77d9-0310-91a1-e0d9ade77398
2007-08-19 14:41:23 +00:00
helmutm
e9b8722793 add zutil: Jeep implementation with BTrees; work in progress: organize, composer
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1827 fd906abe-77d9-0310-91a1-e0d9ade77398
2007-07-16 08:43:43 +00:00
helmutm
0dda2f4b12 added simple 'stateful' (sort of mini-workflow) package
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1539 fd906abe-77d9-0310-91a1-e0d9ade77398
2007-01-04 11:11:32 +00:00