/* * JBoss, Home of Professional Open Source. * * See the LEGAL.txt file distributed with this work for information regarding copyright ownership and licensing. * * See the AUTHORS.txt file distributed with this work for a full listing of individual contributors. */ package org.teiid.designer.diagram.ui.figure; import org.eclipse.draw2d.Figure; /** * AbstractDiagramFigureFactory provides a base class for all Diagram Figure Factories This class handles the create figure * methods defined in the DiagramFigureFactory interface. * * @since 8.0 */ public abstract class AbstractDiagramFigureFactory implements DiagramFigureFactory { /** * @see DiagramFigureFactory#createFigure(java.lang.Object) */ @Override public Figure createFigure( Object modelObject ) { System.err.println("[AbstractDiagramFigureFactory.createFigure(modelObject)] SHOULDN'T BE HERE!!!!!"); //$NON-NLS-1$ return null; } /** * @see DiagramFigureFactory#createFigure(java.lang.Object, String) */ @Override public Figure createFigure( Object modelObject, String sNotationId ) { System.err.println("[AbstractDiagramFigureFactory.createFigure(modelObject, notationId)] SHOULDN'T BE HERE!!!!!"); //$NON-NLS-1$ return null; } }