The reason this class does not extend JComboBox directly
is because of a namespace conflict between JComboBox and
my Editor interface (editable property)
The goal is to [again] study my single/working implementation
of ComplexTypePersister and put the junk in this class
so that i don't have to start from scratch each time.
have two constructors in order to be able to constrain the
association type to a specific/concrete type when the association
is to an abstract type / interface.
The reason that cannot just fall back to type().commands() is that
static command methods on the class are unique per class and need
to be harvested per class.
The basic argument for Choices to not be UserType's is that
if they're made ComplexEObjects, then they can be exposed
automatically by the framework visually.
Sample Usage:
new OnionPeeler(new Processor()
{
public void process(Object obj)
{
// do something with obj
}
public void pause() { Tracing.tracer().info("going to next layer.."); }
public void done() { Tracing.tracer().info("done."); }
}).peel();
Note: when dealing with Swing: JButtons bound to swing Action's
Then the mnemonic is set via a call to putValue() which takes
as an argument, the Integer value of the mnemonic character.
TimeSpan inequalities:
notice that there is no need to provide a "between" inequality
because this can be composed in the ui by combining a "before"
and an "after" inequality.
Original is org.nakedobjects.object.Title
Credit for this class is hereby given to the authors of the NO framework and to the nakedobjects.org organization
Title() -
Constructor for class com.u2d.model.Title