From: Todd O'B. <tod...@ma...> - 2003-05-01 09:52:21
|
A theoretical question. I teach CS in a high school, and over the summer I'm looking to automate some things and create a framework where students can get more immediate feedback and have a lot more practice writing small snippets of code. What I'd like to do is be able to assign the writing of a method for homework, have them write it, click a button and have a web server somewhere insert their method in some code to make a whole class, compile it, run it against test cases, and give them feedback. That seems fairly doable fairly easily if I can figure out how plugins work to set everything up. What I'd also like to be able to do is to use jEdit to have them do tests. In that case, I'd like to limit their ability to see anything else. Could I theoretically write a Test plugin that programmatically maximizes jEdit so that it takes the whole screen and would either prevent jEdit from being taken out of focus (ideal) or alternatively would report if some other program had gotten focus and stop the Test since it would appear the student was trying to access other data. (Obviously, I'd also have to be able to keep them from changing buffers during the test, but I'm guessing that's pretty straightforward.) Not looking for a how-to on any of this yet, just a yes/no about whether a plugin could do it or if I'd have to write something else entirely. Thanks, Todd O'Bryan |