X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.layer0.utils%2Fsrc%2Forg%2Fsimantics%2Flayer0%2Futils%2Frepresentation%2Frepresentations%2FDefaultStringRepresentationAdapter2.java;h=2f98bc739d7996e485a37fdb9e0d636ff4d41683;hb=ee53d30622180b7d36010b518ff032f340c70fdb;hp=77b5737a75e2ff11e5c7c2614fc8b9796d2a8d4d;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/representation/representations/DefaultStringRepresentationAdapter2.java b/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/representation/representations/DefaultStringRepresentationAdapter2.java index 77b5737a7..2f98bc739 100644 --- a/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/representation/representations/DefaultStringRepresentationAdapter2.java +++ b/bundles/org.simantics.layer0.utils/src/org/simantics/layer0/utils/representation/representations/DefaultStringRepresentationAdapter2.java @@ -1,26 +1,26 @@ -/******************************************************************************* - * Copyright (c) 2007, 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.layer0.utils.representation.representations; - -import org.simantics.db.Resource; -import org.simantics.db.ReadGraph; -import org.simantics.db.common.adaption.SimpleAdapter; -import org.simantics.layer0.utils.representation.StringRepresentation2; - -public class DefaultStringRepresentationAdapter2 extends SimpleAdapter { - - @Override - public StringRepresentation2 adapt(ReadGraph graph, Resource resource) { - return new DefaultStringRepresentation2(resource); - } - -} +/******************************************************************************* + * Copyright (c) 2007, 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.layer0.utils.representation.representations; + +import org.simantics.db.Resource; +import org.simantics.db.ReadGraph; +import org.simantics.db.common.adaption.SimpleAdapter; +import org.simantics.layer0.utils.representation.StringRepresentation2; + +public class DefaultStringRepresentationAdapter2 extends SimpleAdapter { + + @Override + public StringRepresentation2 adapt(ReadGraph graph, Resource resource) { + return new DefaultStringRepresentation2(resource); + } + +}