| /** |
| * <copyright> |
| * |
| * Copyright (c) 2011 E.D.Willink and others. |
| * 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: |
| * E.D.Willink - Initial API and implementation |
| * |
| * </copyright> |
| * |
| * $Id: OCLStatesRuntimeModule.java,v 1.1 2011/03/15 07:51:54 ewillink Exp $ |
| */ |
| package org.eclipse.ocl.tutorial.eclipsecon2011; |
| |
| import org.eclipse.ocl.examples.xtext.base.utilities.NoEObjectCompositeEValidator; |
| import org.eclipse.xtext.validation.CompositeEValidator; |
| |
| /** |
| * Use this class to register components to be used at runtime / without the Equinox extension registry. |
| */ |
| public class OCLStatesRuntimeModule extends org.eclipse.ocl.tutorial.eclipsecon2011.AbstractOCLStatesRuntimeModule { |
| public Class<? extends CompositeEValidator> bindCompositeEValidator() { |
| return NoEObjectCompositeEValidator.class; |
| } |
| } |