-
- Technical
- Organisation
- Previous Labs
SDA SE WikiSoftware Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering
This storybook is about support for intuitive visual inspection of the internal structure of factbases, as a debugging aid for transformations. Stories:


Description: Provide “back” and “forward” arrows in the Inspector toolbar that let you navigate to the previous / next selection of a node in the current Inspector.
Aim: Let users maintain / reconstruct the context of their work by going back to previously selected nodes – which represent previous focus of their attention.
Priority: Medium
Description: Only show descendants below a given node.
Aim: Make the PEF Navigator display consistent with mental model of a tree by not showing non-child-elements below a given node!
Priority: High.
Description: Add context menu item to show an enclosing element above the current node!
Aim: Give the user a way to see also the ancestors of a node while still supporting the mental model of a tree.
Priority: High.
Description: When displaying enclosing elements do it in an animated way, scroling the previous contents downward.
Aim: Give visual feedback to the user so that the expansion is easy to understand.
Priority: Low. (Better usability)
Description: When displaying enclosing elements maintain the expansion state of the current one.
Aim: Don'tconfuse the user by changing the appearance of things that didn't chnge conceptually.
Priority: Low. (Better usability)
Description: The “Show Enclosing” context menu item is enabled for some node whereas the Toolbar button is disabled for the same node. That must not be. They must behave consistently. Preferably, the “Show Enclosing” should still be active if the enclosing element is already displayed. Then the view is just shifted so that the enclosing element becomes visible.
Aim: Don't confuse the user by inconsistent behaviour.
Priority: Medium
Description: The context menu of a node contains a node-type-specific “Show referenced…” item.
Aim: Complete the node-type-specific context menu so that it displays every other node that is somehow connected to a node.
Priority: High.
Description: The toolbar should display an icon that indicates the currently chosen option for “Show Reference” behaviour. Clicking on the icon displays in a drop-down menu the two possible choices and lets the user select one. Selection feedback is given by showing that choice in the drop-down menu as “checked” and displaying its icon in the toolbar. The options are:
The default should be “Show references in new Inspector”. The explicit choice of the user should be remembered in the project proferences, so that it can be restored after shutting down and restarting.
Aim: Satisfy users that prefer the old PEFNavigator behaviour, Tobias in particular
Priority: High.
Description: Make it possible to inspect different elements and their parents / children in different PEF navigators that can be arranged freely, like any other view. Showing a PEF tree in an editor would also be acceptable but not so nice because one looses the ability to have an own menu bar. However, one could take advantage of other structural elements (see for instance Mylyn task editor, XML config editors, …).
Aim: Make it possible to inspect different elements and their hierarchies side-by-side, thus comparing different portions of the factbase that are “far away” in the tree or are not children of each other. Support a 1:1 correspondence of view and displayed tree (not multiple PEF trees in the same view). The latter enables the consistent navigator tree view.
Priority: High.
Description: Let subitems in the “Show referenced…” context menu open a new tree view for displaying the referenced item.
Aim: Complete the node-type-specific context menu so that it displays every other node that is somehow connected to a node.
Priority: High.
Description: The “Open New Inspector” context menu of the Factbase Inspector currently opens a dialog that is not working anymore. Fix the functionality (make the open by id and open by fully qualified name work again). They should open a new Inspector (instead of displaying the node in the same inspector, as done by the initial implementation). After fixing this create an integrated \"open new inspector\" dialog.
Aim: Bugfix, consistency of 'old' JT actions with new multi-inspector behaviour.
Priority: High
Dependencies: —
Description: In addition to what is indicated in the screenshot below
Screenshots showing dialog
Screenshots showing behaviour
| Not this (old behaviour) | |
|---|---|
| |
| nor this (current bahaviour) | but this |
| Currently does nothing | Open new inspector! |
Aim: Unique point of access for similar behaviour.
Priority: Medium
Dependencies: —
Description: Cleanup the Factbase Inpector's context menu and toolbar:
Aim: Consistency, intuitive handling by sensible grouping
Priority: Medium.
Dependencies: This should best be done by Patrick who already did a lot similar stuff yesterday!
Description : Make sure that the menu items and the behaviour of the Inspector are language parametric, not hardcoded!!!
Aim: Language Independence!
Priority: Highest
Dependencies: no \"package\" in \"show enclosing\" menu
Description : Remove the bugs illustrated by the attached screenshot. Although the language definition contains all the necessary ast_node_subtree/2 declarations (for the children), children are not displayed. SImilarly, enclosing nodes (ancestors) are not displayed although there are “parent” references in the ast_node_def/3 declarations.
Test: The
Aim: REAL Language Independence!
Priority: Highest

The screenshot shows the behavour after consulting the sample0100.pl from the ''EiffelRISamples4JT'' project. The called list_factbase_eiffelri utility predicate
is contained in the attached ''listFactbase.txt'' file. Add it to the EiffelRISamples4JT and never try it on a big factbase!!!
Description: Display also children that are not referenced directly by an element but have “parent” references to the element.
Aim:
Priority:
Dependencies: language parametric inspector
Description : Display unreferenced 'exheritance' children for the 'classDecl' shown in the screenshot below.
Aim: REAL Language Independence!
Priority: Highest

The example is the same as for the bug free up and down navigation in eiffelri inspector story.
Fixed: See : http://butterbur03.iai.uni-bonn.de:8080/jira/browse/JT-260
Description: Only enable in the Factbase Inspector the context menu and toolbar behaviour that makes sense for the current node.
Aim: Avoid errors, confusion and uggly behaviour by disabling what does not make sense.
Priority: High
Description: Let the Factbase inspector work also for non-standard modules.
[After integrating Tim's extension, which will let us display old versions from a repository, the editors might be associated with repository versions and with the corresponding modules into which the old versions have been imported. Then it would be possible to oen an editor selection in an Inspector associated to the module to which the editor is associated. ]
Aim: Uniform behaviour for all factbases.
Priority: High