2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2009 - DIGITEO - Bruno JOFRET
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
13 package org.scilab.modules.xcos.link;
15 import org.scilab.modules.xcos.link.BasicLink;
18 * An implicit link connect an
19 * {@link org.scilab.modules.xcos.port.output.ImplicitOutputPort} to an
20 * {@link org.scilab.modules.xcos.port.input.ImplicitInputPort}.
22 public class ImplicitLink extends BasicLink {
24 private static final long serialVersionUID = 1006434636942664464L;
26 // 2 means implicit link
27 private static final double[][] COLOR_AND_TYPE = { { 1.0, 2.0 } };
29 /** Default constructor */
30 public ImplicitLink(long uid) {
31 super(uid, "ImplicitLink");
34 /** @return A red colored implicit link identifier */
36 public double[][] getColorAndType() {
37 return COLOR_AND_TYPE;
41 public int getLinkKind() {