threaddemo.util |
Contains a support for generic two-way engineering.
Supports creation of a derived model from an underlying model.
|
Java Source File Name | Type | Comment |
ClobberException.java | Class | Exception thrown when changes to an original model are about to
be clobbered by modifications to a derived model, in lieu of
clobbering them. |
DocumentParseSupport.java | Class | Supports two-way parsing of an arbitrary model from a text document and
writing to the text document from the model.
The underlying model is a text document. |
DocumentParseSupportDelta.java | Class | Delta type for
DocumentParseSupport . |
TwoWayEvent.java | Class | Event indicating something happened to a two-way support. |
TwoWayListener.java | Interface | Listener for changes in the status of a two-way support. |
TwoWaySupport.java | Class | Support for bidirectional construction of a derived model from an underlying model.
Based on a lock which is assumed to control both models.
Handles all locking and scheduling associated with such a system.
It is possible to "nest" supports so that the derived model of one is the
underlying model of another - but they must still share a common lock.
"Derive" means to take the underlying model (not represented explicitly here,
but assumed to be "owned" by the subclass) and produce the derived model;
typically this will involve parsing or the like. |
TwoWaySupportTest.java | Class | Test the two-way support. |