Its common practice to display a navigation hint somewhere at top of an application's page or below the main menu, indicating where the user currently has navigated to. (Typically within a navigable tree-structure.)
Let's call this the WhereAmI hint. We could integrate such a feature into ISIS.
Note: we could optionally include the DomainObject's icons
For any DomainObject/View currently displayed ISIS would need to know its corresponding
navigable tree-structure. Let's call this the DomainObject's WhereAmI tree.
All the framework needs to known to build the relevant sub-tree, is to know the parent node of any DomainObject/View that 'takes part' in the tree.
We could provide this 'who is your parent' meta information similar to the existing 'what is your title' mechanism:
The typical layout.xml could look like this:
- The framework needs to ensure that the chain of parent references starting at the current DomainObject/View is finite. (No circular or self references.) If it detects a circle, be nice and just stop the 'tree-up' traversal there.
- For standalone Collection Views we could display a WhereAmI hint that allows back navigation to the DomainObject/View that had produced the collection.