package net.sourceforge.phpdt.sql.view; public class LogProxy implements LogConstants { private static LogProxy instance = null; private SQLLogView log = null; private LogProxy() { } public synchronized static LogProxy getInstance() { if (instance == null) { instance = new LogProxy(); } return instance; } public void addText(int type, String text) { log = SQLLogView.getInstance(); if (log != null) { log.addText(type, text); } } }