kawigi.cmd
Class ProblemContext

java.lang.Object
  extended by kawigi.cmd.ProblemContext

public class ProblemContext
extends java.lang.Object

This class is basically few globals that store the context of the current problem and language being worked on in KawigiEdit.


Constructor Summary
ProblemContext()
           
 
Method Summary
static ClassDecl getCurrentClass()
          Returns the current problem's class info.
static EditorLanguage getLanguage()
          Returns the current language that is being used.
static void setCurrentClass(ClassDecl currentClass)
          Sets the current problem's class info.
static void setLanguage(EditorLanguage lang)
          Sets the current language that is being used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProblemContext

public ProblemContext()
Method Detail

getCurrentClass

public static ClassDecl getCurrentClass()
Returns the current problem's class info.


setCurrentClass

public static void setCurrentClass(ClassDecl currentClass)
Sets the current problem's class info.


getLanguage

public static EditorLanguage getLanguage()
Returns the current language that is being used.


setLanguage

public static void setLanguage(EditorLanguage lang)
Sets the current language that is being used.