001 // Java tool bridge ConsoleBridge
002 // This file is generated automatically, please do not edit!
003 // generation time: Feb 22, 2007 3:24:38 PM
004
005 package nl.cwi.sen1.gui.plugin;
006
007 import aterm.*;
008
009 public class ConsoleBridge
010 extends ConsoleTool
011 {
012 private ConsoleTif tool;
013
014 public ConsoleBridge(ATermFactory factory, ConsoleTif tool)
015 {
016 super(factory);
017 this.tool = tool;
018 }
019
020 public void addMessage(String s0)
021 {
022 if (tool != null) {
023 tool.addMessage(s0);
024 }
025 else {
026 throw new UnsupportedOperationException("method `addMessage' not supported.");
027 }
028 }
029 public void recTerminate(ATerm t0)
030 {
031 if (tool != null) {
032 tool.recTerminate(t0);
033 }
034 else {
035 throw new UnsupportedOperationException("method `recTerminate' not supported.");
036 }
037 }
038 }