package grader.Main; import java.util.Collection; /** * * The UserWorkSpace contains the active classes upon which the user i *s working. The first component is the UserId of the current user, * which is used as necessary by operations that input the workspace t *o determine who the user is. The Class component is the list o *f active classes; the list is maintained in the order visited by th *e user, with the first element being the most recently visited, and * hence current, and the last element being the earliest visited. Th *e previous_stack component is used to support multiple levels of * command undo, and the next_stack component is used to support * multipple levels of command redo. The Clipboard is used with the Edit cut, copy, and paste operations. * * @author * @version * **/ public class UserWorkSpace { /** Default Constructor **/ public UserWorkSpace() { } protected String uid; protected Collection gradebooks; protected Previous previous_stack; protected Next next_stack; protected String clipboard; protected Selection selection; protected String context; }