Newcastle University Drylab/14 May 2008

Morgan
Debugging drag and drop - truth tables broken. Dynamically re-naming items as they're placed in the drawing panel is turning out to be a *****. Trying to incorporate dynamic re-naming lower in hierarchy.

Removed silly test for existence in DrawingPanel.

Tried to work on a pattern matching Comparator, but ended up giving up and doing it the easy str.indexOf('(') way.

In other news, I hate this wiki engine.

Pulled the Elements out of DrawingPanel into VisualizationManager, but I still can't show two different graphs, one for the build panel and one for the behaviour panel. I guess I need to separate the data (position and connections) from the drawing data (color, border)...

I made a wrapper class in DrawingPanel for Element, called DrawingElement. There's gotta be a better way to do that. Anyway, the wrapper keeps the passed in Element instance final, and completely acts as if it was the element, with the exception of the drawing method which can custom-draw some things. We'll see if that works as intended.

Evening : Something in changeBorder is breaking severely. Also, the input truth table only sometimes accepts new columns. Why? WHY? I treat it exactly the same as the output column! AGGHHH. I also did some error checking in DrawingPanel, because when elements are added in different drawing panes to the same element set, the DrawingElements don't automatically add themselves.