Document Editor
A document editor adapt itself to models defined for the enterprize by privileged users. As soon as a document is no more a draft, it is controlled by a state automaton.
This mechanism is presented in the tot of the editor. The current state is displayed in a text field and the next possible event are accessible through a pulldown menu. The closure date is also displayed.
These fields are empty as long as the document is a draft. As soon as the document can be closed, the menu is loaded with the first set of possible events.
Just pulldow the menu and choose one event. Generally only one vent is possible at first state. This will close the document if the document has been sufficiently defined. The closure can be a stand-alone action or is include in a sequence.