X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fcontent%2FDesignatedTerminal.java;fp=bundles%2Forg.simantics.diagram%2Fsrc%2Forg%2Fsimantics%2Fdiagram%2Fcontent%2FDesignatedTerminal.java;h=fe5c290acb4768fbe0e677b250f52617df4412bf;hp=f98d510600da2372bd0394b5042a28fdadc8bb7a;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/content/DesignatedTerminal.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/content/DesignatedTerminal.java index f98d51060..fe5c290ac 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/content/DesignatedTerminal.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/content/DesignatedTerminal.java @@ -1,33 +1,33 @@ -/******************************************************************************* - * 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.content; - -import org.simantics.g2d.diagram.handler.Topology.Terminal; -import org.simantics.g2d.element.IElement; - -/** - * @author Tuukka Lehtonen - */ -public class DesignatedTerminal { - public final IElement element; - public final Terminal terminal; - - public DesignatedTerminal(IElement element, Terminal terminal) { - if (element == null) - throw new NullPointerException("null element"); - if (terminal == null) - throw new NullPointerException("null terminal"); - - this.element = element; - this.terminal = terminal; - } -} +/******************************************************************************* + * 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.content; + +import org.simantics.g2d.diagram.handler.Topology.Terminal; +import org.simantics.g2d.element.IElement; + +/** + * @author Tuukka Lehtonen + */ +public class DesignatedTerminal { + public final IElement element; + public final Terminal terminal; + + public DesignatedTerminal(IElement element, Terminal terminal) { + if (element == null) + throw new NullPointerException("null element"); + if (terminal == null) + throw new NullPointerException("null terminal"); + + this.element = element; + this.terminal = terminal; + } +}