- The dragging action is now able to update the statement tree data structure. Currently the drag simply append a new PStatmentMethod statement to the statement tree data structure. (See my modified InsertCodelet() method in JPnlScriptlet.java for details.)
- Run SB/SBGui.java
- Select the Skateboarder object on the right render window.
- Go to the "Events" tab. Select an event
- Go to the "Methods" tab. Drag any method prototype to the middle JPnlScriptlet window.
-- On dragging --
Next step:
- PStatement.Void display - should we provide an empty textbox and let the user enter the value directly? Since then we need to turn that PStatement.Void object to a PStatementConst object.
- An illustrative example of execution of statements in the statement tree.
- Enable addition of codelet to arbitrary location of the statement tree.
- Enable removal of codelet by selection at arbitrary location of the statement tree.
- The height of the method prototype (with multiple arguments) when it is being dragged needs to be fixed. The width of the method prototype with no argument, when standing in the middle JPnlScriptlet window on its own, needs to be fixed as well.
- Utility's changeArraySize() method has generic array creation issue. I rewrite a intuitive code to replace any call on this method. We may need to investigate the issue to help keep our code elegant.
- JPnlScriptlet window may show the current event being edited.
No comments:
Post a Comment