Skip to content
Nate Titterton edited this page Nov 27, 2013 · 3 revisions

View that, to the right of an editor, lets you scroll through 'versions' of the edit session.

Timeline state object

  • we are going to need to keep an object at each timeline state (grain-size of the scroll). cool. Each edit session (for a particular file) will get a List of these.
  • We'll collect one of these each time the java model is changed -- so, everytime the file is auto-compiled and an event is sent to the javaModelListener.
  • It should contain
    • Source code (string)
    • boolean: compilable or not
    • timestamp
    • IJavaElement that is triggering the event
      • method name
      • in a comment?
    • feedback model -- if there is one (i.e., if this was an eduride step with feedback)

    • keystrokes the occurred between this state and the last one
    • List of IProblems (will be empty if compilable)
    • Java Delta
      • where in the file the change occurred - which method, in a private class, etc.

Ideas on the view layout

Vertical is the timeline for the entire edit session. Or, multiple sessions on same file?

  • a scrollbar at the left
  • columns to the right, that can be switched to contain
    • method that was edited
    • feedback the student got at that point
    • whether the code compiled (maybe this one always stays, red/green?)
    • compilation problems
Clone this wiki locally