org.problets.domain.view.code
Class UndoOperation

java.lang.Object
  extended by org.problets.domain.view.code.UndoOperation

public class UndoOperation
extends java.lang.Object

Enables lines of code to be reindented

Author:
Matthew Ferriera, Amruth Kumar

Constructor Summary
UndoOperation(CodeLine inCodeLine)
          Class constructor.
UndoOperation(java.util.Vector inCodeLines)
          Class constructor.
 
Method Summary
 java.util.Vector getContent()
          Returns the Vector of CodeLine objects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UndoOperation

public UndoOperation(CodeLine inCodeLine)
Class constructor. Creates a new undo operation.

Parameters:
inCodeLine - the CodeLine object

UndoOperation

public UndoOperation(java.util.Vector inCodeLines)
Class constructor. Creates a new undo operation.

Parameters:
inCodeLines - a set of CodeLine objects
Method Detail

getContent

public java.util.Vector getContent()
Returns the Vector of CodeLine objects.

Returns:
Vector