Changes in the JAWAA Editor

Version 2.1


Display Error for Invalid Name Changes (Blank, Begins with Digit, All Digits)

The Namespace would accept some names that were actually illegal in the JAWAA language. I added more error checking, and made the error messages specific so the user knows what's wrong.


Allow Oval and Rectangular Node Buttons to show up (Unique KeyStrokes)

The reason why they were “hidden” before was because the Oval and Rectangular Node were different “modes” of the Circle and Circular Node. However, I did not realize this until reading the documentation. I feel like it was too subtle, and considering how few buttons there are, unnecessary.


Make default names for objects more specific

Objects were originally named “object1, object2” with no regard as to whether they were circles, rectangles, text, or whatever. I think it's important for the .anim file to output readable code, and having specific names helps that goal to happen.


Make key shortcuts [Ctrl] instead of [Meta]

The controls were originally [Meta] because JAWAA was built on a Mac. I'm just used to [Ctrl]. If someone wants to change it back, it's easy to do.


Display the name of the selected object

I thought it would be nice for the user to be able to distinguish between objects by seeing their names displayed when they're selected.


Make delete shortcut [DELETE] instead of [BACKSPACE]

Once again, probably just a Mac thing. Once again, you can change it back if you want.


Enable nodes to change default text color and size

Nodes could only have their default fill and line color set, so I added text color and point size to their default properties that could be changed.


Enable text to change default point size

There was no way to change the default size of any text. I didn't want the incremental buttons displayed, but just the dialog box to enter a new point size.


Enable Scaling

This is a tool which prompts the user to enter a percentage, then scales the object by that amount. This is different from resizing by the handles, because it outputs a “scale” command (which is smooth) instead of “changeParam” height or width (which is instant)


Add Array Data Structures

Arrays can be created and edited, and they will output initialization commands to the .anim file. However, there is a display problem in the JAWAA Editor, so that arrays do not show up, and they cannot be selected, except when you use [Ctrl] + A.


Add Data Structure Arrow Selector

When using output to the console for debugging purposes, I could see that the structure selector would work if arrays were selectable (the selector was getting selectable bounds on the arrays, seeing if the point on the array was an active point, etc). I think that somehow the array does not exist at the present time. Perhaps that's why the transition commands don't work.


Get Commands for Arrays

Arrays can output initialization commands into the .anim file, but transition commands are still not working. The array is initialized in its final state instead of its beginning state, which is not right.


Add Handles to Arrays

I don't know if StructureHandle was the best idea. It's just that the Handle class doesn't recognize DataStructures, and I wasn't sure whether to add DataStructures to the existingHandle class, or to create a new Handle class.



Suggested Future Work:

Make Arrays and Cells VISIBLE and SELECTABLE

Transition commands for arrays

Scale Text

Scale Arrays

Tree Tool

Undo

Toolbar


Known Errors:

Comodification Error

NullPointerException with Polygons

Display and Selection Problem with Arrays and Cells

Command Output Problem with Arrays and Cells