Version 7 (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
- Make the Inspector auto refresh on Sophie2.0 state changes.
- For every Prop, ProObject or List a ProListener should be added. This way on every change, the model of the !JXTreeTable will be notified.
- On every change a TreePath to the Node where the event has occurred should be passed to the model support.
- To do this, we should implement some mode methods and change the extending classes so that this TreePath is automatically provided.
Implementation
Testing
Comments
Log