X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fadapter%2FConnectionVisualsLoader.java;h=1f804250cbff69a28b96c0f0aca1e8b5a89dbba1;hb=617b9475710b80a125597f222f9777224972ce72;hp=cd91495d65b8648a4dfe58be60c6f8473204cbf2;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/ConnectionVisualsLoader.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/ConnectionVisualsLoader.java index cd91495d6..1f804250c 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/ConnectionVisualsLoader.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/ConnectionVisualsLoader.java @@ -1,41 +1,41 @@ -/******************************************************************************* - * 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.diagram.adapter; - -import org.simantics.db.ReadGraph; -import org.simantics.db.Resource; -import org.simantics.db.exception.DatabaseException; -import org.simantics.diagram.content.DesignatedTerminal; -import org.simantics.g2d.diagram.IDiagram; -import org.simantics.g2d.element.IElement; -import org.simantics.structural2.modelingRules.IModelingRules; - -/** - * @author Tuukka Lehtonen - */ -public interface ConnectionVisualsLoader { - - /** - * @param graph - * @param modelingRules - * @param connection - * @param diagram - * @param edge - * @param firstTerminal - * @param secondTerminal - * @throws DatabaseException - */ - public void loadConnectionVisuals(ReadGraph graph, IModelingRules modelingRules, Resource connection, - IDiagram diagram, IElement edge, DesignatedTerminal firstTerminal, DesignatedTerminal secondTerminal) - throws DatabaseException; - -} +/******************************************************************************* + * 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.diagram.adapter; + +import org.simantics.db.ReadGraph; +import org.simantics.db.Resource; +import org.simantics.db.exception.DatabaseException; +import org.simantics.diagram.content.DesignatedTerminal; +import org.simantics.g2d.diagram.IDiagram; +import org.simantics.g2d.element.IElement; +import org.simantics.structural2.modelingRules.IModelingRules; + +/** + * @author Tuukka Lehtonen + */ +public interface ConnectionVisualsLoader { + + /** + * @param graph + * @param modelingRules + * @param connection + * @param diagram + * @param edge + * @param firstTerminal + * @param secondTerminal + * @throws DatabaseException + */ + public void loadConnectionVisuals(ReadGraph graph, IModelingRules modelingRules, Resource connection, + IDiagram diagram, IElement edge, DesignatedTerminal firstTerminal, DesignatedTerminal secondTerminal) + throws DatabaseException; + +}