01: /*
02: * SwingML
03: * Copyright (C) 2002 Robert J. Morris.
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public
07: * License as published by the Free Software Foundation; either
08: * version 2 of the License, or (at your option) any later version.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library; if not, write to the
17: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18: * Boston, MA 02111-1307, USA.
19: *
20: * Authors:
21: * Robert J. Morris <robertj@morris.net>
22: *
23: * Oct 9, 2002 6:47:46 PM
24: */
25: package org.swingml.view.renderer;
26:
27: import java.awt.*;
28:
29: import org.swingml.*;
30: import org.swingml.model.*;
31: import org.swingml.system.*;
32: import org.swingml.view.*;
33:
34: public class JDebugRenderer extends RendererUtil implements Renderer {
35:
36: public Container render(AbstractSwingMLModel aModel,
37: Container aParent) {
38: JDebugModel theModel = (JDebugModel) aModel;
39: SwingMLLogger.getInstance().log(theModel.getText());
40: return null;
41: }
42: }
|