I've spent the last few days writing a dialog to display the details of a selected Schema and allow the user to edit them. As far as I can tell, the result of editing a Schema (especially a State) is the same as creating a new one from scratch.
Putting time and effort into features which ultimately don't work seems a bit pointless, but as Frank pointed out, it's an extra feature that I can "show off" in the software demonstration.
Thursday, 10 April 2008
Monday, 7 April 2008
Testing Schemas
I'm still having problems with the creating new schemas. In order to test, I've set the "Import" button to recreate a Schema object from the library and add it manually. I found that a created Schema with a Response but no States executes correctly, leading me to believe that the problem is in the State object.
However, a Schema with Response and both states fails to execute. In the first instance, State 1 had a null value for activeStates, State 2 was "full". A second Schema with Response and both States "full" also failed to execute.
I'm putting all my effort into creating Schemas at the moment. Creating and parsing XML is relatively easy, but useless if the Schema objects created from it won't execute. The next thing I'm going to try is editing existing Schemas. If I can change objects that already exist and work, it might shed some light on why creating schema objects from scratch doesn't.
However, a Schema with Response and both states fails to execute. In the first instance, State 1 had a null value for activeStates, State 2 was "full". A second Schema with Response and both States "full" also failed to execute.
I'm putting all my effort into creating Schemas at the moment. Creating and parsing XML is relatively easy, but useless if the Schema objects created from it won't execute. The next thing I'm going to try is editing existing Schemas. If I can change objects that already exist and work, it might shed some light on why creating schema objects from scratch doesn't.
Sunday, 6 April 2008
A small measure of success
After ignoring the Import/Export issue for the last few days, I've finally implemented a method of setting the block position while the simulation is running.
It needs some more robust error-handling, but as I'm so far behind schedule any progress is welcome.
It needs some more robust error-handling, but as I'm so far behind schedule any progress is welcome.
Subscribe to:
Posts (Atom)