WrapperActionElement adds an action to a VariableElement.
Useful way for example transforming VariableElements as property-setters:
wrap them inside a WrapperActionElement and set the
action-operation to the set-property.
Design-note: currently, there's know way to give the action any parameters
besides the implicit 'parent' and 'this' objects and global objects.
(and we shouldn't create new data that is not available in the JIC-file?)
of course, the action-Operation can always be constructor so that it
won't need other parameters..
Copyright (C) 2004 Timo Laitinen
author: .timo |