X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.g2d%2Fsrc%2Forg%2Fsimantics%2Fg2d%2Felement%2Fhandler%2FElementAdapter.java;h=86ad1266a020cd0b632ba582cf44d86383d573b4;hb=48df6974c83f3f42497712b35e8531377a4178c8;hp=b4dcfbf640dfc4084345fd203284157c9fbdc704;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.g2d/src/org/simantics/g2d/element/handler/ElementAdapter.java b/bundles/org.simantics.g2d/src/org/simantics/g2d/element/handler/ElementAdapter.java index b4dcfbf64..86ad1266a 100644 --- a/bundles/org.simantics.g2d/src/org/simantics/g2d/element/handler/ElementAdapter.java +++ b/bundles/org.simantics.g2d/src/org/simantics/g2d/element/handler/ElementAdapter.java @@ -1,25 +1,25 @@ -/******************************************************************************* - * 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.g2d.element.handler; - -import org.simantics.g2d.element.IElement; - -/** - * Implements IAdaptable for elements. - * - * @author Toni Kalajainen - */ -public interface ElementAdapter extends ElementHandler { - - T adapt(IElement e, Class toClass); - -} +/******************************************************************************* + * 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.g2d.element.handler; + +import org.simantics.g2d.element.IElement; + +/** + * Implements IAdaptable for elements. + * + * @author Toni Kalajainen + */ +public interface ElementAdapter extends ElementHandler { + + T adapt(IElement e, Class toClass); + +}