Version 9 (modified by peko, 17 years ago) (diff) |
---|
Analysis
Overview
The PRO_LIB_INSPECTOR is a GUI tool that allows browsing the application state while it still works. The inspector should be improved in the appropriate way.
Task requirements
- Make the inspector more useful.
- Make the inspector not so complicated.
Task result
The result of this task should be code.
Implementation idea
- More useful:
- Add keyboard navigation features.
- Add additional info besides Name, Value, State, Type.
- Not complicated:
- Remove (if possible) the recursively displayed things.
- Examine all the things displayed and choose whether to display all of them. (may not be rational to have all this information since it may not be needed).
Related
How to demo
- Open eclipse and run Sophie2.0.
- Besides the main window of Sophie2.0 a separate window should be displayed which is the inspector itself.
- Use the keyboard to navigate through the inspector.
- Use the mouse to navigate through the inspector.
- All the things that are present in Sophie2.0 should be displayed in the inspector as well.
Design
- Key shortcuts:
- Add key listener so that the selected row is changed when the row is either expanded(Enter, Right Arrow) or collapsed(Backspace, Left Arrow).
- Using the Enter or right key when the row is not expandable will go down.
- Using the Backspace or left key when the row is not collapse-able will go up.
- Setting panel:
- Create check-boxes positioned in the bottom panel aligned on the left side of the refresh button.
- One should be able to select things that are included in the Inspector fields.
- Properties
- Status
- Last Problem
- Create check-boxes positioned in the bottom panel aligned on the left side of the refresh button.
- Things that should be excluded:
- .this
Implementation
Testing
Comments
Log