package org.mwc.debrief.lite;

import java.util.Map;

import MWC.GUI.Tools.Action;

public class LiteParent implements MWC.GUI.ToolParent
{

  @Override
  public void logError(int status, String text, Exception e)
  {
    throw new IllegalArgumentException("not implemented (yet)");
  }

  @Override
  public void logError(int status, String text, Exception e, boolean revealLog)
  {
    throw new IllegalArgumentException("not implemented (yet)");
  }

  @Override
  public void logStack(int status, String text)
  {
    throw new IllegalArgumentException("not implemented (yet)");
  }

  @Override
  public void setCursor(int theCursor)
  {
    throw new IllegalArgumentException("not implemented (yet)");
  }

  @Override
  public void restoreCursor()
  {
    throw new IllegalArgumentException("not implemented (yet)");
  }

  @Override
  public void addActionToBuffer(Action theAction)
  {
    throw new IllegalArgumentException("not implemented (yet)");
  }

  @Override
  public String getProperty(String name)
  {
    System.err.println("Failed to return property:" + name
        + " (LiteParent not yet implemented)");
    return null;
  }

  @Override
  public Map<String, String> getPropertiesLike(String pattern)
  {
    throw new IllegalArgumentException("not implemented (yet)");
  }

  @Override
  public void setProperty(String name, String value)
  {
    throw new IllegalArgumentException("not implemented (yet)");
  }
}

@@ -385,68 +385,90 @@
     
-throw new IllegalArgumentException(%22not implemented (yet)%22);
+System.err.println(text);%0A    if(e != null)%0A    %7B%0A      e.printStackTrace();%0A    %7D
 %0A  %7D

Improve logging