blob: bd1e1f11ac5c47ab9f04352cf89657ed05a99f8c [file] [log] [blame]
/*******************************************************************************
* <copyright>
*
* Copyright (c) 2013, 2013 SAP AG.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* SAP AG - initial API, implementation and documentation
*
* </copyright>
*
*******************************************************************************/
package org.eclipse.fmc.blockdiagram.editor.model;
/**
*
* @author Benjamin Schmeling
*
*/
public class FMCTypeCheckerFactory {
private static FMCTypeChecker helper;
public static FMCTypeChecker getInstance() {
if (helper == null) {
helper = new ExtensibleFMCTypeChecker();
}
return helper;
}
public static void setTypeHelper(FMCTypeChecker typeHelper) {
helper = typeHelper;
}
}