X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Fbinding%2Ffactory%2FBindingScheme.java;h=70be4f3cb6e9ec919f80802173a9757be13bdf4f;hb=a1696e5257fae039410c924155fdeffc1ce1b3e9;hp=552724f21f6e7dd21a92d492a3da59d5c4668104;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/binding/factory/BindingScheme.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/binding/factory/BindingScheme.java index 552724f21..70be4f3cb 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/binding/factory/BindingScheme.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/binding/factory/BindingScheme.java @@ -1,20 +1,20 @@ -/******************************************************************************* - * Copyright (c) 2010 Association for Decentralized Information Management in - * Industry THTH ry. - * 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: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ +/******************************************************************************* + * Copyright (c) 2010 Association for Decentralized Information Management in + * Industry THTH ry. + * 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: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ package org.simantics.databoard.binding.factory; -import org.simantics.databoard.binding.Binding; -import org.simantics.databoard.binding.error.BindingConstructionException; -import org.simantics.databoard.binding.error.RuntimeBindingConstructionException; -import org.simantics.databoard.type.Datatype; +import org.simantics.databoard.binding.Binding; +import org.simantics.databoard.binding.error.BindingConstructionException; +import org.simantics.databoard.binding.error.RuntimeBindingConstructionException; +import org.simantics.databoard.type.Datatype; public interface BindingScheme { @@ -26,15 +26,15 @@ public interface BindingScheme { * @throws BindingConstructionException if data type is not supported */ Binding getBinding(Datatype type) throws BindingConstructionException; - - /** - * Get binding of a data type - * - * @param type data type - * @return binding - * @throws RuntimeBindingConstructionException if data type is not supported - */ - Binding getBindingUnchecked(Datatype type) throws RuntimeBindingConstructionException; + + /** + * Get binding of a data type + * + * @param type data type + * @return binding + * @throws RuntimeBindingConstructionException if data type is not supported + */ + Binding getBindingUnchecked(Datatype type) throws RuntimeBindingConstructionException; /** * Tests if the scheme supports a type