Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 2.2 - Lowering the Bar
-
Component/s: Samples
-
Labels:None
Description
Currently PetClinic has a JTree component that shows a generic view of an object and its properties and associations. This is great for developers, but not so practical for end-user applications. What would be very useful as a general JTree is one where the root is a specified object and then one can configure what ManyAssociations should be used for child nodes. The component could simply check if a node has the required ManyAssociation and if so extract it and list the child nodes. A simple version would allow for specifying only one ManyAssociation, and a more useful version would allow the client to specify a number of ManyAssociations, in order, which should be checked. That way a root object could first be checked for one type of association, and the children might be using another type of ManyAssociation which defines its children.

Pushing this a version down the line.