/** * Copyright (c) 2011 committers of YAKINDU 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: * committers of YAKINDU - initial API and implementation */ package org.yakindu.sct.generator.core.library; import org.eclipse.core.runtime.IStatus; import org.eclipse.emf.ecore.EObject; import org.yakindu.sct.model.sgen.FeatureConfiguration; import org.yakindu.sct.model.sgen.FeatureParameterValue; import org.yakindu.sct.model.sgen.FeatureType; import org.yakindu.sct.model.sgen.FeatureTypeLibrary; /** * * @author andreas muelder - Initial contribution and API * */ public interface IDefaultFeatureValueProvider { public FeatureConfiguration createDefaultFeatureConfiguration( FeatureType type, EObject contextElement); public IStatus validateParameterValue(FeatureParameterValue value); public boolean isProviderFor(FeatureTypeLibrary library); }